1# SPDX-License-Identifier: GPL-2.0+
2#
3
4obj-y += acpi.o
5
6ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
7
8obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o
9obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_device.o
10obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_dp.o
11obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o
12obj-y += acpi_writer.o
13
14# With QEMU the ACPI tables come from there, not from U-Boot
15ifndef CONFIG_QEMU
16obj-y += base.o
17obj-y += csrt.o
18obj-y += mcfg.o
19
20# Sandbox does not build a .asl file
21ifndef CONFIG_SANDBOX
22obj-y += dsdt.o
23endif
24
25obj-y += facs.o
26obj-y += ssdt.o
27endif
28
29endif # GENERATE_ACPI_TABLE
30