blob: c1c9675b5d2a236c36ef5fed01ae43539ead14d3 [file] [log] [blame]
Simon Glass91fe8b72020-04-08 16:57:38 -06001# SPDX-License-Identifier: GPL-2.0+
2#
3
Simon Glass37bf4402023-05-04 16:54:58 -06004obj-y += acpi.o
5
Simon Glass0992a902023-05-04 16:54:57 -06006ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
7
Simon Glass437992d2021-12-01 09:02:43 -07008obj-$(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
Simon Glasscc1f8c32021-12-01 09:02:48 -070012obj-y += acpi_writer.o
Simon Glass94ba15a2021-12-01 09:02:50 -070013
14# With QEMU the ACPI tables come from there, not from U-Boot
15ifndef CONFIG_QEMU
16obj-y += base.o
Simon Glass85b81612021-12-01 09:03:00 -070017obj-y += csrt.o
Moritz Fischer058fb9f2022-02-05 12:17:45 -080018obj-y += mcfg.o
Simon Glasseacb6d02021-12-01 09:02:52 -070019
20# Sandbox does not build a .asl file
21ifndef CONFIG_SANDBOX
22obj-y += dsdt.o
23endif
24
Simon Glassa53d38f2021-12-01 09:02:51 -070025obj-y += facs.o
Simon Glassd9531372021-12-01 09:02:56 -070026obj-y += ssdt.o
Simon Glass94ba15a2021-12-01 09:02:50 -070027endif
Simon Glass0992a902023-05-04 16:54:57 -060028
29endif # GENERATE_ACPI_TABLE