acpica_20250807.bb 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. SUMMARY = "ACPICA tools for the development and debug of ACPI tables"
  2. DESCRIPTION = "The ACPI Component Architecture (ACPICA) project provides an \
  3. OS-independent reference implementation of the Advanced Configuration and \
  4. Power Interface Specification (ACPI). ACPICA code contains those portions of \
  5. ACPI meant to be directly integrated into the host OS as a kernel-resident \
  6. subsystem, and a small set of tools to assist in developing and debugging \
  7. ACPI tables."
  8. HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html"
  9. SECTION = "console/tools"
  10. LICENSE = "Intel | BSD-3-Clause | GPL-2.0-only"
  11. LIC_FILES_CHKSUM = "file://source/compiler/aslcompile.c;beginline=7;endline=150;md5=8566a414d226d05b68e41f30698f9624"
  12. COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
  13. DEPENDS = "m4-native flex-native bison-native"
  14. SRC_URI = "git://github.com/acpica/acpica;protocol=https;branch=master;tag=${PV}"
  15. SRCREV = "aa98db3bd149fc1f8d2a3017cb05b6b1982c3296"
  16. inherit update-alternatives
  17. ALTERNATIVE_PRIORITY = "100"
  18. ALTERNATIVE:${PN} = "acpixtract acpidump"
  19. EXTRA_OEMAKE = "CC='${CC}' \
  20. OPT_CFLAGS=-Wall \
  21. DESTDIR=${D} \
  22. PREFIX=${prefix} \
  23. INSTALLDIR=${bindir} \
  24. INSTALLFLAGS= \
  25. YACC=bison \
  26. YFLAGS='-y --file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}' \
  27. "
  28. do_install() {
  29. oe_runmake install
  30. }
  31. # iasl*.bb is a subset of this recipe, so RREPLACE it
  32. PROVIDES = "iasl"
  33. RPROVIDES:${PN} += "iasl"
  34. RREPLACES:${PN} += "iasl"
  35. RCONFLICTS:${PN} += "iasl"
  36. BBCLASSEXTEND = "native nativesdk"