2016-07-03 12:45:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# acpica
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-02 23:40:16 +01:00
|
|
|
ACPICA_VERSION = 20161117
|
2016-07-03 12:45:35 +02:00
|
|
|
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))
|