blob: 12337abaecfa4d60e2256dc16196289f67467dc2 [file] [log] [blame]
Simon Glassb2672ea2020-04-08 16:57:38 -06001# SPDX-License-Identifier: GPL-2.0+
2#
3
Simon Glasse264be42023-05-04 16:54:57 -06004ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
5
Simon Glass29e64b52021-12-01 09:02:43 -07006obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o
7obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_device.o
8obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_dp.o
9obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o
Simon Glass37acc662021-12-01 09:02:48 -070010obj-y += acpi_writer.o
Simon Glasse9f6e6a2021-12-01 09:02:50 -070011
12# With QEMU the ACPI tables come from there, not from U-Boot
13ifndef CONFIG_QEMU
14obj-y += base.o
Simon Glass6e6bc9b2021-12-01 09:03:00 -070015obj-y += csrt.o
Moritz Fischerc6561722022-02-05 12:17:45 -080016obj-y += mcfg.o
Simon Glass83c3cb52021-12-01 09:02:52 -070017
18# Sandbox does not build a .asl file
19ifndef CONFIG_SANDBOX
20obj-y += dsdt.o
21endif
22
Simon Glassf53f57d2021-12-01 09:02:51 -070023obj-y += facs.o
Simon Glass68000952021-12-01 09:02:56 -070024obj-y += ssdt.o
Simon Glasse9f6e6a2021-12-01 09:02:50 -070025endif
Simon Glasse264be42023-05-04 16:54:57 -060026
27endif # GENERATE_ACPI_TABLE