diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-06-11 15:34:58 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-18 09:23:04 +0200 |
commit | a17cda6e85f990bd3569df731ec0f223b185ec6b (patch) | |
tree | f8f394ccd818a8b82eafcd0ed7501d7928bd5ee0 /meta-oe/recipes-benchmark/cpuburn | |
parent | dbb3624147e4cd1fda79e64cbe5333d570a3e500 (diff) | |
download | meta-openembedded-a17cda6e85f990bd3569df731ec0f223b185ec6b.tar.gz |
cpuburn-neon: fix packaging to use a date as version and valid sources
* The package were not versioning the sources as the files had no
version on its name. We workaround it mangling the DL_DIR;
* We now dynamically check if the machine has or not neon feature and
set COMPATIBLE_MACHINE.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-benchmark/cpuburn')
-rw-r--r-- | meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb (renamed from meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb) | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb b/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb index bb9ca1c85..5bc3129df 100644 --- a/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon.bb +++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20120610.bb | |||
@@ -2,19 +2,17 @@ DESCRIPTION = "CPU burn app that loads the NEON coprocessor fully" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://burn.S;md5=823abc72c2cd448e87df9bc5355a4456" | 3 | LIC_FILES_CHKSUM = "file://burn.S;md5=823abc72c2cd448e87df9bc5355a4456" |
4 | 4 | ||
5 | PR = "r1" | 5 | DL_DIR_append = "/${PN}-${PV}" |
6 | 6 | ||
7 | # only for ARM systems infact it should check for MACHINE_FEATURE | 7 | # Ensure to make this available for machine which has neon |
8 | # neon or something. For now we spare non arm arches from picking this up | 8 | COMPATIBLE_MACHINE = "(${@bb.utils.contains("TUNE_FEATURES", "neon", "${MACHINE}", "Invalid!", d)})" |
9 | |||
10 | COMPATIBLE_HOST = "arm.*" | ||
11 | 9 | ||
12 | SRC_URI = "http://hardwarebug.org/files/burn.S;name=mru \ | 10 | SRC_URI = "http://hardwarebug.org/files/burn.S;name=mru \ |
13 | http://github.com/downloads/ssvb/ssvb.github.com/ssvb-cpuburn-a8.S;name=ssvb" | 11 | http://github.com/downloads/ssvb/ssvb.github.com/ssvb-cpuburn-a8.S;name=ssvb" |
14 | SRC_URI[mru.md5sum] = "823abc72c2cd448e87df9bc5355a4456" | 12 | SRC_URI[mru.md5sum] = "823abc72c2cd448e87df9bc5355a4456" |
15 | SRC_URI[mru.sha256sum] = "01d9fc04f83740c513c25401dcc89c11b2a5a6013e70bfca42b7b02129f88cd2" | 13 | SRC_URI[mru.sha256sum] = "01d9fc04f83740c513c25401dcc89c11b2a5a6013e70bfca42b7b02129f88cd2" |
16 | SRC_URI[ssvb.md5sum] = "f1af41dcd56e4f0f7e92b67109dc01ed" | 14 | SRC_URI[ssvb.md5sum] = "0acc570d943c41c7f8602b9ff6fa111d" |
17 | SRC_URI[ssvb.sha256sum] = "95e2267a684be0d848dd6f935e769fa3ed810274ebacddc3fe8ddac4b34838c2" | 15 | SRC_URI[ssvb.sha256sum] = "bfddd3226a499ffdf71bb58c05ccdc6dac5bb2c2c3bdb10ac610ee0b60aac087" |
18 | 16 | ||
19 | S = "${WORKDIR}" | 17 | S = "${WORKDIR}" |
20 | 18 | ||