diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-01-26 10:01:50 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-01-26 10:01:50 +0100 |
commit | 873cf3a68f318ba3a7469b0dbb5c9415787eef98 (patch) | |
tree | 14b2ee679b9013afea5acc4d7441c02bd5309c87 /scripts | |
parent | 9d52ba2003467db001d095a9ac037c29b5ef4aab (diff) | |
download | vyos-build-873cf3a68f318ba3a7469b0dbb5c9415787eef98.tar.gz vyos-build-873cf3a68f318ba3a7469b0dbb5c9415787eef98.zip |
When building linux-kernel use number of host CPUs on parallel build
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-kernel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-kernel b/scripts/build-kernel index 80229d5d..4a23d9c7 100755 --- a/scripts/build-kernel +++ b/scripts/build-kernel @@ -27,7 +27,7 @@ case "$ARCH" in if [ ${PATCHLEVEL} -lt 14 ]; then TARGETS+=" kernel_manual kernel_doc" fi - CONCURRENCY_LEVEL=4 LOCALVERSION="" make-kpkg --rootcmd fakeroot --initrd --append_to_version -amd64-vyos --revision=$VERSION.$PATCHLEVEL.$SUBLEVEL-1+vyos1+current1 -j4 ${TARGETS} + CONCURRENCY_LEVEL=4 LOCALVERSION="" make-kpkg --rootcmd fakeroot --initrd --append_to_version -amd64-vyos --revision=$VERSION.$PATCHLEVEL.$SUBLEVEL-1+vyos1+current1 -j$(cat /proc/cpuinfo | grep processor | wc -l) ${TARGETS} ;; armhf) |