summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-intel-qat.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-intel-qat.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-intel-qat.sh')
-rwxr-xr-xpackages/linux-kernel/build-intel-qat.sh5
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