Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 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] = "db9d6fdaa8e3eb101d700ee5ba4938ed" |
| 15 | SRC_URI[acpitests.sha256sum] = "e576c74bf1bf1c9f7348bf9419e05c8acfece7105abcdc052e66670c7af2cf00" |
| 16 | SRC_URI[acpica.md5sum] = "6f05f0d10166a1b1ff6107f3d1cdf1e5" |
| 17 | SRC_URI[acpica.sha256sum] = "01d8867656c5ba41dec307c4383ce676196ad4281ac2c9dec9f5be5fac6d888e" |
| 18 | |
| 19 | S = "${WORKDIR}/acpitests-unix-${PV}" |
| 20 | |
| 21 | EXTRA_OEMAKE = "'CC=${TARGET_PREFIX}gcc ${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS}' '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" |