diff options
Diffstat (limited to 'meta-oe/recipes-extended/acpica/acpitests_20140424.bb')
-rw-r--r-- | meta-oe/recipes-extended/acpica/acpitests_20140424.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/acpica/acpitests_20140424.bb b/meta-oe/recipes-extended/acpica/acpitests_20140424.bb new file mode 100644 index 000000000..7e145bb2a --- /dev/null +++ b/meta-oe/recipes-extended/acpica/acpitests_20140424.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Test suite used to validate ACPICA" | ||
2 | HOMEPAGE = "http://www.acpica.org/" | ||
3 | |||
4 | LICENSE = "Intel" | ||
5 | LIC_FILES_CHKSUM = "file://tests/aapits/atexec.c;beginline=1;endline=115;md5=e92bcdfcd01d117d1bda3e814bb2030a" | ||
6 | |||
7 | DEPENDS = "bison flex" | ||
8 | |||
9 | SRC_URI = "https://acpica.org/sites/acpica/files/acpitests-unix-${PV}.tar.gz;name=acpitests \ | ||
10 | https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz;name=acpica \ | ||
11 | file://aapits-linux.patch \ | ||
12 | file://aapits-makefile.patch \ | ||
13 | " | ||
14 | SRC_URI[acpitests.md5sum] = "bfc399cecb21e9491d362d8e480b2689" | ||
15 | SRC_URI[acpitests.sha256sum] = "e7d7ff638872543909b38c2498e88958251ee6ce4d22bc13d4e3925771212c0e" | ||
16 | SRC_URI[acpica.md5sum] = "733532f005fba5d1c5344440651b13d1" | ||
17 | SRC_URI[acpica.sha256sum] = "72ece982bbbdfb1b17418f1feb3a9daaa01803d0d41dcf00e19d702cdf751bbc" | ||
18 | |||
19 | S = "${WORKDIR}/acpitests-unix-${PV}" | ||
20 | |||
21 | EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc 'OPT_CFLAGS=-Wall'" | ||
22 | |||
23 | # The Makefiles expect a specific layout | ||
24 | do_compile() { | ||
25 | cp -af ${WORKDIR}/acpica-unix2-${PV}/source ${S} | ||
26 | cd tests/aapits | ||
27 | oe_runmake | ||
28 | } | ||
29 | |||
30 | do_install() { | ||
31 | install -d ${D}${bindir} | ||
32 | install -m0755 tests/aapits/bin/aapits ${D}${bindir} | ||
33 | } | ||
34 | |||
35 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | ||