diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb')
-rw-r--r-- | meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb b/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb new file mode 100644 index 000000000..5bc3129df --- /dev/null +++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "CPU burn app that loads the NEON coprocessor fully" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://burn.S;md5=823abc72c2cd448e87df9bc5355a4456" | ||
4 | |||
5 | DL_DIR_append = "/${PN}-${PV}" | ||
6 | |||
7 | # Ensure to make this available for machine which has neon | ||
8 | COMPATIBLE_MACHINE = "(${@bb.utils.contains("TUNE_FEATURES", "neon", "${MACHINE}", "Invalid!", d)})" | ||
9 | |||
10 | SRC_URI = "http://hardwarebug.org/files/burn.S;name=mru \ | ||
11 | http://github.com/downloads/ssvb/ssvb.github.com/ssvb-cpuburn-a8.S;name=ssvb" | ||
12 | SRC_URI[mru.md5sum] = "823abc72c2cd448e87df9bc5355a4456" | ||
13 | SRC_URI[mru.sha256sum] = "01d9fc04f83740c513c25401dcc89c11b2a5a6013e70bfca42b7b02129f88cd2" | ||
14 | SRC_URI[ssvb.md5sum] = "0acc570d943c41c7f8602b9ff6fa111d" | ||
15 | SRC_URI[ssvb.sha256sum] = "bfddd3226a499ffdf71bb58c05ccdc6dac5bb2c2c3bdb10ac610ee0b60aac087" | ||
16 | |||
17 | S = "${WORKDIR}" | ||
18 | |||
19 | do_compile() { | ||
20 | ${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn | ||
21 | ${CC} ${CFLAGS} ${LDFLAGS} ssvb-cpuburn-a8.S -o burn-neona8 | ||
22 | } | ||
23 | |||
24 | do_install() { | ||
25 | install -d ${D}${bindir} | ||
26 | install -m 0755 ${S}/burn ${D}${bindir}/burn-neon | ||
27 | install -m 0755 ${S}/burn-neona8 ${D}${bindir}/ | ||
28 | } | ||
29 | |||