summaryrefslogtreecommitdiffstats
path: root/recipes-extended/qat/qat17/qat17_0.6.0-1-qat-fix-kernel-patch.patch
diff options
context:
space:
mode:
authorSyed Mohamad Fauzi, Syed Johan Arif <syed.johan.arif.syed.mohamad.fauzi@intel.com>2017-11-22 16:27:23 +0800
committerCalifornia Sullivan <california.l.sullivan@intel.com>2017-12-07 14:44:25 -0800
commit6923f0d50180588a50758918479e7f20bad10c11 (patch)
tree811d8c9073c3f5d3a9f449d93cc93cd911b8428f /recipes-extended/qat/qat17/qat17_0.6.0-1-qat-fix-kernel-patch.patch
parent39fe005973621ede4c71ed68f263ddb8cd99b5f2 (diff)
downloadmeta-intel-qat-6923f0d50180588a50758918479e7f20bad10c11.tar.gz
qat: include qat17_1.0.3-42
Signed-off-by: Syed Mohamad Fauzi, Syed Johan Arif <syed.johan.arif.syed.mohamad.fauzi@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Diffstat (limited to 'recipes-extended/qat/qat17/qat17_0.6.0-1-qat-fix-kernel-patch.patch')
-rw-r--r--recipes-extended/qat/qat17/qat17_0.6.0-1-qat-fix-kernel-patch.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-extended/qat/qat17/qat17_0.6.0-1-qat-fix-kernel-patch.patch b/recipes-extended/qat/qat17/qat17_0.6.0-1-qat-fix-kernel-patch.patch
new file mode 100644
index 0000000..8b59c0a
--- /dev/null
+++ b/recipes-extended/qat/qat17/qat17_0.6.0-1-qat-fix-kernel-patch.patch
@@ -0,0 +1,33 @@
1From 7950a07afaa44eef17b1cab9c036953036878d73 Mon Sep 17 00:00:00 2001
2From: Wu Chia Chuan <chia.chuan.wu@intel.com>
3Date: Wed, 28 Oct 2015 16:43:47 +0800
4Subject: [PATCH] fix kernel patch
5
6Signed-off-by: Wu Chia Chuan <chia.chuan.wu@intel.com>
7---
8 quickassist/qat/Makefile | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
10
11diff --git a/quickassist/qat/Makefile b/quickassist/qat/Makefile
12index 319665d..36db6e6 100755
13--- a/quickassist/qat/Makefile
14+++ b/quickassist/qat/Makefile
15@@ -6,13 +6,13 @@ export CONFIG_CRYPTO_DEV_QAT_C62X=m
16 export QAT_UIO?=y
17
18 ifeq ($(KERNELRELEASE),)
19-KDIR ?= $(INSTALL_MOD_PATH)/lib/modules/$(shell uname -r)/build
20-ifneq ($(shell if [ -e $(KDIR)/include/config/auto.conf ]; then echo 1; fi),1)
21+KDIR ?= $(KERNEL_SOURCE_ROOT)
22+ifneq ($(shell if [ -e $(KERNEL_BUILDDIR)/include/config/auto.conf ]; then echo 1; fi),1)
23 $(error ERROR: Kernel header files not found. Install the appropriate \
24 kernel development package necessary for building external kernel modules \
25 or run 'make oldconfig && make modules_prepare' on kernel src to fix it)
26 endif
27-include $(KDIR)/include/config/auto.conf
28+include $(KERNEL_BUILDDIR)/include/config/auto.conf
29 INSTALL_FW_PATH ?= $(INSTALL_MOD_PATH)/lib/firmware
30
31 default: modules
32--
331.7.9.5