From patchwork Mon Jun 27 22:35:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] am-benchmarks: Remove platform dependencies Date: Mon, 27 Jun 2011 22:35:25 -0000 From: Jeff Lance X-Patchwork-Id: 6575 Message-Id: <1309214125-3523-1-git-send-email-j-lance1@ti.com> To: openembedded-devel@lists.openembedded.org Cc: Jeff Lance * 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 Signed-off-by: Jeff Lance --- 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 diff --git a/recipes/ti/am-benchmarks_1.3.bb b/recipes/ti/am-benchmarks_1.3.bb new file mode 100644 index 0000000..f4182b3 --- /dev/null +++ b/recipes/ti/am-benchmarks_1.3.bb @@ -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 +}