[meta-ti] Denys Dmytriyenko : ti-ocf-crypto-module: let module. bbclass package modules automatically

Arago Project git git at arago-project.org
Tue Sep 10 10:42:10 PDT 2013


Module: meta-ti
Branch: dylan
Commit: e2748c6cb20bb9cbeecb9aecd8ecb3061787cdab
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=e2748c6cb20bb9cbeecb9aecd8ecb3061787cdab

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Mon Sep  9 21:57:18 2013 -0400

ti-ocf-crypto-module: let module.bbclass package modules automatically

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 <denys at ti.com>

---

 .../ti-ocf-crypto-module_1.0.bb                    |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb b/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb
index ece63d0..ad1d5ef 100644
--- a/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb
+++ b/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb
@@ -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"




More information about the meta-ti mailing list