mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
recipes/src/base-hw-muen: add static ACPI ROM
As we don't execute the acpi_drv on Muen, we have to supply a static 'acpi' info as boot module. This is normally done by the base/run/platform.inc include. However, when using base-hw-muen kernel from a depot archive - as done by modern run scripts like depot_download.run - the platform.inc magic is not applied. This patch enhances the src archive of base-hw-muen with a mechanism that creates a pre-defined acpi info at the bin directory via an artificial src/acpi/target.mk file. This way, the static acpi ROM ends up as boot module when importing the base-hw-muen archive into a run script.
This commit is contained in:
7
repos/base-hw/recipes/src/base-hw-muen/acpi_target_mk
Normal file
7
repos/base-hw/recipes/src/base-hw-muen/acpi_target_mk
Normal file
@@ -0,0 +1,7 @@
|
||||
ifneq ($(INSTALL_DIR),)
|
||||
all: $(INSTALL_DIR)/acpi
|
||||
endif
|
||||
|
||||
$(INSTALL_DIR)/acpi:
|
||||
echo "<acpi><bdf start=\"0\" count=\"16384\" base=\"0xf8000000\"/><drhd/></acpi>" > $@
|
||||
|
||||
@@ -3,3 +3,9 @@ include $(GENODE_DIR)/repos/base-hw/recipes/src/base-hw_content.inc
|
||||
content: enable_board_spec
|
||||
enable_board_spec: etc/specs.conf
|
||||
echo "SPECS += muen" >> etc/specs.conf
|
||||
|
||||
content: src/acpi/target.mk
|
||||
src/acpi/target.mk:
|
||||
mkdir $(dir $@)
|
||||
cp $(REP_DIR)/recipes/src/base-hw-muen/acpi_target_mk $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user