diff options
author | Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | 2016-03-31 02:55:10 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-03-30 16:18:09 -0700 |
commit | dcfd63ce736d22cb95ec90bfe62116e01b4d306d (patch) | |
tree | 5f7109dd74f997e42b0945f6790bdf9cd7ab22af /meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch | |
parent | abb8758eb800c37c6c2700b3c45ffdb723b4d2ae (diff) | |
download | meta-intel-dcfd63ce736d22cb95ec90bfe62116e01b4d306d.tar.gz |
meta-isg: qat16: fix v2.5.0 build with kernel v4.4
The qat recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.
The prototype of a func used in QAT16 is changed in kernel v4.4
Also, make sure that we point to the correct include path to the local
headers.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch')
-rw-r--r-- | meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch b/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch new file mode 100644 index 00000000..a5389306 --- /dev/null +++ b/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 142bf81912701d94985ad656c2250650113d00de Mon Sep 17 00:00:00 2001 | ||
2 | From: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
3 | Date: Tue, 22 Mar 2016 01:44:09 +0800 | ||
4 | Subject: [PATCH 2/2] qat: Added include dir path | ||
5 | |||
6 | Upstream-Status: Inappropriate [Configuration] | ||
7 | |||
8 | Make sure that we point to the correct include path to the local | ||
9 | headers. | ||
10 | |||
11 | Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
12 | --- | ||
13 | quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk b/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | ||
17 | index b504f7f..a75f152 100755 | ||
18 | --- a/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | ||
19 | +++ b/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | ||
20 | @@ -84,6 +84,7 @@ INCLUDES+=-I$(API_DIR) \ | ||
21 | |||
22 | EXTRA_CFLAGS += $(cmd_line_cflags) | ||
23 | EXTRA_CFLAGS += -fno-strict-aliasing | ||
24 | +EXTRA_CFLAGS += $(INCLUDES) | ||
25 | EXTRA_LDFLAGS +=-whole-archive | ||
26 | |||
27 | ifeq ($(ARCH), i386) | ||
28 | -- | ||
29 | 1.9.1 | ||
30 | |||