diff options
author | Syed Mohamad Fauzi, Syed Johan Arif <syed.johan.arif.syed.mohamad.fauzi@intel.com> | 2017-11-22 16:27:23 +0800 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2017-12-07 14:44:25 -0800 |
commit | 6923f0d50180588a50758918479e7f20bad10c11 (patch) | |
tree | 811d8c9073c3f5d3a9f449d93cc93cd911b8428f | |
parent | 39fe005973621ede4c71ed68f263ddb8cd99b5f2 (diff) | |
download | meta-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>
7 files changed, 360 insertions, 0 deletions
diff --git a/recipes-extended/qat/qat17.inc b/recipes-extended/qat/qat17.inc new file mode 100644 index 0000000..7793336 --- /dev/null +++ b/recipes-extended/qat/qat17.inc | |||
@@ -0,0 +1,146 @@ | |||
1 | DESCRIPTION = "Intel(r) QuickAssist Technology API" | ||
2 | HOMEPAGE = "https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches" | ||
3 | |||
4 | #Dual BSD and GPLv2 License | ||
5 | LICENSE = "BSD & GPLv2" | ||
6 | LIC_FILES_CHKSUM = "\ | ||
7 | file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ | ||
8 | file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234cb \ | ||
9 | " | ||
10 | DEPENDS += "boost" | ||
11 | DEPENDS += "udev" | ||
12 | DEPENDS += "zlib openssl" | ||
13 | PROVIDES += "virtual/qat" | ||
14 | |||
15 | SRC_URI="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 \ | ||
17 | file://qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch \ | ||
18 | " | ||
19 | #https://01.org/sites/default/files/page/qatmux.l.${PV}.tgz;name=qat | ||
20 | COMPATIBLE_MACHINE = "crystalforest|intel-corei7-64|intel-core2-32" | ||
21 | |||
22 | S = "${WORKDIR}" | ||
23 | ICP_TOOLS = "accelcomp" | ||
24 | SAMPLE_CODE_DIR = "${S}/quickassist/lookaside/access_layer/src/sample_code" | ||
25 | export INSTALL_MOD_PATH = "${D}" | ||
26 | export ICP_DRIVER_TYPE = "QAT1.7" | ||
27 | export ICP_FIRMWARE_DIR="c3xxx" | ||
28 | export ICP_ROOT = "${S}" | ||
29 | export ICP_ENV_DIR = "${S}/quickassist/build_system/build_files/env_files" | ||
30 | export ICP_BUILDSYSTEM_PATH = "${S}/quickassist/build_system" | ||
31 | export ICP_TOOLS_TARGET = "${ICP_TOOLS}" | ||
32 | export FUNC_PATH = "${ICP_ROOT}/quickassist/lookaside/access_layer/src/sample_code/functional" | ||
33 | export INSTALL_FW_PATH = "${D}${base_libdir}/firmware" | ||
34 | export KERNEL_SOURCE_ROOT = "${STAGING_KERNEL_DIR}" | ||
35 | export ICP_BUILD_OUTPUT = "${D}" | ||
36 | export DEST_LIBDIR = "${libdir}" | ||
37 | export DEST_BINDIR = "${bindir}" | ||
38 | export QAT_KERNEL_VER = "${KERNEL_VERSION}" | ||
39 | export SAMPLE_BUILD_OUTPUT = "${D}" | ||
40 | export MODULE_DIR = "${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers" | ||
41 | export INSTALL_MOD_DIR = "${D}${base_libdir}/modules/${KERNEL_VERSION}" | ||
42 | export KERNEL_BUILDDIR = "${STAGING_KERNEL_BUILDDIR}" | ||
43 | export SC_EPOLL_DISABLED = "1" | ||
44 | export WITH_UPSTREAM = "1" | ||
45 | export WITH_CMDRV = "1" | ||
46 | export KERNEL_SOURCE_DIR = "${ICP_ROOT}/quickassist/qat/" | ||
47 | |||
48 | export BIN_LIST="qat_c3xxx.bin qat_c3xxx_a0.bin qat_c3xxx_mmp.bin qat_c62x.bin qat_c62x_mmp.bin" | ||
49 | export BIN_DH895XCC="qat_895xcc.bin qat_mmp.bin" | ||
50 | export BIN_C62X="qat_c62x.bin qat_c62x_mmp.bin" | ||
51 | export BIN_C3XXX="qat_c3xxx.bin qat_c3xxx_mmp.bin" | ||
52 | |||
53 | export KO_INTEL_QAT="${S}/quickassist/qat/drivers/crypto/qat/qat_common" | ||
54 | export KO_QAT_DH895XCC="${S}/quickassist/qat/drivers/crypto/qat/qat_dh895xcc" | ||
55 | export KO_QAT_DH895XCCVF="${S}/quickassist/qat/drivers/crypto/qat/qat_dh895xccvf" | ||
56 | export KO_QAT_C62X="${S}/quickassist/qat/drivers/crypto/qat/qat_c62x" | ||
57 | export KO_QAT_C62XVF="${S}/quickassist/qat/drivers/crypto/qat/qat_c62xvf" | ||
58 | export KO_QAT_C3XXX="${S}/quickassist/qat/drivers/crypto/qat/qat_c3xxx" | ||
59 | export KO_QAT_C3XXXVF="${S}/quickassist/qat/drivers/crypto/qat/qat_c3xxxvf" | ||
60 | |||
61 | inherit module | ||
62 | inherit update-rc.d | ||
63 | INITSCRIPT_NAME = "qat_service" | ||
64 | |||
65 | PARALLEL_MAKE = "" | ||
66 | |||
67 | #To get around the double slashes in paths in QAT makefiles | ||
68 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" | ||
69 | |||
70 | EXTRA_OEMAKE_append = " CFLAGS+='-fgnu89-inline -fPIC'" | ||
71 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | ||
72 | |||
73 | do_compile () { | ||
74 | export LD="${LD} --hash-style=gnu" | ||
75 | export MACHINE="${TARGET_ARCH}" | ||
76 | |||
77 | cd ${S}/quickassist | ||
78 | oe_runmake | ||
79 | |||
80 | cd ${S}/quickassist/qat | ||
81 | oe_runmake 'clean' | ||
82 | oe_runmake 'modules_install' | ||
83 | |||
84 | cd ${S}/quickassist/utilities/adf_ctl | ||
85 | oe_runmake | ||
86 | |||
87 | cd ${S}/quickassist/utilities/libusdm_drv | ||
88 | oe_runmake | ||
89 | |||
90 | #build the whole sample code: per_user only | ||
91 | cd ${SAMPLE_CODE_DIR} | ||
92 | oe_runmake 'perf_user' | ||
93 | } | ||
94 | |||
95 | do_install() { | ||
96 | cp ${TOPDIR}/downloads/qat1.7.upstream.l.${PV}.tar.gz ${S} | ||
97 | export MACHINE="${TARGET_ARCH}" | ||
98 | |||
99 | cd ${S}/quickassist | ||
100 | oe_runmake install | ||
101 | |||
102 | install -d ${D}/etc/udev/rules.d | ||
103 | install -d ${D}${sbindir} | ||
104 | install -d ${D}${sysconfdir}/conf_files | ||
105 | install -d ${D}${prefix}/qat | ||
106 | |||
107 | echo 'KERNEL=="icp_adf_ctl" MODE="0600"' > ${D}/etc/udev/rules.d/00-dh895xcc_qa.rules | ||
108 | echo 'KERNEL=="icp_dev[0-9]*" MODE="0600"' >> ${D}/etc/udev/rules.d/00-dh895xcc_qa.rules | ||
109 | echo 'KERNEL=="icp_dev_mem?" MODE="0600"' >> ${D}/etc/udev/rules.d/00-dh895xcc_qa.rules | ||
110 | |||
111 | install -m 0755 ${S}/qat1.7.upstream.l.${PV}.tar.gz ${D}${prefix}/qat | ||
112 | |||
113 | install -D -m 0755 ${S}/quickassist/lookaside/access_layer/src/build/linux_2.6/user_space/*.so ${D}${base_libdir} | ||
114 | install -D -m 0755 ${S}/quickassist/utilities/libusdm_drv/libusdm_drv_s.so ${D}${base_libdir} | ||
115 | install -D -m 0750 ${S}/quickassist/utilities/adf_ctl/adf_ctl ${D}${sbindir} | ||
116 | install -D -m 640 ${S}/quickassist/utilities/adf_ctl/conf_files/c3xxx_dev0.conf ${D}${sysconfdir} | ||
117 | install -D -m 640 ${S}/quickassist/utilities/adf_ctl/conf_files/c3xxx_dev0.conf ${D}${sysconfdir}/conf_files | ||
118 | install -D -m 640 ${S}/quickassist/utilities/adf_ctl/conf_files/c3xxxvf_dev0.conf.vm ${D}${sysconfdir}/conf_files | ||
119 | install -m 0755 ${S}/quickassist/qat/fw/qat_c3xxx.bin ${D}${base_libdir}/firmware | ||
120 | install -m 0755 ${S}/quickassist/qat/fw/qat_c3xxx_a0.bin ${D}${base_libdir}/firmware | ||
121 | install -m 0755 ${S}/quickassist/qat/fw/qat_c3xxx_mmp.bin ${D}${base_libdir}/firmware | ||
122 | install -m 0755 ${S}/quickassist/qat/fw/qat_c62x.bin ${D}${base_libdir}/firmware | ||
123 | install -m 0755 ${S}/quickassist/qat/fw/qat_c62x_mmp.bin ${D}${base_libdir}/firmware | ||
124 | install -m 0755 ${S}/quickassist/lookaside/access_layer/src/sample_code/performance/compression/calgary ${D}${base_libdir}/firmware | ||
125 | install -m 0755 ${S}/quickassist/lookaside/access_layer/src/sample_code/performance/compression/calgary32 ${D}${base_libdir}/firmware | ||
126 | install -m 0755 ${S}/quickassist/lookaside/access_layer/src/sample_code/performance/compression/canterbury ${D}${base_libdir}/firmware | ||
127 | } | ||
128 | |||
129 | PACKAGES += "${PN}-app" | ||
130 | |||
131 | FILES_${PN}-dev = "${includedir}/ \ | ||
132 | " | ||
133 | FILES_${PN} += "\ | ||
134 | ${libdir}/ \ | ||
135 | ${base_libdir}/firmware \ | ||
136 | ${sysconfdir}/ \ | ||
137 | ${sbindir}/ \ | ||
138 | ${base_libdir}/*.so \ | ||
139 | " | ||
140 | |||
141 | FILES_${PN}-dbg += "${sysconfdir}/init.d/.debug/ \ | ||
142 | " | ||
143 | |||
144 | FILES_${PN}-app += "${bindir}/* \ | ||
145 | ${prefix}/qat \ | ||
146 | " | ||
diff --git a/recipes-extended/qat/qat17/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch b/recipes-extended/qat/qat17/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch new file mode 100644 index 0000000..da40e9f --- /dev/null +++ b/recipes-extended/qat/qat17/qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 5044a14a6b4192b771f16aa834f688c1fd1287dd Mon Sep 17 00:00:00 2001 | ||
2 | From: Anuj Mittal <anujx.mittal@intel.com> | ||
3 | Date: Wed, 8 Jul 2015 11:11:32 +0800 | ||
4 | Subject: [PATCH] qat: remove local path from makefile | ||
5 | |||
6 | Upstream-Status: Inappropriate [Configuration] | ||
7 | |||
8 | Remove the host machine /usr/include path from makefile. | ||
9 | |||
10 | Signed-off-by: Anuj Mittal <anujx.mittal@intel.com> | ||
11 | --- | ||
12 | .../build_files/env_files/linux_2.6_user_space.mk | 3 +-- | ||
13 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
14 | |||
15 | 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 | ||
16 | index 1451f4a..719d1bb 100755 | ||
17 | --- a/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | ||
18 | +++ b/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | ||
19 | @@ -72,8 +72,7 @@ | ||
20 | # | ||
21 | #------------------------------------------------------------- | ||
22 | |||
23 | -INCLUDES+=-I/usr/include \ | ||
24 | - -I$(API_DIR) \ | ||
25 | +INCLUDES+=-I$(API_DIR) \ | ||
26 | -I$(OSAL_DIR)/include \ | ||
27 | -I$(OSAL_DIR)/src/linux/user_space/include | ||
28 | |||
29 | -- | ||
30 | 1.7.9.5 | ||
diff --git a/recipes-extended/qat/qat17/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch b/recipes-extended/qat/qat17/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch new file mode 100644 index 0000000..a25fdae --- /dev/null +++ b/recipes-extended/qat/qat17/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From b21929c42aca4bc80f6c48b5ac31bf20165b2f3e Mon Sep 17 00:00:00 2001 | ||
2 | From: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
3 | Date: Fri, 25 Mar 2016 18:02:37 +0800 | ||
4 | Subject: [PATCH] qat: override CC LD AR only when it is not define | ||
5 | |||
6 | Upstream-Status: Inappropriate [Configuration] | ||
7 | |||
8 | To make sure that compiler linker and archiver will override only when | ||
9 | it is not defined by the environment. | ||
10 | |||
11 | Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
12 | --- | ||
13 | quickassist/build_system/build_files/Core/ia.mk | 6 +++--- | ||
14 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
15 | |||
16 | diff --git a/quickassist/build_system/build_files/Core/ia.mk b/quickassist/build_system/build_files/Core/ia.mk | ||
17 | index 4a4d123..f9aca23 100755 | ||
18 | --- a/quickassist/build_system/build_files/Core/ia.mk | ||
19 | +++ b/quickassist/build_system/build_files/Core/ia.mk | ||
20 | @@ -67,9 +67,9 @@ | ||
21 | # e.g. setenv CROSS_COMPILE x86_64-linux | ||
22 | ifdef CROSS_COMPILE | ||
23 | ifdef MACHINE | ||
24 | -CC = $(CROSS_COMPILE)gcc | ||
25 | -LD = $(CROSS_COMPILE)ld | ||
26 | -AR = $(CROSS_COMPILE)ar | ||
27 | +CC ?= $(CROSS_COMPILE)gcc | ||
28 | +LD ?= $(CROSS_COMPILE)ld | ||
29 | +AR ?= $(CROSS_COMPILE)ar | ||
30 | else | ||
31 | $(error MACHINE is undefined. Please set your target i.e. x86_64 \ | ||
32 | "-> setenv MACHINE x86_64 or export MACHINE=x86_64") | ||
33 | -- | ||
34 | 1.9.1 | ||
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 | ||
diff --git a/recipes-extended/qat/qat17/qat17_0.8.0-37-qat-added-include-dir-path.patch b/recipes-extended/qat/qat17/qat17_0.8.0-37-qat-added-include-dir-path.patch new file mode 100644 index 0000000..431d5f7 --- /dev/null +++ b/recipes-extended/qat/qat17/qat17_0.8.0-37-qat-added-include-dir-path.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From bb3de86f5511d25dffb1722f9c82379c91a3bb16 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Goh, Wen Sen" <wen.sen.goh@intel.com> | ||
3 | Date: Tue, 24 May 2016 16:05:12 +0800 | ||
4 | Subject: [PATCH] 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 | --- | ||
12 | quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | 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 | ||
16 | index 493d6e9..67b252a 100755 | ||
17 | --- a/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | ||
18 | +++ b/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | ||
19 | @@ -84,6 +84,7 @@ INCLUDES+=-I$(API_DIR) \ | ||
20 | |||
21 | EXTRA_CFLAGS += $(cmd_line_cflags) | ||
22 | EXTRA_CFLAGS += -fno-strict-aliasing | ||
23 | +EXTRA_CFLAGS += $(INCLUDES) | ||
24 | EXTRA_LDFLAGS +=-whole-archive | ||
25 | |||
26 | ifeq ($(ARCH), i386) | ||
27 | -- | ||
28 | 2.8.3 | ||
diff --git a/recipes-extended/qat/qat17/qat17_0.9.0-4-qat-add-install-target-and-add-folder.patch b/recipes-extended/qat/qat17/qat17_0.9.0-4-qat-add-install-target-and-add-folder.patch new file mode 100644 index 0000000..7b21dc8 --- /dev/null +++ b/recipes-extended/qat/qat17/qat17_0.9.0-4-qat-add-install-target-and-add-folder.patch | |||
@@ -0,0 +1,69 @@ | |||
1 | From 9f190755ea165cd2391cfa5b5a54dfe00961f72c Mon Sep 17 00:00:00 2001 | ||
2 | From: "Goh, Wen Sen" <wen.sen.goh@intel.com> | ||
3 | Date: Fri, 18 Nov 2016 10:52:37 +0800 | ||
4 | Subject: [PATCH] qat-add-install-target-and-add-folder | ||
5 | |||
6 | --- | ||
7 | quickassist/Makefile | 30 +++++++++++++++++++++++++++--- | ||
8 | 1 file changed, 27 insertions(+), 3 deletions(-) | ||
9 | |||
10 | diff --git a/quickassist/Makefile b/quickassist/Makefile | ||
11 | index 4cbff53..b57779b 100644 | ||
12 | --- a/quickassist/Makefile | ||
13 | +++ b/quickassist/Makefile | ||
14 | @@ -64,6 +64,7 @@ ICP_BUILD_OUTPUT?=build_$(DATE) | ||
15 | ICP_TOP_ENV=$(ICP_BUILDSYSTEM_PATH)/build_files/env_files/ | ||
16 | export ICP_ACCEL_INC=YES | ||
17 | LAC_LIB_DIR=$(LAC_PATH)/build/libs | ||
18 | +MODULE_INSTALLPATH=$(SAMPLE_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat | ||
19 | |||
20 | #Release Package build steps | ||
21 | ALL_TARGETS = clean lac_lib_dir qat_direct libosal_user lac_user | ||
22 | @@ -80,10 +81,21 @@ all: $(ALL_TARGETS) | ||
23 | |||
24 | user: lac_lib_dir libosal_user lac_user | ||
25 | |||
26 | +install: output_dir install_scripts | ||
27 | + @cp $(KO_INTEL_QAT)/intel_qat.ko $(MODULE_INSTALLPATH)/qat_common; | ||
28 | + @cp $(KO_QAT_C3XXX)/qat_c3xxx.ko $(MODULE_INSTALLPATH)/qat_c3xxx; | ||
29 | + @cp $(KO_QAT_C3XXXVF)/qat_c3xxxvf.ko $(MODULE_INSTALLPATH)/qat_c3xxxvf; | ||
30 | + @cp $(KO_QAT_C62X)/qat_c62x.ko $(MODULE_INSTALLPATH)/qat_c62x; | ||
31 | + @cp $(KO_QAT_C62XVF)/qat_c62xvf.ko $(MODULE_INSTALLPATH)/qat_c62xvf; | ||
32 | + @cp $(KO_QAT_DH895XCC)/qat_dh895xcc.ko $(MODULE_INSTALLPATH)/qat_dh895xcc; | ||
33 | + @cp $(KO_QAT_DH895XCCVF)/qat_dh895xccvf.ko $(MODULE_INSTALLPATH)/qat_dh895xccvf; | ||
34 | + @cp $(ICP_ROOT)/quickassist/utilities/libusdm_drv/usdm_drv.ko $(MODULE_INSTALLPATH); | ||
35 | + @cp $(ICP_ROOT)/quickassist/lookaside/access_layer/src/sample_code/performance/build/linux_2.6/user_space/cpa_sample_code $(ICP_BUILD_OUTPUT)$(DEST_BINDIR); | ||
36 | + | ||
37 | install_scripts: | ||
38 | @echo ; echo 'Copying Install Scripts'; | ||
39 | - @cp $(ICP_BUILDSYSTEM_PATH)/build_files/qat_service $(ICP_BUILD_OUTPUT)/; | ||
40 | - @chmod 750 $(ICP_BUILD_OUTPUT)/qat_service; | ||
41 | + @cp $(ICP_BUILDSYSTEM_PATH)/build_files/qat_service $(ICP_BUILD_OUTPUT)/etc/init.d; | ||
42 | + @chmod 750 $(ICP_BUILD_OUTPUT)/etc/init.d/qat_service; | ||
43 | |||
44 | # | ||
45 | # Common memory driver | ||
46 | @@ -143,8 +155,20 @@ ifeq ($(ICP_NO_CLEAN),) | ||
47 | endif | ||
48 | |||
49 | |||
50 | -output_dir: clean | ||
51 | +output_dir: | ||
52 | test -d $(ICP_BUILD_OUTPUT) || mkdir -p $(ICP_BUILD_OUTPUT); | ||
53 | + test -d $(ICP_BUILD_OUTPUT)$(DEST_LIBDIR) || mkdir -p $(ICP_BUILD_OUTPUT)$(DEST_LIBDIR); | ||
54 | + test -d $(ICP_BUILD_OUTPUT)$(DEST_BINDIR) || mkdir -p $(ICP_BUILD_OUTPUT)$(DEST_BINDIR); | ||
55 | + test -d $(ICP_BUILD_OUTPUT)/lib/firmware/$(ICP_FIRMWARE_DIR) || mkdir -p $(ICP_BUILD_OUTPUT)/lib/firmware/$(ICP_FIRMWARE_DIR); | ||
56 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat; | ||
57 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_common || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_common; | ||
58 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c3xxx || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c3xxx; | ||
59 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c3xxxvf || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c3xxxvf; | ||
60 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c62x || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c62x; | ||
61 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c62xvf || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_c62xvf; | ||
62 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_dh895xcc || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_dh895xcc; | ||
63 | + test -d $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_dh895xccvf || mkdir -p $(ICP_BUILD_OUTPUT)/lib/modules/$(QAT_KERNEL_VER)/updates/drivers/crypto/qat/qat_dh895xccvf; | ||
64 | + test -d $(ICP_BUILD_OUTPUT)/etc/init.d || mkdir -p $(ICP_BUILD_OUTPUT)/etc/init.d; | ||
65 | |||
66 | lac_lib_dir: clean | ||
67 | test -d $(LAC_LIB_DIR) || mkdir -p $(LAC_LIB_DIR); | ||
68 | -- | ||
69 | 1.9.1 | ||
diff --git a/recipes-extended/qat/qat17_1.0.3-42.bb b/recipes-extended/qat/qat17_1.0.3-42.bb new file mode 100644 index 0000000..548a715 --- /dev/null +++ b/recipes-extended/qat/qat17_1.0.3-42.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | include qat17.inc | ||
2 | |||
3 | DESCRIPTION = "Intel(r) QuickAssist Technology API" | ||
4 | HOMEPAGE = "https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches" | ||
5 | |||
6 | #Dual BSD and GPLv2 License | ||
7 | LICENSE = "BSD & GPLv2" | ||
8 | |||
9 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
10 | |||
11 | SRC_URI="https://01.org/sites/default/files/downloads/intelr-quickassist-technology/qat1.7.upstream.l.1.0.3-42.tar.gz \ | ||
12 | file://qat16_2.3.0-34-qat-remove-local-path-from-makefile.patch \ | ||
13 | file://qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch \ | ||
14 | file://qat17_0.6.0-1-qat-fix-kernel-patch.patch \ | ||
15 | file://qat17_0.8.0-37-qat-added-include-dir-path.patch \ | ||
16 | file://qat17_0.9.0-4-qat-add-install-target-and-add-folder.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "ee059cf134486f5684466555e8636ee0" | ||
20 | SRC_URI[sha256sum] = "84d2c4a242987548135274da7c3def31461af6f1b4beb74f519a993e854abf5b" | ||