Skip to contentSkip to conversation

am-benchmarks: add platform support and correct makefile

PATCH New Jeff Lance 1 participant 1 message Jan 4, 2011

lore
Share & tools
lore

Jeff Lance

author
#0 lore raw

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

* 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

---
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
recipes/ti/am-benchmarks_1.2.bb new file +36 -0
new file mode 100644
index 0000000..88b38e7
@@ -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
+}
Signature · 1 line
1.6.3.3