2020-04-08 22:57:38 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
|
2023-05-04 22:54:58 +00:00
|
|
|
obj-y += acpi.o
|
|
|
|
|
2023-05-04 22:54:57 +00:00
|
|
|
ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
|
|
|
|
|
2021-12-01 16:02:43 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o
|
|
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_device.o
|
|
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_dp.o
|
|
|
|
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o
|
2021-12-01 16:02:48 +00:00
|
|
|
obj-y += acpi_writer.o
|
2021-12-01 16:02:50 +00:00
|
|
|
|
|
|
|
# With QEMU the ACPI tables come from there, not from U-Boot
|
2023-12-19 15:04:00 +00:00
|
|
|
ifndef CONFIG_QFW_ACPI
|
2021-12-01 16:02:50 +00:00
|
|
|
obj-y += base.o
|
2021-12-01 16:03:00 +00:00
|
|
|
obj-y += csrt.o
|
2022-02-05 20:17:45 +00:00
|
|
|
obj-y += mcfg.o
|
2021-12-01 16:02:52 +00:00
|
|
|
|
|
|
|
# Sandbox does not build a .asl file
|
|
|
|
ifndef CONFIG_SANDBOX
|
|
|
|
obj-y += dsdt.o
|
|
|
|
endif
|
|
|
|
|
2021-12-01 16:02:51 +00:00
|
|
|
obj-y += facs.o
|
2021-12-01 16:02:56 +00:00
|
|
|
obj-y += ssdt.o
|
2021-12-01 16:02:50 +00:00
|
|
|
endif
|
2023-05-04 22:54:57 +00:00
|
|
|
|
|
|
|
endif # GENERATE_ACPI_TABLE
|