diff options
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 |