From e3f78500b1eba6fce602bd146affa868357c2d66 Mon Sep 17 00:00:00 2001 From: Kishore Bodke Date: Tue, 9 Apr 2013 14:08:06 -0700 Subject: crystalforest: Fix build issues for openssl-qat-module openssl-qat-module and zlib-qat-module recipes have the same kernel module name, which causes the build to fail. So remove one of them from building and update the README with the instructions on how to enable. Fixes [YOCTO #4126]. Signed-off-by: Kishore Bodke --- .../openssl-qat-module/openssl-qat-module.bb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'common') diff --git a/common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb b/common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb index fb863b0a..fdeebbb8 100644 --- a/common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb +++ b/common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb @@ -45,14 +45,6 @@ do_compile() { oe_runmake KERNEL_CC="${KERNEL_CC}" } -KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" -MODULE_DIR="${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers" - -do_install() { - install -m 0755 -d ${MODULE_DIR} - install -m 0755 ${S}/qat_mem.ko ${MODULE_DIR} -} - do_install_append() { install -m 0755 -d ${D}${bindir} \ ${D}${includedir}/engines/qat_engine/qat_mem @@ -61,5 +53,4 @@ do_install_append() { install -m 0750 ${S}/*.h ${D}${includedir}/engines/qat_engine/qat_mem/ } -FILES_${PN} += "${bindir}/qat_mem_test \ - ${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers" +FILES_${PN} += "${bindir}/qat_mem_test" -- cgit v1.2.3-54-g00ecf