summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-kernel.sh
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-15 21:09:07 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-15 21:09:07 +0200
commit73331b3abbd352ff2306bb63eba072257d0ec399 (patch)
tree5764ca37d06131795e387962c020a69884f3fbe2 /packages/linux-kernel/build-kernel.sh
parentfddba995759ec44b90df58f2f0827d2cd21a6697 (diff)
downloadvyos-build-73331b3abbd352ff2306bb63eba072257d0ec399.tar.gz
vyos-build-73331b3abbd352ff2306bb63eba072257d0ec399.zip
Kernel: T2797: Update Linux Kernel to v4.19.139
Diffstat (limited to 'packages/linux-kernel/build-kernel.sh')
-rwxr-xr-xpackages/linux-kernel/build-kernel.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/linux-kernel/build-kernel.sh b/packages/linux-kernel/build-kernel.sh
index 5e9dd88e..c1fec72a 100755
--- a/packages/linux-kernel/build-kernel.sh
+++ b/packages/linux-kernel/build-kernel.sh
@@ -30,9 +30,6 @@ echo "I: make x86_64_vyos_defconfig"
# Select Kernel configuration - currently there is only one
make x86_64_vyos_defconfig
-echo "I: Build Debian Kernel package"
-make bindeb-pkg LOCALVERSION=${KERNEL_SUFFIX} KDEB_PKGVERSION=${KERNEL_VERSION}-1 -j $(getconf _NPROCESSORS_ONLN)
-
echo "I: Generate environment file containing Kernel variable"
cat << EOF >${CWD}/kernel-vars
#!/bin/sh
@@ -40,3 +37,6 @@ export KERNEL_VERSION=${KERNEL_VERSION}
export KERNEL_SUFFIX=${KERNEL_SUFFIX}
export KERNEL_DIR=${CWD}/${KERNEL_SRC}
EOF
+
+echo "I: Build Debian Kernel package"
+make bindeb-pkg BUILD_TOOLS=1 LOCALVERSION=${KERNEL_SUFFIX} KDEB_PKGVERSION=${KERNEL_VERSION}-1 -j $(getconf _NPROCESSORS_ONLN)