blob: 12337abaecfa4d60e2256dc16196289f67467dc2 [file] [log] [blame]
Simon Glass91fe8b72020-04-08 16:57:38 -06001# SPDX-License-Identifier: GPL-2.0+
2#
3
Simon Glass0992a902023-05-04 16:54:57 -06004ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
5
Simon Glass437992d2021-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 Glasscc1f8c32021-12-01 09:02:48 -070010obj-y += acpi_writer.o
Simon Glass94ba15a2021-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 Glass85b81612021-12-01 09:03:00 -070015obj-y += csrt.o
Moritz Fischer058fb9f2022-02-05 12:17:45 -080016obj-y += mcfg.o
Simon Glasseacb6d02021-12-01 09:02:52 -070017
18# Sandbox does not build a .asl file
19ifndef CONFIG_SANDBOX
20obj-y += dsdt.o
21endif
22
Simon Glassa53d38f2021-12-01 09:02:51 -070023obj-y += facs.o
Simon Glassd9531372021-12-01 09:02:56 -070024obj-y += ssdt.o
Simon Glass94ba15a2021-12-01 09:02:50 -070025endif
Simon Glass0992a902023-05-04 16:54:57 -060026
27endif # GENERATE_ACPI_TABLE