diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2013-09-25 14:03:06 +0800 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2013-09-26 10:14:34 -0500 |
commit | 7dfb8ba7e099ac548d31cc67072df10117e9aafa (patch) | |
tree | e7986dec6887a14e4e184e16072f7bff55c513af /common/recipes-core | |
parent | 67b58a79279ad1beaf8dc0c68fb411f1d440abe4 (diff) | |
download | meta-intel-7dfb8ba7e099ac548d31cc67072df10117e9aafa.tar.gz |
common: Remove obsolete QAT-related recipes
Remove openssl-qat-module and zlib-qat-module recipes and any
references to them from meta-intel.
This is to remove recipes for obsolete and unmaintained software
ingredients related to QAT.
Signed-off-by Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'common/recipes-core')
-rw-r--r-- | common/recipes-core/zlib-qat-module/zlib-qat-module.bb | 52 | ||||
-rw-r--r-- | common/recipes-core/zlib-qat-module/zlib-qat-module/zlib_qat_module.patch | 43 |
2 files changed, 0 insertions, 95 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 5ade06eb..00000000 --- a/common/recipes-core/zlib-qat-module/zlib-qat-module.bb +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | SUMMARY="Zlib QAT_MEM Memory Management Module for Intel Quick Assist \ | ||
2 | Technology" | ||
3 | DESCRIPTION="This software acelerates the data compression algorithm \ | ||
4 | in the zlib software library via the Intel QuickAssist Technology \ | ||
5 | implemented on Intel Communications Chipset 89xx Series based platforms." | ||
6 | |||
7 | HOMEPAGE = "http://zlib.net/" | ||
8 | SECTION = "libs" | ||
9 | LICENSE = "Zlib & GPLv2 & BSD" | ||
10 | |||
11 | LIC_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" | ||
14 | PV = "1.2.7" | ||
15 | ZLIB_QAT_VERSION = "0.4.0-011" | ||
16 | |||
17 | PR="r0" | ||
18 | |||
19 | SRC_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 | |||
23 | SRC_URI[zlib.md5sum]="60df6a37c56e7c1366cca812414f7b85" | ||
24 | SRC_URI[zlib.sha256sum]="fa9c9c8638efb8cb8ef5e4dd5453e455751e1c530b1595eed466e1be9b7e26c5" | ||
25 | |||
26 | SRC_URI[zlib_qat.md5sum]="88e4140f98d2f9e170bf473f20e1a8d4" | ||
27 | SRC_URI[zlib_qat.sha256sum]="3c360878127f3930e64640ef5a5822719a5059143326bb4c396645ae37b704a6" | ||
28 | |||
29 | S = "${WORKDIR}/zlib-${PV}/contrib/qat/qat_mem" | ||
30 | |||
31 | inherit module | ||
32 | export KERNEL_SOURCE_ROOT = "${STAGING_KERNEL_DIR}" | ||
33 | |||
34 | do_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 | |||
42 | do_compile() { | ||
43 | cd ${S} | ||
44 | oe_runmake KERNEL_CC="${KERNEL_CC}" | ||
45 | } | ||
46 | |||
47 | do_install_append() { | ||
48 | install -m 0755 -d ${D}${bindir} | ||
49 | install -m 0755 ${S}/qat_mem_test ${D}${bindir} | ||
50 | } | ||
51 | |||
52 | FILES_${PN} += "${bindir}/qat_mem_test" | ||
diff --git a/common/recipes-core/zlib-qat-module/zlib-qat-module/zlib_qat_module.patch b/common/recipes-core/zlib-qat-module/zlib-qat-module/zlib_qat_module.patch deleted file mode 100644 index a30f8b05..00000000 --- a/common/recipes-core/zlib-qat-module/zlib-qat-module/zlib_qat_module.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | Index: zlib-qat-module-1.2.7-r0/zlib-1.2.7/contrib/qat/qat_mem/Makefile | ||
2 | =================================================================== | ||
3 | --- zlib-qat-module-1.2.7-r0.orig/zlib-1.2.7/contrib/qat/qat_mem/Makefile 2012-10-16 13:53:10.258938722 -0700 | ||
4 | +++ zlib-qat-module-1.2.7-r0/zlib-1.2.7/contrib/qat/qat_mem/Makefile 2012-10-16 13:59:18.174944864 -0700 | ||
5 | @@ -59,13 +59,10 @@ | ||
6 | # | ||
7 | # | ||
8 | ######################################################################### | ||
9 | - | ||
10 | MODULENAME := qat_mem | ||
11 | -KDIR := /lib/modules/$(shell uname -r)/build | ||
12 | +KDIR := $(KERNEL_SOURCE_ROOT) | ||
13 | PWD := $(shell pwd) | ||
14 | - | ||
15 | -CC := gcc -Wall -imacros /usr/src/kernels/$(shell uname -r)/include/linux/autoconf.h | ||
16 | - | ||
17 | +CC := $(KERNEL_CC) -Wall -imacros $(KERNEL_SOURCE_ROOT)/include/generated/autoconf.h | ||
18 | ifeq ($(KERNELRELEASE),) | ||
19 | all: $(MODULENAME)_test | ||
20 | all: | ||
21 | @@ -73,20 +70,15 @@ | ||
22 | else | ||
23 | obj-m := $(MODULENAME).o | ||
24 | endif | ||
25 | - | ||
26 | +modules_install: | ||
27 | + $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install | ||
28 | $(MODULENAME)_test: $(MODULENAME)_test.c | ||
29 | $(CC) -g -o $(MODULENAME)_test $(MODULENAME)_test.c | ||
30 | - | ||
31 | - | ||
32 | load: | ||
33 | insmod ./$(MODULENAME).ko | ||
34 | - | ||
35 | unload: | ||
36 | rmmod $(MODULENAME) | ||
37 | - | ||
38 | test: all | ||
39 | ./$(MODULENAME)_test | ||
40 | - | ||
41 | clean: | ||
42 | rm -f *.o *.ko Module.symvers modules.order *.mod.c .*.cmd $(MODULENAME)_test | ||
43 | - | ||