2016-07-03 12:45:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# acpica
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-06-02 13:11:33 +02:00
|
|
|
ACPICA_VERSION = 20170531
|
2016-07-03 12:45:35 +02:00
|
|
|
ACPICA_SOURCE = acpica-unix2-$(ACPICA_VERSION).tar.gz
|
|
|
|
ACPICA_SITE = https://acpica.org/sites/acpica/files
|
2017-03-30 15:43:38 +02:00
|
|
|
ACPICA_LICENSE = BSD-3-Clause or GPL-2.0
|
2016-07-03 12:45:35 +02:00
|
|
|
ACPICA_LICENSE_FILES = source/include/acpi.h
|
|
|
|
ACPICA_DEPENDENCIES = host-bison host-flex
|
2018-12-28 14:55:02 +01:00
|
|
|
HOST_ACPICA_DEPENDENCIES = host-bison host-flex
|
2016-07-03 12:45:35 +02:00
|
|
|
|
|
|
|
define ACPICA_BUILD_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
HARDWARE_NAME=$(BR2_ARCH) HOST=_LINUX CC="$(TARGET_CC)" \
|
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
2017-05-24 22:30:29 +02:00
|
|
|
define HOST_ACPICA_BUILD_CMDS
|
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
2016-07-03 12:45:35 +02:00
|
|
|
define ACPICA_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
HARDWARE_NAME=$(BR2_ARCH) DESTDIR="$(TARGET_DIR)" \
|
|
|
|
INSTALLFLAGS=-m755 install
|
|
|
|
endef
|
|
|
|
|
2017-05-24 22:30:29 +02:00
|
|
|
define HOST_ACPICA_INSTALL_CMDS
|
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
2017-07-05 13:14:18 +02:00
|
|
|
PREFIX="$(HOST_DIR)" \
|
2017-05-24 22:30:29 +02:00
|
|
|
INSTALLFLAGS=-m755 install
|
|
|
|
endef
|
|
|
|
|
2016-07-03 12:45:35 +02:00
|
|
|
$(eval $(generic-package))
|
2017-05-24 22:30:29 +02:00
|
|
|
$(eval $(host-generic-package))
|