Initial Commit
- initial default booting image
This commit is contained in:
14
package/acpica/Config.in
Normal file
14
package/acpica/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_ACPICA
|
||||
bool "acpica"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
The ACPI Component Architecture (ACPICA) project provides an
|
||||
operating system (OS)-independent reference implementation
|
||||
of the Advanced Configuration and Power Interface
|
||||
Specification (ACPI).
|
||||
|
||||
https://www.acpica.org
|
||||
|
||||
comment "acpica needs a toolchain w/ threads, wchar"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/acpica/acpica.hash
Normal file
3
package/acpica/acpica.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# locally computed hash
|
||||
sha256 486423245f8154dd0bb5ada9ae057d670210dcbbc4386e62aeccdf5bfdad5f19 acpica-unix-20251212.tar.gz
|
||||
sha256 dbfa87ff77586ffd8da1185981a9695e80db09b114b3b00c194a9bcc2292a95e source/include/acpi.h
|
||||
41
package/acpica/acpica.mk
Normal file
41
package/acpica/acpica.mk
Normal file
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# acpica
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACPICA_VERSION = 20251212
|
||||
ACPICA_SOURCE = acpica-unix-$(ACPICA_VERSION).tar.gz
|
||||
ACPICA_SITE = https://github.com/acpica/acpica/releases/download/$(ACPICA_VERSION)
|
||||
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) \
|
||||
ACPI_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) \
|
||||
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))
|
||||
Reference in New Issue
Block a user