All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe] cpuburn-neon: add cpuburn app for neon and neon-cortexa8
@ 2012-04-11 19:09 Koen Kooi
  0 siblings, 0 replies; only message in thread
From: Koen Kooi @ 2012-04-11 19:09 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb |   31 +++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb

diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb b/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb
new file mode 100644
index 0000000..bb9ca1c
--- /dev/null
+++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "CPU burn app that loads the NEON coprocessor fully"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://burn.S;md5=823abc72c2cd448e87df9bc5355a4456"
+
+PR = "r1"
+
+# only for ARM systems infact it should check for MACHINE_FEATURE
+# neon or something. For now we spare non arm arches from picking this up
+
+COMPATIBLE_HOST = "arm.*"
+
+SRC_URI = "http://hardwarebug.org/files/burn.S;name=mru \
+           http://github.com/downloads/ssvb/ssvb.github.com/ssvb-cpuburn-a8.S;name=ssvb"
+SRC_URI[mru.md5sum] = "823abc72c2cd448e87df9bc5355a4456"
+SRC_URI[mru.sha256sum] = "01d9fc04f83740c513c25401dcc89c11b2a5a6013e70bfca42b7b02129f88cd2"
+SRC_URI[ssvb.md5sum] = "f1af41dcd56e4f0f7e92b67109dc01ed"
+SRC_URI[ssvb.sha256sum] = "95e2267a684be0d848dd6f935e769fa3ed810274ebacddc3fe8ddac4b34838c2"
+
+S = "${WORKDIR}"
+
+do_compile() {
+	${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn
+	${CC} ${CFLAGS} ${LDFLAGS} ssvb-cpuburn-a8.S -o burn-neona8
+}
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 0755 ${S}/burn ${D}${bindir}/burn-neon
+	install -m 0755 ${S}/burn-neona8 ${D}${bindir}/
+}
+
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-11 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 19:09 [meta-oe] cpuburn-neon: add cpuburn app for neon and neon-cortexa8 Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.