0403bdd929
For change log since 20220331, see: - https://github.com/acpica/acpica/blob/R06_28_23/documents/changes.txt This commit also drop the patch removing -Werror in CFLAGS, as an alternative is now available upstream, merged in [1]. This commit is included in release 20221020. The build commands are updated accordingly to set the new NOWERROR=TRUE option to achieve the same behavior. With the patch removal, .checkpackageignore is also updated accordingly. Upstream commit [2] also introduced a use of wcslen() and <wchar.h>. This commit was first included in tag R10_20_22 (version 20221020). Therefore, this new version need wchar. The new depedency is added. The _SOURCE file is also changed from acpica-unix2 to acpica-unix, as the current acpica download page at [3] shows: """ Note: The unix2 source package is deprecated since the dual license is now included in all source modules (along with the Intel license). This package will be removed from future ACPICA releases. """ The _SITE url is also updated to the new download link, since the acpica website now redirects to Intel: curl -si https://www.acpica.org | grep Location: Location: https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html The license file hash is also updated, due to the copyright year update. It is also worth mentioning that the files in the new archive have three alternative licenses in their headers: Intel, BSD-3-Clause and GPL-2.0. Finally, since a SHA1 hash is published on the download page, it is added to the hash file. This version bump is motivated by the introduction of RISC-V related definitions. [1]3fd0f94040
[2]cd6a308975
[3] https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/download.html Cc: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# acpica
|
|
#
|
|
################################################################################
|
|
|
|
ACPICA_VERSION = 20230628
|
|
ACPICA_SOURCE = acpica-unix-$(ACPICA_VERSION).tar.gz
|
|
ACPICA_SITE = https://downloadmirror.intel.com/783534
|
|
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)" \
|
|
NOWERROR=TRUE \
|
|
all
|
|
endef
|
|
|
|
define HOST_ACPICA_BUILD_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
NOWERROR=TRUE \
|
|
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))
|