Indeed, I forgot about it. But I setup it under ArchLinuxArm directly in /etc/makepkg.conf file.
Now it takes only around 2,5 hours, and in past without -j4 it took around 7 hours.
==> Making package: linux-aarch64-rc 4.12.rc4-4 (Sun Jun 11 01:20:11 CEST 2017).
==> Finished making: linux-aarch64-rc 4.12.rc4-4 (Sun Jun 11 03:54:12 CEST 2017)
==> Making package: linux-aarch64-rc 4.12.rc4-3 (Wed Jun 7 18:04:41 CEST 2017)
==> Finished making: linux-aarch64-rc 4.12.rc4-3 (Thu Jun 8 00:55:12 CEST 2017)
I read about distcc but it does not need to be an arm64 box right? It could be let say x86_64 installation just setup correctly (which I did not setup, but would probably do it today).
Still I am unable to compile khadas linux (ubuntu-4.9) branch here. Seems there is something in Makefile which tells that all warning being treated as errors, as i don’t have these with mainline Kernel:
arch/arm64/kernel/topology.c:78:3: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10
snprintf(name, sizeof(name), “thread%d”, i);
cc1: all warnings being treated as errors
make: *** [scripts/Makefile.build:294: arch/arm64/kernel/topology.o] Error 1
make: *** [Makefile:992: arch/arm64/kernel] Error 2
==> ERROR: A failure occurred in build().