summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-kernel.sh
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2021-04-09 22:59:08 +0200
committerRunar Borge <runar@borge.nu>2021-04-19 10:18:13 +0200
commit7c5fd20976daaee9cb408711ebc8d270b57696c1 (patch)
tree557a3c618f1acdbc409c431a19dd352667e59fff /packages/linux-kernel/build-kernel.sh
parent430f2a8993640125729a4d45ac3c66f1077c600f (diff)
downloadvyos-build-7c5fd20976daaee9cb408711ebc8d270b57696c1.tar.gz
vyos-build-7c5fd20976daaee9cb408711ebc8d270b57696c1.zip
kernel: T3486: Prepare for arm64 builds
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 a92fc41b..ccc3e957 100755
--- a/packages/linux-kernel/build-kernel.sh
+++ b/packages/linux-kernel/build-kernel.sh
@@ -8,7 +8,7 @@ if [ ! -d ${KERNEL_SRC} ]; then
fi
echo "I: Copy Kernel config (x86_64_vyos_defconfig) to Kernel Source"
-cp x86_64_vyos_defconfig ${KERNEL_SRC}/arch/x86/configs
+cp -rv arch/ ${KERNEL_SRC}/
cd ${KERNEL_SRC}
@@ -29,9 +29,9 @@ do
patch -p1 < ${PATCH_DIR}/${patch}
done
-echo "I: make x86_64_vyos_defconfig"
+echo "I: make vyos_defconfig"
# Select Kernel configuration - currently there is only one
-make x86_64_vyos_defconfig
+make vyos_defconfig
echo "I: Generate environment file containing Kernel variable"
cat << EOF >${CWD}/kernel-vars