summaryrefslogtreecommitdiffstats
path: root/meta-isg/common/recipes-extended/qat/qat16.inc
diff options
context:
space:
mode:
authorRahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>2016-03-31 02:55:10 +0800
committerSaul Wold <sgw@linux.intel.com>2016-03-30 16:18:09 -0700
commitdcfd63ce736d22cb95ec90bfe62116e01b4d306d (patch)
tree5f7109dd74f997e42b0945f6790bdf9cd7ab22af /meta-isg/common/recipes-extended/qat/qat16.inc
parentabb8758eb800c37c6c2700b3c45ffdb723b4d2ae (diff)
downloadmeta-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.inc')
-rw-r--r--meta-isg/common/recipes-extended/qat/qat16.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-isg/common/recipes-extended/qat/qat16.inc b/meta-isg/common/recipes-extended/qat/qat16.inc
index 90765ea0..c789fda6 100644
--- a/meta-isg/common/recipes-extended/qat/qat16.inc
+++ b/meta-isg/common/recipes-extended/qat/qat16.inc
@@ -15,6 +15,8 @@ SRC_URI="https://01.org/sites/default/files/page/qatmux.l.${PV}.tgz;name=qat \
15 file://qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch \ 15 file://qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch \
16 file://qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch \ 16 file://qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch \
17 file://qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch \ 17 file://qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch \
18 file://qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch \
19 file://qat16_2.5.0-80-qat-Added-include-dir-path.patch \
18 " 20 "
19 21
20COMPATIBLE_MACHINE = "crystalforest|intel-corei7-64" 22COMPATIBLE_MACHINE = "crystalforest|intel-corei7-64"
@@ -47,8 +49,8 @@ PARALLEL_MAKE = ""
47#To get around the double slashes in paths in QAT makefiles 49#To get around the double slashes in paths in QAT makefiles
48PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" 50PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
49 51
50EXTRA_OEMAKE_append = " CFLAGS+=-fgnu89-inline" 52EXTRA_OEMAKE_append = " CFLAGS+='-fgnu89-inline -fPIC'"
51 53EXTRA_OEMAKE = "-e MAKEFLAGS="
52do_unpack2() { 54do_unpack2() {
53 cd ${S}/ 55 cd ${S}/
54 tar xzvf ${ICP_DRIVER_TYPE}.L.${PV}.tar.gz 56 tar xzvf ${ICP_DRIVER_TYPE}.L.${PV}.tar.gz
@@ -60,7 +62,7 @@ do_compile () {
60 export LD="${LD} --hash-style=gnu" 62 export LD="${LD} --hash-style=gnu"
61 export MACHINE="${TARGET_ARCH}" 63 export MACHINE="${TARGET_ARCH}"
62 cd ${S}/quickassist 64 cd ${S}/quickassist
63 oe_runmake EXTRA_OEMAKE="'CFLAGS=${CFLAGS} -fPIC'" 65 oe_runmake
64 66
65 cd ${SAMPLE_CODE_DIR} 67 cd ${SAMPLE_CODE_DIR}
66 touch ${SAMPLE_CODE_DIR}/performance/compression/calgary 68 touch ${SAMPLE_CODE_DIR}/performance/compression/calgary