Commit Graph

21 Commits

Author SHA1 Message Date
Rosen Penev 4e5f5a09c5 acpica-unix: update to 20240321
Remove PKG_CAT. No need for it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-08 01:31:20 -07:00
Florian Eckert 80bdd776ca acpica-unix: add host build
In order to build additional acpi tables during the build process, this
package needs to be build for the host.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-10-20 15:30:55 +02:00
Philip Prindeville 9c57448314 acpica-unix: Update to 20230628
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-07-02 21:14:56 -06:00
Philip Prindeville 934d3538f7 acpica-unix: Update to 20230331
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-04-07 13:30:40 -06:00
Florian Eckert 106330213f acpica-unix: backport pending patches to fix gcc12 build issue
Due to the compiler change of openwrt, from gcc version 11 to gcc
version 12, we have now the following build errors.

../../../source/components/utilities/utdebug.c: In function
'AcpiUtInitStackPtrTrace':
../../../source/components/utilities/utdebug.c:188:31: error: storing
the address of local variable 'CurrentSp' in 'AcpiGbl_EntryStackPointer'
[-Werror=dangling-pointer=]
  188 |     AcpiGbl_EntryStackPointer = &CurrentSp;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../../../source/components/utilities/utdebug.c:185:29: note: 'CurrentSp'
declared here
  185 |     ACPI_SIZE               CurrentSp;
      |                             ^~~~~~~~~
In file included from ../../../source/include/acpi.h:173,
                 from
../../../source/components/utilities/utdebug.c:154:
../../../source/include/acglobal.h:335:41: note:
'AcpiGbl_EntryStackPointer' declared here
  335 | ACPI_GLOBAL (ACPI_SIZE *,
      AcpiGbl_EntryStackPointer);
      |
^~~~~~~~~~~~~~~~~~~~~~~~~
../../../source/include/acpixf.h:188:17: note: in definition of macro
'ACPI_GLOBAL'
  188 |     extern type name
      |                 ^~~~
cc1: all warnings being treated as errors
make[4]: *** [../Makefile.rules:20: obj/utdebug.o] Error 1

This is already issue opend in the the upstream project acpica.
https://github.com/acpica/acpica/issues/771

There is already a fix available, but it has not yet been merged.
https://github.com/acpica/acpica/pull/776

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-01-10 10:11:56 +01:00
Florian Eckert c93c9d5de3 acpica-unix: remove autorelease
While we're at it, let's also remove the deprecated feature autorelease.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-01-09 15:03:44 +01:00
Florian Eckert 6e71bd7a83 acpica-unix: update to 20221020
The latest upstream version has an incorrect file name (tar_0.gz).
Therefore, there is an error when unpacking the acrhive, as this is not
recognised correctly. To fix this, PKG_CAT is set.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-01-09 15:03:40 +01:00
Philip Prindeville 471ef4e398 acpica-unix: Update to 20211217
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-01-01 10:13:56 -08:00
Florian Eckert a075c2bc43 acpica-unix: add additional acpi programms
This change adds the missing acpi programms for on target acpi development.

* acpibin
* acpiexamples
* acpiexec
* acpihelp
* acpisrc
* acpixtract
* iasl

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-10-08 09:46:07 -07:00
Stijn Tintel 41bb417a0f acpica: bump to 20210730
Fixes compilation with GCC 10.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-14 21:31:41 +03:00
Jeffery To 53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Philip Prindeville 6d7832e10a acpica-unix: update to 20181213
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-12-20 16:35:30 -07:00
Philip Prindeville 2a12677e8c acpica-unix: update to 20180929
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-09-30 13:55:50 -06:00
Rosen Penev 72e4953c63
acpica-unix: Update to 20180629
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-26 13:09:34 -07:00
Philip Prindeville 684ae7f096 acpica-unix: update to 20180427
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-04-30 08:54:49 -06:00
Philip Prindeville 6a3997e763 acpica-unix: update to 20171215
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-17 11:26:41 -07:00
Philip Prindeville 96e609ea31 acpica-unix: update to 20170929
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-05 03:06:04 -06:00
Philip Prindeville addf2ff6c2 acpica-unix: update to 20170831
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-09-05 19:56:52 -06:00
Philip Prindeville 63996b19c6 acpica-unix: update to 20170728
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-31 14:21:23 -06:00
Philip Prindeville aa56086be1 acpica-unix: version bump and add parallel build
Also fix source URL.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-02 12:40:16 -06:00
Philip Prindeville 1915b79ed8 acpica: initial commit
Add the UNIX-based ACPI utilities.  For now, only "acpidump" seems to
be useful on the target system.  The others would only be of interest
on the host system, and only then if one were developing BIOS.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-06-24 08:49:40 +08:00