[meta-ti] Denys Dmytriyenko : ti-pru-sw-edma-driver: let module. bbclass package modules automatically

Arago Project git git at arago-project.org
Thu Sep 12 08:25:19 PDT 2013


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

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Wed Sep 11 22:18:27 2013 -0400

ti-pru-sw-edma-driver: 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>

---

 recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb b/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
index c7fdfd1..1a418d7 100644
--- a/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
+++ b/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
@@ -7,7 +7,7 @@ COMPATIBLE_MACHINE = "omapl138"
 
 INHIBIT_PACKAGE_STRIP = "1"
 
-MACHINE_KERNEL_PR_append = "a+svnr${SRCPV}"
+MACHINE_KERNEL_PR_append = "b+svnr${SRCPV}"
 PR = "${MACHINE_KERNEL_PR}"
 
 SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"
@@ -28,5 +28,3 @@ do_install () {
         install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru
         install -m 0755 ${S}/edmautils.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/
 }
-
-FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/edmautils.ko"




More information about the meta-ti mailing list