diff options
author | Runar Borge <runar@borge.nu> | 2021-04-09 22:59:08 +0200 |
---|---|---|
committer | Runar Borge <runar@borge.nu> | 2021-04-19 10:18:13 +0200 |
commit | 7c5fd20976daaee9cb408711ebc8d270b57696c1 (patch) | |
tree | 557a3c618f1acdbc409c431a19dd352667e59fff /packages/linux-kernel/build-intel-qat.sh | |
parent | 430f2a8993640125729a4d45ac3c66f1077c600f (diff) | |
download | vyos-build-7c5fd20976daaee9cb408711ebc8d270b57696c1.tar.gz vyos-build-7c5fd20976daaee9cb408711ebc8d270b57696c1.zip |
kernel: T3486: Prepare for arm64 builds
Diffstat (limited to 'packages/linux-kernel/build-intel-qat.sh')
-rwxr-xr-x | packages/linux-kernel/build-intel-qat.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-intel-qat.sh b/packages/linux-kernel/build-intel-qat.sh index 048142ba..a3894009 100755 --- a/packages/linux-kernel/build-intel-qat.sh +++ b/packages/linux-kernel/build-intel-qat.sh @@ -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 |