1*4882a593SmuzhiyunSUMMARY = "ACPICA tools for the development and debug of ACPI tables" 2*4882a593SmuzhiyunDESCRIPTION = "The ACPI Component Architecture (ACPICA) project provides an \ 3*4882a593SmuzhiyunOS-independent reference implementation of the Advanced Configuration and \ 4*4882a593SmuzhiyunPower Interface Specification (ACPI). ACPICA code contains those portions of \ 5*4882a593SmuzhiyunACPI meant to be directly integrated into the host OS as a kernel-resident \ 6*4882a593Smuzhiyunsubsystem, and a small set of tools to assist in developing and debugging \ 7*4882a593SmuzhiyunACPI tables." 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunHOMEPAGE = "http://www.acpica.org/" 10*4882a593SmuzhiyunSECTION = "console/tools" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunLICENSE = "Intel | BSD-3-Clause | GPL-2.0-only" 13*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=c33ce358fdcd142684e41e336b7992e8" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunCOMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunDEPENDS = "m4-native flex-native bison-native" 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunSRC_URI = "https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz" 20*4882a593SmuzhiyunSRC_URI[sha256sum] = "2511f85828820d747fa3e2c3433d3a38c22db3d9c2fd900e1a84eb4173cb5992" 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://acpica.org/downloads" 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunS = "${WORKDIR}/acpica-unix-${PV}" 25*4882a593Smuzhiyun 26*4882a593Smuzhiyuninherit update-alternatives 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunALTERNATIVE_PRIORITY = "100" 29*4882a593SmuzhiyunALTERNATIVE:${PN} = "acpixtract acpidump" 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunEXTRA_OEMAKE = "CC='${CC}' \ 32*4882a593Smuzhiyun OPT_CFLAGS=-Wall \ 33*4882a593Smuzhiyun DESTDIR=${D} \ 34*4882a593Smuzhiyun PREFIX=${prefix} \ 35*4882a593Smuzhiyun INSTALLDIR=${bindir} \ 36*4882a593Smuzhiyun INSTALLFLAGS= \ 37*4882a593Smuzhiyun YACC=bison \ 38*4882a593Smuzhiyun YFLAGS='-y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \ 39*4882a593Smuzhiyun " 40*4882a593Smuzhiyun 41*4882a593Smuzhiyundo_install() { 42*4882a593Smuzhiyun oe_runmake install 43*4882a593Smuzhiyun} 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun# iasl*.bb is a subset of this recipe, so RREPLACE it 46*4882a593SmuzhiyunPROVIDES = "iasl" 47*4882a593SmuzhiyunRPROVIDES:${PN} += "iasl" 48*4882a593SmuzhiyunRREPLACES:${PN} += "iasl" 49*4882a593SmuzhiyunRCONFLICTS:${PN} += "iasl" 50*4882a593Smuzhiyun 51*4882a593SmuzhiyunBBCLASSEXTEND = "native" 52