summaryrefslogtreecommitdiffstats
path: root/meta-isg/common/recipes-extended/qat/qat16.inc
diff options
context:
space:
mode:
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