summaryrefslogtreecommitdiffstats
path: root/common/recipes-core/zlib-qat-module/zlib-qat-module.bb
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-core/zlib-qat-module/zlib-qat-module.bb')
-rw-r--r--common/recipes-core/zlib-qat-module/zlib-qat-module.bb52
1 files changed, 0 insertions, 52 deletions
diff --git a/common/recipes-core/zlib-qat-module/zlib-qat-module.bb b/common/recipes-core/zlib-qat-module/zlib-qat-module.bb
deleted file mode 100644
index 5ade06e..0000000
--- a/common/recipes-core/zlib-qat-module/zlib-qat-module.bb
+++ /dev/null
@@ -1,52 +0,0 @@
1SUMMARY="Zlib QAT_MEM Memory Management Module for Intel Quick Assist \
2Technology"
3DESCRIPTION="This software acelerates the data compression algorithm \
4in the zlib software library via the Intel QuickAssist Technology \
5implemented on Intel Communications Chipset 89xx Series based platforms."
6
7HOMEPAGE = "http://zlib.net/"
8SECTION = "libs"
9LICENSE = "Zlib & GPLv2 & BSD"
10
11LIC_FILES_CHKSUM = "file://${WORKDIR}/zlib-${PV}/zlib.h;beginline=4;endline=23;md5=94d1b5a40dadd127f3351471727e66a9 \
12 file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \
13 file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234cb"
14PV = "1.2.7"
15ZLIB_QAT_VERSION = "0.4.0-011"
16
17PR="r0"
18
19SRC_URI = "http://www.zlib.net/zlib-${PV}.tar.gz;name=zlib \
20 http://downloadmirror.intel.com/20294/eng/zlib-${PV}-qat.L.${ZLIB_QAT_VERSION}.tar.gz;name=zlib_qat \
21 file://zlib_qat_module.patch"
22
23SRC_URI[zlib.md5sum]="60df6a37c56e7c1366cca812414f7b85"
24SRC_URI[zlib.sha256sum]="fa9c9c8638efb8cb8ef5e4dd5453e455751e1c530b1595eed466e1be9b7e26c5"
25
26SRC_URI[zlib_qat.md5sum]="88e4140f98d2f9e170bf473f20e1a8d4"
27SRC_URI[zlib_qat.sha256sum]="3c360878127f3930e64640ef5a5822719a5059143326bb4c396645ae37b704a6"
28
29S = "${WORKDIR}/zlib-${PV}/contrib/qat/qat_mem"
30
31inherit module
32export KERNEL_SOURCE_ROOT = "${STAGING_KERNEL_DIR}"
33
34do_patch() {
35 cd ${WORKDIR}/zlib-${PV}
36 patch -p0 < ${WORKDIR}/zlib-${PV}-qat.L.${ZLIB_QAT_VERSION}.patch
37
38 cd ${WORKDIR}
39 patch -p1 < ${WORKDIR}/zlib_qat_module.patch
40}
41
42do_compile() {
43 cd ${S}
44 oe_runmake KERNEL_CC="${KERNEL_CC}"
45}
46
47do_install_append() {
48 install -m 0755 -d ${D}${bindir}
49 install -m 0755 ${S}/qat_mem_test ${D}${bindir}
50}
51
52FILES_${PN} += "${bindir}/qat_mem_test"