24e9ef8247
- Update the hash file to the new 2 spaces convention - Update the hash of the license file due to license date change - * Copyright (C) 2000 - 2019, Intel Corp. + * Copyright (C) 2000 - 2020, Intel Corp. Fixes: http://autobuild.buildroot.net/results/fe58e834bb67a9aab640e1d913588b47eaf7e4f5/ Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# acpica
|
|
#
|
|
################################################################################
|
|
|
|
ACPICA_VERSION = 20200528
|
|
ACPICA_SOURCE = acpica-unix2-$(ACPICA_VERSION).tar.gz
|
|
ACPICA_SITE = https://acpica.org/sites/acpica/files
|
|
ACPICA_LICENSE = BSD-3-Clause or GPL-2.0
|
|
ACPICA_LICENSE_FILES = source/include/acpi.h
|
|
ACPICA_DEPENDENCIES = host-bison host-flex
|
|
HOST_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 HOST_ACPICA_BUILD_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
all
|
|
endef
|
|
|
|
define ACPICA_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
HARDWARE_NAME=$(BR2_ARCH) DESTDIR="$(TARGET_DIR)" \
|
|
INSTALLFLAGS=-m755 install
|
|
endef
|
|
|
|
define HOST_ACPICA_INSTALL_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
PREFIX="$(HOST_DIR)" \
|
|
INSTALLFLAGS=-m755 install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
$(eval $(host-generic-package))
|