am-benchmarks: add platform support and correct makefile
authorJeff Lance <jefflance01@gmail.com>
Wed, 5 Jan 2011 04:51:36 +0000 (04:51 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 5 Jan 2011 08:23:54 +0000 (09:23 +0100)
* 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@ti.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/ti/am-benchmarks_1.2.bb [new file with mode: 0644]

diff --git a/recipes/ti/am-benchmarks_1.2.bb b/recipes/ti/am-benchmarks_1.2.bb
new file mode 100644 (file)
index 0000000..88b38e7
--- /dev/null
@@ -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
+}