mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
kernel: T3486: Prepare for arm64 builds
This commit is contained in:
parent
430f2a8993
commit
7c5fd20976
2
packages/linux-kernel/Jenkinsfile
vendored
2
packages/linux-kernel/Jenkinsfile
vendored
@ -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)
|
||||
|
||||
8008
packages/linux-kernel/arch/arm64/configs/vyos_defconfig
Normal file
8008
packages/linux-kernel/arch/arm64/configs/vyos_defconfig
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user