summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-kernel.sh
diff options
context:
space:
mode:
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