Skip to contentSkip to conversation

am-benchmarks: update to latest version

PATCH Superseded Chase Maupin 3 participants 4 messages Sep 29, 2010

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am-benchmarks: update to latest version

* Updated the SRCREV to the latest version of this project which includes support for multiple platforms.

---
 recipes/ti/am-benchmarks_svn.bb |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
recipes/ti/am-benchmarks_svn.bb +9 -3
index 51ac6af..1160503 100644
@@ -4,15 +4,21 @@ LICENSE = "BSD"
 SECTION = "system"
 PRIORITY = "optional"
 
-SRCREV = "33"
-PV = "1.0"
+SRCREV = "56"
+PV = "1.1"
 PR = "r1+svnr${SRCPV}"
 
+ARCHITECTURE_dm365 = "arm9"
+ARCHITECTURE_da850-omapl138-evm = "arm9"
+ARCHITECTURE_omap3 = "cortex-a8"
+ARCHITECTURE_ti816x = "cortex-a8"
+ARCHITECTURE ?= "<UNDEFINED>"
+
 INSANE_SKIP_${PN} = "True"
 
 SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
 
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/trunk/${ARCHITECTURE}"
 
 do_compile() {
 	# don't build debug version
Signature · 1 line
1.7.0.4
#1 lore raw

2010/9/29 Chase Maupin <[email protected]>:

Quoted 22 lines

* Updated the SRCREV to the latest version of this project which includes support for multiple platforms.

---
 recipes/ti/am-benchmarks_svn.bb |   12 +++++++++---

 1 files changed, 9 insertions(+), 3 deletions(-)
recipes/ti/am-benchmarks_svn.bb +0 -0
index 51ac6af..1160503 100644
@@ -4,15 +4,21 @@ LICENSE = "BSD"

 SECTION = "system"
 PRIORITY = "optional"

recipes/ti/am-benchmarks_svn.bb +2 -2
-SRCREV = "33"
-PV = "1.0"
+SRCREV = "56"
+PV = "1.1"

 PR = "r1+svnr${SRCPV}"

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 15

Quoted 5 lines
recipes/ti/am-benchmarks_svn.bb +5 -0
+ARCHITECTURE_dm365 = "arm9"
+ARCHITECTURE_da850-omapl138-evm = "arm9"
+ARCHITECTURE_omap3 = "cortex-a8"
+ARCHITECTURE_ti816x = "cortex-a8"
+ARCHITECTURE ?= "<UNDEFINED>"

Don't have the full recipe handy, but is this latter UNDEFINED needed? I would expect a COMPATIBLE_MACHINE somewhere causing the latter never to happen.
Then again it might be a good safeguard.

Frans.

Quoted 19 lines

+
 INSANE_SKIP_${PN} = "True"

 SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"

recipes/ti/am-benchmarks_svn.bb +1 -1
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/trunk/${ARCHITECTURE}"

 do_compile() {
       # don't build debug version
--
1.7.0.4

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 20 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Frans Meulenbroeks
Sent: Wednesday, September 29, 2010 11:24 AM
To: [email protected]
Subject: Re: [oe] [PATCH] am-benchmarks: update to latest version

2010/9/29 Chase Maupin <[email protected]>:

Quoted 8 lines

* Updated the SRCREV to the latest version of this project which includes support for multiple platforms.

---
 recipes/ti/am-benchmarks_svn.bb |   12 +++++++++---

 1 files changed, 9 insertions(+), 3 deletions(-)
Quoted 4 lines

Don't have the full recipe handy, but is this latter UNDEFINED needed? I would expect a COMPATIBLE_MACHINE somewhere causing the latter never to happen.
Then again it might be a good safeguard.

Frans,

Good point. In the past there was no difference between arm9 and cortex-a8 so we didn't really concern ourselves with COMPATIBLE_MACHINE because the code was supposed to be buildable for all of the different machines. Now we have these different directories containing sources for the different architectures. We could use compatible machine so I could go either way on this. Let me know if you want me to change this.

Quoted 14 lines

Frans.

Quoted 7 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw

2010/9/29 Maupin, Chase <[email protected]>:

Quoted 20 lines
Quoted 20 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Frans Meulenbroeks
Sent: Wednesday, September 29, 2010 11:24 AM
To: [email protected]
Subject: Re: [oe] [PATCH] am-benchmarks: update to latest version

2010/9/29 Chase Maupin <[email protected]>:

Quoted 8 lines

* Updated the SRCREV to the latest version of this project which includes support for multiple platforms.

---
 recipes/ti/am-benchmarks_svn.bb |   12 +++++++++---

 1 files changed, 9 insertions(+), 3 deletions(-)
Quoted 8 lines
Quoted 4 lines

Don't have the full recipe handy, but is this latter UNDEFINED needed? I would expect a COMPATIBLE_MACHINE somewhere causing the latter never to happen.
Then again it might be a good safeguard.

Frans,

Good point.  In the past there was no difference between arm9 and cortex-a8 so we didn't really concern ourselves with COMPATIBLE_MACHINE because the code was supposed to be buildable for all of the different machines.  Now we have these different directories containing sources for the different architectures.  We could use compatible machine so I could go either way on this.  Let me know if you want me to change this.

I prefer to use e.g. COMPATIBLE_MACHINE.
That inhibits building a recipe for a machine for which it is not intended.

Frans.