am-benchmarks: Remove platform dependencies
PATCH 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 65
* Update the recipe revision to 1.3
NOTE - architecure dependency and INSANE_SKIP can be removed once CFLAGS can be passed into CCSv5 project makefile
--- recipes/ti/am-benchmarks_1.3.bb | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 recipes/ti/am-benchmarks_1.3.bb
recipes/ti/am-benchmarks_1.3.bb new file +31 -0
@@ -0,0 +1,31 @@ +#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 = "65" +PR = "r2+svnr${SRCPV}" + +INSANE_SKIP_${PN} = "True" + +SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''" + +S = "${WORKDIR}/trunk" + +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
Koen Kooi
NAK-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 5 lines · Jeff Lance
* Remove platform dependencies and use architecture dependencies instead
* Use OEBASE_PACKAGE_ARCHto determine architecture
* Update the SRCREV to revision 65
* Update the recipe revision to 1.3
NOTE - architecure dependency andINSANE_SKIPcan be removed once CFLAGS can be passed into CCSv5 project makefile
NAK, patch the makefiles in OE to work with CFLAGS and LDFLAGS. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOCXsfMkyGM64RGpERAukZAJ9h255ZZXglaxGDa9NacD+P/VoDwACeMC8u VDbzOnP2HcuoztWijKjWjqI=
=nFoX
-----END PGP SIGNATURE-----
Koen,
We are using makefiles generated by CCSv5. CCSv5 auto generates its own build support files with CFLAGS embedded. We plan to pass in CFLAGS from Arago into our SDK environment setting. But it was decided not to resolve that issue until the next release. This patch fixes an issue where the Makefile was not at the top level.
Quoted 26 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 5 lines · Jeff Lance
* Remove platform dependencies and use architecture dependencies instead
* Use OEBASE_PACKAGE_ARCHto determine architecture
* Update the SRCREV to revision 65
* Update the recipe revision to 1.3
NOTE - architecure dependency andINSANE_SKIPcan be removed once CFLAGScan be passed into CCSv5 project makefile
NAK, patch the makefiles in OE to work with CFLAGS and LDFLAGS. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFOCXsfMkyGM64RGpERAukZAJ9h255ZZXglaxGDa9NacD+P/VoDwACeMC8u VDbzOnP2HcuoztWijKjWjqI=
=nFoX
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Jeff Lance
Koen,
We are using makefiles generated by CCSv5. CCSv5 auto generates its own build support files with CFLAGS embedded. We plan to pass in CFLAGS from Arago into our SDK environment setting. But it was decided not to resolve that issue until the next release. This patch fixes an issue where the
Makefilewas not at the top level.
Yes, and it can go in when the INSANE_SKIP is gone. I'm not asking you to fix CCSv5, I'm asking you to add a patch to this recipe to fix it. I suspect it's a one-liner, so no reason to keep hacks liek INSANE_SKIP when it can be easily solved in OE.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOCeFFMkyGM64RGpERAlVzAKCB66aIKG0Gifb34swUQ6xsBhd+4wCgt8J4 xDfilGFIvPiu0uweaEtDCKQ=
=b/t6
-----END PGP SIGNATURE-----
Quoted 9 lines · Koen Kooi
Quoted 7 lines · Jeff Lance
Koen,
We are using makefiles generated by CCSv5. CCSv5 auto generates its own build support files with CFLAGS embedded. We plan to pass in CFLAGS from Arago into our SDK environment setting. But it was decided not to resolve that issue until the next release. This patch fixes an issue where the
Makefilewas not at the top level.
Quoted 4 lines
Yes, and it can go in when the
INSANE_SKIPis gone. I'm not asking you to fix CCSv5, I'm asking you to add a patch to this recipe to fix it. I suspect it's a one-liner, so no reason to keep hacks liekINSANE_SKIPwhen it can be easily solved in OE.
In other words - add a sed magic to do_configure, like I did for matrix-tui long time ago...
Signature · 1 line
Denys
Thanks, I've submitted version 2 of this patch with the necessary updates
Quoted 29 lines · Denys Dmytriyenko
Quoted 4 lines · Koen Kooi
Quoted 3 lines · Jeff Lance
Koen,
We are using makefiles generated by CCSv5. CCSv5 auto generates its
own
Quoted 1 line
Quoted 1 line
build support files with CFLAGS embedded. We plan to pass in CFLAGS
from
Quoted 1 line
Quoted 1 line
Arago into our SDK environment setting. But it was decided not to
resolve
Quoted 7 lines
Quoted 2 lines
that issue until the next release. This patch fixes an issue where the
Makefilewas not at the top level.Yes, and it can go in when the
INSANE_SKIPis gone. I'm not asking you to fix CCSv5, I'm asking you to add a patch to this recipe to fix it. I suspect it's a one-liner, so no reason to keep hacks liekINSANE_SKIPwhen it can be easily solved in OE.In other words - add a sed magic to
do_configure, like I did for matrix-tui long time ago...--
Denys_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel