source "package/zd1211-firmware/Config.in"
endmenu
source "package/a10disp/Config.in"
+ source "package/acpica/Config.in"
source "package/acpid/Config.in"
source "package/acpitool/Config.in"
source "package/aer-inject/Config.in"
--- /dev/null
+config BR2_PACKAGE_ACPICA
+ bool "acpica"
+ help
+ The ACPI Component Architecture (ACPICA) project provides an
+ operating system (OS)-independent reference implementation
+ of the Advanced Configuration and Power Interface
+ Specification (ACPI).
+
+ https://www.acpica.org
--- /dev/null
+################################################################################
+#
+# acpica
+#
+################################################################################
+
+ACPICA_VERSION = 20160527
+ACPICA_SOURCE = acpica-unix2-$(ACPICA_VERSION).tar.gz
+ACPICA_SITE = https://acpica.org/sites/acpica/files
+ACPICA_LICENSE = BSD-3c or GPLv2
+ACPICA_LICENSE_FILES = source/include/acpi.h
+ACPICA_DEPENDENCIES = host-bison host-flex
+
+define ACPICA_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
+ HARDWARE_NAME=$(BR2_ARCH) HOST=_LINUX CC="$(TARGET_CC)" \
+ all
+endef
+
+define ACPICA_INSTALL_TARGET_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
+ HARDWARE_NAME=$(BR2_ARCH) DESTDIR="$(TARGET_DIR)" \
+ INSTALLFLAGS=-m755 install
+endef
+
+$(eval $(generic-package))