cpuburn-neon: add NEON burn app
authorKoen Kooi <koen@openembedded.org>
Wed, 4 Aug 2010 15:55:37 +0000 (17:55 +0200)
committerKoen Kooi <koen@openembedded.org>
Wed, 4 Aug 2010 15:55:37 +0000 (17:55 +0200)
recipes/cpuburn/cpuburn-neon.bb [new file with mode: 0644]

diff --git a/recipes/cpuburn/cpuburn-neon.bb b/recipes/cpuburn/cpuburn-neon.bb
new file mode 100644 (file)
index 0000000..377cd46
--- /dev/null
@@ -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"
+