ti-ocf-crypto-module: let module.bbclass package modules automatically
PATCH 1/1 ti-ocf-crypto-module: let module.bbclass package modules automatically
From: Denys Dmytriyenko <[email protected]>
The new method is to automatically package modules into kernel-module-<modname> and make the custom name depend on the standard unified one. Messing with FILES_${PN} usually causes problems, so avoid it and let module.bbclass do it's magic.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb +1 -3
@@ -19,7 +19,7 @@ S = "${WORKDIR}/trunk" inherit module -MACHINE_KERNEL_PR_append = "a+svnr${SRCPV}" +MACHINE_KERNEL_PR_append = "b+svnr${SRCPV}" PR = "${MACHINE_KERNEL_PR}" EXTRA_OEMAKE += "KERNEL_DIR=${STAGING_KERNEL_DIR}"
@@ -32,5 +32,3 @@ do_install () { install -d ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/ install -m 0755 ${S}/ocf_omap3_cryptok.ko ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/ } - -FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/crypto/ocf/ocf_omap3_cryptok.ko"
Signature · 1 line
1.8.3.2