2016-07-03 12:45:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# acpica
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
package/acpica: bump to version 20230628
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] https://github.com/acpica/acpica/commit/3fd0f940408fc01a2c52c5be5f2beb0218a3d907
[2] https://github.com/acpica/acpica/commit/cd6a30897593f6052abf0b9a791671dcf07b9596
[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>
2023-07-25 23:36:09 +02:00
|
|
|
ACPICA_VERSION = 20230628
|
|
|
|
ACPICA_SOURCE = acpica-unix-$(ACPICA_VERSION).tar.gz
|
|
|
|
ACPICA_SITE = https://downloadmirror.intel.com/783534
|
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) \
|
2023-08-06 01:04:10 +02:00
|
|
|
ACPI_HOST=_LINUX CC="$(TARGET_CC)" \
|
package/acpica: bump to version 20230628
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] https://github.com/acpica/acpica/commit/3fd0f940408fc01a2c52c5be5f2beb0218a3d907
[2] https://github.com/acpica/acpica/commit/cd6a30897593f6052abf0b9a791671dcf07b9596
[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>
2023-07-25 23:36:09 +02:00
|
|
|
NOWERROR=TRUE \
|
2016-07-03 12:45:35 +02:00
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
2017-05-24 22:30:29 +02:00
|
|
|
define HOST_ACPICA_BUILD_CMDS
|
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
package/acpica: bump to version 20230628
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] https://github.com/acpica/acpica/commit/3fd0f940408fc01a2c52c5be5f2beb0218a3d907
[2] https://github.com/acpica/acpica/commit/cd6a30897593f6052abf0b9a791671dcf07b9596
[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>
2023-07-25 23:36:09 +02:00
|
|
|
NOWERROR=TRUE \
|
2017-05-24 22:30:29 +02:00
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
2016-07-03 12:45:35 +02:00
|
|
|
define ACPICA_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
2023-08-06 01:04:09 +02:00
|
|
|
DESTDIR="$(TARGET_DIR)" \
|
2016-07-03 12:45:35 +02:00
|
|
|
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))
|