diff options
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.patch | 33 |
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 @@ | |||
1 | From 7950a07afaa44eef17b1cab9c036953036878d73 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wu Chia Chuan <chia.chuan.wu@intel.com> | ||
3 | Date: Wed, 28 Oct 2015 16:43:47 +0800 | ||
4 | Subject: [PATCH] fix kernel patch | ||
5 | |||
6 | Signed-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 | |||
11 | diff --git a/quickassist/qat/Makefile b/quickassist/qat/Makefile | ||
12 | index 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 | -- | ||
33 | 1.7.9.5 | ||