Skip to contentSkip to conversation

ti-pru-sw-examples: fix package run-time dependencies

PATCH In review Melissa Watkins 3 participants 3 messages Dec 13, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 ti-pru-sw-examples: fix package run-time dependencies

* This package depends on the ti-pru-sw-edma-driver and kernel-module-uio-pru modules at run-tim. Added these packages to the RDEPENDS.
* Bump PR
* Update SRC_REV
* Update COMPATIBLE_MACHINE

---
 recipes/ti/ti-pru-sw-examples_1.00.00.bb |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
 mode change 100755 => 100644 recipes/ti/ti-pru-sw-examples_1.00.00.bb
recipes/ti/ti-pru-sw-examples_1.00.00.bb +5 -4
old mode 100755
new mode 100644
index a9239f8..02c3376
@@ -1,14 +1,15 @@
 DESCRIPTION = "PRU sw example applications"
 HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
 LICENSE = "BSD"
-DEPENDS = "ti-pru-sw-app-loader ti-pru-sw-edma-library"
-PR = "r0+svnr${SRCPV}"
+DEPENDS += "ti-pru-sw-app-loader ti-pru-sw-edma-library"
+RDEPENDS += "ti-pru-sw-edma-driver kernel-module-uio-pru"
+PR = "r1+svnr${SRCPV}"
 
-COMPATIBLE_MACHINE = "omapl138|am180x-evm"
+COMPATIBLE_MACHINE = "omapl138"
 
 SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;pswd=''"
 
-SRCREV = "18"
+SRCREV = "20"
 S = "${WORKDIR}/trunk"
 
 do_compile () {
Signature · 1 line
1.7.0.4
#1 lore raw

Am Montag, den 13.12.2010, 07:20 -0600 schrieb Melissa Watkins:

Quoted 2 lines

* This package depends on the ti-pru-sw-edma-driver and kernel-module-uio-pru modules at run-tim. Added these packages

tim*e*

Quoted 3 lines

to the RDEPENDS.
* Bump PR
* Update SRC_REV

SRCREV

Quoted 1 line

* Update COMPATIBLE_MACHINE

In all your four patches you update SRCREV and COMPATIBLE_MACHINE. Could you please factor that out into separate patches. (At least next time.)

I do not know anything about this program, but why is COMPATIBLE_MACHINE changed? Was it incorrectly set from the beginning or did something change upstream.

Quoted 24 lines
---
 recipes/ti/ti-pru-sw-examples_1.00.00.bb |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
 mode change 100755 => 100644 recipes/ti/ti-pru-sw-examples_1.00.00.bb
recipes/ti/ti-pru-sw-examples_1.00.00.bb +3 -2
old mode 100755
new mode 100644
index a9239f8..02c3376
@@ -1,14 +1,15 @@
 DESCRIPTION = "PRU sw example applications"
 HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
 LICENSE = "BSD"
-DEPENDS = "ti-pru-sw-app-loader ti-pru-sw-edma-library"
-PR = "r0+svnr${SRCPV}"
+DEPENDS += "ti-pru-sw-app-loader ti-pru-sw-edma-library"
+RDEPENDS += "ti-pru-sw-edma-driver kernel-module-uio-pru"
+PR = "r1+svnr${SRCPV}"
 

recipes/ti/ti-pru-sw-examples_1.00.00.bb line 15

Quoted 10 lines
recipes/ti/ti-pru-sw-examples_1.00.00.bb +2 -2
-COMPATIBLE_MACHINE = "omapl138|am180x-evm"
+COMPATIBLE_MACHINE = "omapl138"
 
 SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;pswd=''"
 
-SRCREV = "18"
+SRCREV = "20"
 S = "${WORKDIR}/trunk"
 
 do_compile () {

Thanks,

Paul

#2 lore raw
Quoted 23 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Menzel
Sent: Monday, December 13, 2010 12:44 PM
To: [email protected]
Subject: Re: [oe] [PATCH 4/4] ti-pru-sw-examples: fix package run-time dependencies

Am Montag, den 13.12.2010, 07:20 -0600 schrieb Melissa Watkins:

Quoted 2 lines

* This package depends on the ti-pru-sw-edma-driver and kernel-module-uio-pru modules at run-tim. Added these packages

tim*e*

Quoted 3 lines

to the RDEPENDS.
* Bump PR
* Update SRC_REV

SRCREV

Quoted 1 line

* Update COMPATIBLE_MACHINE

Quoted 7 lines

In all your four patches you update SRCREV and COMPATIBLE_MACHINE. Could you please factor that out into separate patches. (At least next time.)

I do not know anything about this program, but why is COMPATIBLE_MACHINE changed? Was it incorrectly set from the beginning or did something change upstream.

COMPATIBLE_MACHINE was being defined for omapl138 (the SOC_FAMILY) and am180x-evm (which is a member of that SOC_FAMILY). Therefore the use of am180x-evm was redundant.

Quoted 43 lines

recipes/ti/ti-

Quoted 10 lines
---
 recipes/ti/ti-pru-sw-examples_1.00.00.bb |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
 mode change 100755 => 100644 recipes/ti/ti-pru-sw-examples_1.00.00.bb
recipes/ti/ti- renamed from recipes/ti/ti-pru-sw-examples_1.00.00.bb +0 -0

pru-sw-examples_1.00.00.bb

Quoted 9 lines

old mode 100755
new mode 100644
index a9239f8..02c3376

recipes/ti/ti-pru-sw-examples_1.00.00.bb +0 -0
@@ -1,14 +1,15 @@
 DESCRIPTION = "PRU sw example applications"
 HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
 LICENSE = "BSD"

recipes/ti/ti-pru-sw-examples_1.00.00.bb line 10

Quoted 10 lines
recipes/ti/ti-pru-sw-examples_1.00.00.bb +4 -3
-DEPENDS = "ti-pru-sw-app-loader ti-pru-sw-edma-library"
-PR = "r0+svnr${SRCPV}"
+DEPENDS += "ti-pru-sw-app-loader ti-pru-sw-edma-library"
+RDEPENDS += "ti-pru-sw-edma-driver kernel-module-uio-pru"
+PR = "r1+svnr${SRCPV}"
 
-COMPATIBLE_MACHINE = "omapl138|am180x-evm"
+COMPATIBLE_MACHINE = "omapl138"
 
 SRC_URI =

"svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;p swd=''"

recipes/ti/ti-pru-sw-examples_1.00.00.bb line 15

Quoted 6 lines
recipes/ti/ti-pru-sw-examples_1.00.00.bb +1 -1
-SRCREV = "18"
+SRCREV = "20"
 S = "${WORKDIR}/trunk"
 
 do_compile () {

Thanks,

Paul