summaryrefslogtreecommitdiff
path: root/scripts/build-kernel
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-01-26 10:08:22 +0100
committerChristian Poessinger <christian@poessinger.com>2019-01-26 10:08:22 +0100
commit1daf1a0fc16033cd4c9e6f8bf1dfd3a90d369a64 (patch)
tree66ef9943181e65f8b328deb72b5372d24601c347 /scripts/build-kernel
parente81343f0838a84be80846d0b2288d3f114a57338 (diff)
parentfdf47c42269f7adb7d5f3e60b8180e8b9bc77503 (diff)
downloadvyos-build-1daf1a0fc16033cd4c9e6f8bf1dfd3a90d369a64.tar.gz
vyos-build-1daf1a0fc16033cd4c9e6f8bf1dfd3a90d369a64.zip
Merge branch 'current' of github.com:c-po/vyos-build into current
* 'current' of github.com:c-po/vyos-build: Jenkins: cleanup Docker: Make OPAM system wide available When building linux-kernel use number of host CPUs on parallel build When building parse Git commit ID When building frr clean out Git repository first Fix --verbose option when building submodules Build submodules in parallel with number of host CPUs submodules: add igmpproxy submodules: add vyos-xe-guest-utilities
Diffstat (limited to 'scripts/build-kernel')
-rwxr-xr-xscripts/build-kernel2
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)