summaryrefslogtreecommitdiffstats
path: root/common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb')
-rw-r--r--common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb11
1 files changed, 10 insertions, 1 deletions
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 fdeebbb..fb863b0 100644
--- a/common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb
+++ b/common/recipes-connectivity/openssl-qat-module/openssl-qat-module.bb
@@ -45,6 +45,14 @@ do_compile() {
45 oe_runmake KERNEL_CC="${KERNEL_CC}" 45 oe_runmake KERNEL_CC="${KERNEL_CC}"
46} 46}
47 47
48KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}"
49MODULE_DIR="${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers"
50
51do_install() {
52 install -m 0755 -d ${MODULE_DIR}
53 install -m 0755 ${S}/qat_mem.ko ${MODULE_DIR}
54}
55
48do_install_append() { 56do_install_append() {
49 install -m 0755 -d ${D}${bindir} \ 57 install -m 0755 -d ${D}${bindir} \
50 ${D}${includedir}/engines/qat_engine/qat_mem 58 ${D}${includedir}/engines/qat_engine/qat_mem
@@ -53,4 +61,5 @@ do_install_append() {
53 install -m 0750 ${S}/*.h ${D}${includedir}/engines/qat_engine/qat_mem/ 61 install -m 0750 ${S}/*.h ${D}${includedir}/engines/qat_engine/qat_mem/
54} 62}
55 63
56FILES_${PN} += "${bindir}/qat_mem_test" 64FILES_${PN} += "${bindir}/qat_mem_test \
65 ${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers"