Skip to contentSkip to conversation

ti-pru-sw-edma-driver: let module.bbclass package modules automatically

PATCH In review Denys Dmytriyenko 3 participants 4 messages Sep 12, 2013 – Sep 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-pru-sw-edma-driver: 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.

---
 recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +1 -3
index c7fdfd1..1a418d7 100644
@@ -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"
Signature · 1 line
1.8.3.2
#1 lore raw

Base on this patch and a similar patch for ocf-crypto-module are their patches that need to be added in meta-arago to make sure the kernel modules are included in the file system?

Quoted 51 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, September 11, 2013 9:20 PM
To: [email protected]
Subject: [meta-ti] [PATCH] ti-pru-sw-edma-driver: 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.

---
 recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
recipes- renamed from recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -0

bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
index c7fdfd1..1a418d7 100644

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +1 -1
@@ -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=anonym ous;pswd=''"

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -0
@@ -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/
}

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -2
-
-FILES_${PN} =

"/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/edmautils.ko" --
1.8.3.2

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#2 lore raw

I thought that was already done. There's RDEPENDS on ti-ocf-crypto-module in crypto packagegroup and ti-pru-sw-examples RDEPENDS on ti-pru-sw-edma-driver.

Signature · 1 line
Denys
Quoted 59 lines · Franklin

Base on this patch and a similar patch for ocf-crypto-module are their patches that need to be added in meta-arago to make sure the kernel modules are included in the file system?

Quoted 47 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, September 11, 2013 9:20 PM
To: [email protected]
Subject: [meta-ti] [PATCH] ti-pru-sw-edma-driver: 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.

---
 recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
recipes- renamed from recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -0

bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
index c7fdfd1..1a418d7 100644

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +1 -1
@@ -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=anonym ous;pswd=''"

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -0
@@ -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/
}

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -2
-
-FILES_${PN} =

"/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/edmautils.ko" --
1.8.3.2

Quoted 4 lines

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw
Quoted 10 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, September 16, 2013 2:49 PM
To: Cooper Jr., Franklin
Cc: Denys Dmytriyenko; [email protected]
Subject: Re: [meta-arago] [meta-ti] [PATCH] ti-pru-sw-edma-driver: let module.bbclass package modules automatically

Quoted 3 lines

I thought that was already done. There's RDEPENDS on ti-ocf-crypto-module in crypto packagegroup and ti-pru-sw-examples RDEPENDS on ti-pru-sw-edma- driver.

[Franklin] Ok I was confused by the commit message. I thought it meant a new package was being generated which would require some additional changes.

Quoted 68 lines

--
Denys

Quoted 10 lines · Franklin

Base on this patch and a similar patch for ocf-crypto-module are their patches that need to be added in meta-arago to make sure the kernel modules are included in the file system?

Quoted 6 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, September 11, 2013 9:20 PM
To: [email protected]
Subject: [meta-ti] [PATCH] ti-pru-sw-edma-driver: let module.bbclass

package

Quoted 6 lines
Quoted 6 lines

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.

Quoted 15 lines
Quoted 15 lines

Messing with FILES_${PN} usually causes problems, so avoid it and let module.bbclass do it's magic.

---
 recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
recipes- renamed from recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -0

bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
index c7fdfd1..1a418d7 100644

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -0
@@ -7,7 +7,7 @@ COMPATIBLE_MACHINE = "omapl138"
 
Quoted 8 lines

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb COMPATIBLE_MACHINE = "omapl138"

Quoted 8 lines
recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +1 -1
 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=anonym

Quoted 20 lines
Quoted 12 lines

ous;pswd=''"

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -0
@@ -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/
}

recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +0 -2
-
-FILES_${PN} =

"/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/edmautils.ko" --
1.8.3.2

Quoted 4 lines

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago