kernel: T3486: Prepare for arm64 builds

This commit is contained in:
Runar Borge 2021-04-09 22:59:08 +02:00
parent 430f2a8993
commit 7c5fd20976
5 changed files with 8017 additions and 4 deletions

View File

@ -58,4 +58,4 @@ def pkgList = [
]
// Start package build using library function from https://github.com/vyos/vyos-build
buildPackage('Kernel', pkgList)
buildPackage('Kernel', pkgList, null, true)

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,11 @@
CWD=$(pwd)
KERNEL_VAR_FILE=${CWD}/kernel-vars
if ! dpkg-architecture -ii386 || ! dpkg-architecture -iamd64; then
echo "Intel-QAT is only buildable on x86 platforms"
exit 0
fi
if [ ! -f ${KERNEL_VAR_FILE} ]; then
echo "Kernel variable file '${KERNEL_VAR_FILE}' does not exist, run ./build_kernel.sh first"
exit 1

View File

@ -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