am-benchmarks: Remove platform dependencies
PATCH v2 1/1 am-benchmarks: Remove platform dependencies
* Remove platform dependencies and use architecture dependencies instead
* Use OE BASE_PACKAGE_ARCH to determine architecture
* Update the SRCREV to revision 66
* Update the recipe revision to 1.3
* Removed INSANE_SKIP
NOTE - architecture dependency can be removed once CFLAGS can be passed into CCSv5 project makefile
---
Updated in version 2:
Removed INSANE_SKIP directive
updated SRCREV from 65 to 66
used find-copies-harder to show differences with previous recipe
--
recipes/ti/am-benchmarks_1.3.bb | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 recipes/ti/am-benchmarks_1.3.bb
recipes/ti/am-benchmarks_1.3.bb new file +33 -0
@@ -0,0 +1,33 @@ +#NOTE: This package is currently only supported for the Angstrom +# distribution. Other distributions and toolchains may or +# may not work. + +DESCRIPTION = "AM Benchmarks" +HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/" +LICENSE = "BSD" +SECTION = "system" +PRIORITY = "optional" + +SRCREV = "66" +PR = "r2+svnr${SRCPV}" + +SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''" + +S = "${WORKDIR}/trunk" + +do_configure() { + sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk +} + +do_compile() { + # don't build debug version + touch debug + export CROSS_COMPILE=${TARGET_PREFIX} + export ARCH=${BASE_PACKAGE_ARCH} + make release +} + +do_install() { + export ARCH=${BASE_PACKAGE_ARCH} + make DESTDIR=${D} install +}
Signature · 1 line
1.7.0.4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · Jeff Lance
* Remove platform dependencies and use architecture dependencies instead
* Use OEBASE_PACKAGE_ARCHto determine architecture
* Update the SRCREV to revision 66
* Update the recipe revision to 1.3
* RemovedINSANE_SKIP
NOTE - architecture dependency can be removed once CFLAGS can be passed into CCSv5 project makefileSigned-off-by Jeff Lance <[email protected]>
Much better, thanks!
Quoted 39 lines
---
Updated in version 2:
RemovedINSANE_SKIPdirective
updated SRCREV from 65 to 66
used find-copies-harder to show differences with previous recipe
--recipes/ti/am-benchmarks_1.3.bb | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 recipes/ti/am-benchmarks_1.3.bbrecipes/ti/am-benchmarks_1.3.bb new file +23
-0@@ -0,0 +1,33 @@ +#NOTE: This package is currently only supported for the Angstrom +# distribution. Other distributions and toolchains may or +# may not work. + +DESCRIPTION = "AM Benchmarks" +HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/" +LICENSE = "BSD" +SECTION = "system" +PRIORITY = "optional" + +SRCREV = "66" +PR = "r2+svnr${SRCPV}" + +SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''" + +S = "${WORKDIR}/trunk" + +do_configure() { + sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk +} + +do_compile() { + # don't build debug version
recipes/ti/am-benchmarks_1.3.bb line 33
Quoted 10 lines
recipes/ti/am-benchmarks_1.3.bb new file +10
-0+ touch debug + export CROSS_COMPILE=${TARGET_PREFIX} + export ARCH=${BASE_PACKAGE_ARCH} + make release +} + +do_install() { + export ARCH=${BASE_PACKAGE_ARCH} + make DESTDIR=${D} install +}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFODDlvMkyGM64RGpERAkG8AJ4nj8TWYoY89u9XJHPiw13adfgeGACgp69I UxVJuBlADDqibDEyEAUuBcE=
=yCEc
-----END PGP SIGNATURE-----
Maupin, Chase
NAKQuoted 20 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Koen Kooi
Sent: Thursday, June 30, 2011 3:53 AM
To: [email protected]
Subject: Re: [oe] [PATCH v2 1/1] am-benchmarks: Remove platform dependencies-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 1 line · Jeff Lance
* Remove platform dependencies and use architecture dependencies
instead
Quoted 5 lines
* Use OE
BASE_PACKAGE_ARCHto determine architecture
* Update the SRCREV to revision 66
* Update the recipe revision to 1.3
* RemovedINSANE_SKIP
NOTE - architecture dependency can be removed once CFLAGS can be
Quoted 7 lines
passed into CCSv5 project makefile
Quoted 2 lines
Signed-off-by Jeff Lance <[email protected]>Much better, thanks!
Acked-by Koen Kooi <[email protected]>
NAK
My testing shows this sed command does not work the way it was intended. I have given Jeff an updated command to submit another version of th patch.
Quoted 69 lines
Quoted 8 lines
---
Updated in version 2:
RemovedINSANE_SKIPdirective
updated SRCREV from 65 to 66
used find-copies-harder to show differences with previous recipe
--recipes/ti/am-benchmarks_1.3.bb | 33+++++++++++++++++++++++++++++++++
recipes/ti/am-
Quoted 4 lines
1 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 recipes/ti/am-benchmarks_1.3.bbrecipes/ti/am- renamed from recipes/ti/am-benchmarks_1.3.bb +0
-0benchmarks_1.3.bb
Quoted 9 lines
new file mode 100644
index 0000000..8ac9b74recipes/ti/am-benchmarks_1.3.bb new file +4
-0@@ -0,0 +1,33 @@ +#NOTE: This package is currently only supported for the Angstrom +# distribution. Other distributions and toolchains may or +# may not work. +recipes/ti/am-benchmarks_1.3.bb line 14
Quoted 10 lines
recipes/ti/am-benchmarks_1.3.bb new file +10
-0+DESCRIPTION = "AM Benchmarks" +HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/" +LICENSE = "BSD" +SECTION = "system" +PRIORITY = "optional" + +SRCREV = "66" +PR = "r2+svnr${SRCPV}" + +SRC_URI ="svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=a nonymous;pswd=''"
recipes/ti/am-benchmarks_1.3.bb
Quoted 5 lines
recipes/ti/am-benchmarks_1.3.bb new file +5
-0+ +S = "${WORKDIR}/trunk" + +do_configure() { + sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |'
Release/objects.mkQuoted 4 lines
recipes/ti/am-benchmarks_1.3.bb new file +4
-0+} + +do_compile() { + # don't build debug versionrecipes/ti/am-benchmarks_1.3.bb line 33
Quoted 10 lines
recipes/ti/am-benchmarks_1.3.bb new file +10
-0+ touch debug + export CROSS_COMPILE=${TARGET_PREFIX} + export ARCH=${BASE_PACKAGE_ARCH} + make release +} + +do_install() { + export ARCH=${BASE_PACKAGE_ARCH} + make DESTDIR=${D} install +}-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFODDlvMkyGM64RGpERAkG8AJ4nj8TWYoY89u9XJHPiw13adfgeGACgp69I UxVJuBlADDqibDEyEAUuBcE=
=yCEc
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel