aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-08-04 17:55:37 +0200
committerKoen Kooi <koen@openembedded.org>2010-08-04 17:55:37 +0200
commit7bc322831d1ed3487d36dee4687b7fa3b5cc81e4 (patch)
tree400d9bd87078c40744a2214b308a00e9231f80bc
parentf8e7634c9631b8849a160a2db4a2876b19aa7c69 (diff)
downloadopenembedded-7bc322831d1ed3487d36dee4687b7fa3b5cc81e4.zip
openembedded-7bc322831d1ed3487d36dee4687b7fa3b5cc81e4.tar.gz
openembedded-7bc322831d1ed3487d36dee4687b7fa3b5cc81e4.tar.bz2
cpuburn-neon: add NEON burn app
-rw-r--r--recipes/cpuburn/cpuburn-neon.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/cpuburn/cpuburn-neon.bb b/recipes/cpuburn/cpuburn-neon.bb
new file mode 100644
index 0000000..377cd46
--- /dev/null
+++ b/recipes/cpuburn/cpuburn-neon.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "CPU burn app that loads the NEON coprocessor fully"
+LICENSE = "MIT"
+
+SRC_URI = "http://hardwarebug.org/files/burn.S"
+
+S = "${WORKDIR}"
+
+do_compile() {
+ ${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/burn ${D}${bindir}/burn-neon
+}
+
+SRC_URI[md5sum] = "823abc72c2cd448e87df9bc5355a4456"
+SRC_URI[sha256sum] = "01d9fc04f83740c513c25401dcc89c11b2a5a6013e70bfca42b7b02129f88cd2"
+