[oe] [PATCH v2 1/1] am-benchmarks: add platform support and correct makefile

Jeff Lance jefflance01 at gmail.com
Tue Jan 4 20:51:36 UTC 2011


  * Modify recipe name to include package version
  * add support for additional platforms am181x-evm and am180x-evm
  * Update the SRCREV
    * Fix pathname to Rules.make in each Makefile

Signed-off-by: Jeff Lance <j-lance1 at ti.com>
---
Updated in version 2:
  * Removed PV since it is now in the filename
  * Removed ARCHITECTURE override for am180x and am181x since they are already covered under the SOC famile omapl138
---
 recipes/ti/am-benchmarks_1.2.bb |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/am-benchmarks_1.2.bb

diff --git a/recipes/ti/am-benchmarks_1.2.bb b/recipes/ti/am-benchmarks_1.2.bb
new file mode 100644
index 0000000..88b38e7
--- /dev/null
+++ b/recipes/ti/am-benchmarks_1.2.bb
@@ -0,0 +1,36 @@
+#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 = "58"
+PR = "r2+svnr${SRCPV}"
+
+COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
+
+ARCHITECTURE_dm365 = "arm9"
+ARCHITECTURE_omapl138 = "arm9"
+ARCHITECTURE_omap3 = "cortex-a8"
+ARCHITECTURE_ti816x = "cortex-a8"
+
+INSANE_SKIP_${PN} = "True"
+
+SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+S = "${WORKDIR}/trunk/${ARCHITECTURE}"
+
+do_compile() {
+	# don't build debug version
+	touch debug
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	make release
+}
+
+do_install() {
+	make DESTDIR=${D} install
+}
-- 
1.6.3.3





More information about the Openembedded-devel mailing list