blob: c1c9675b5d2a236c36ef5fed01ae43539ead14d3 [file] [log] [blame]
Simon Glassb2672ea2020-04-08 16:57:38 -06001# SPDX-License-Identifier: GPL-2.0+
2#
3
Simon Glass7ae69762023-05-04 16:54:58 -06004obj-y += acpi.o
5
Simon Glasse264be42023-05-04 16:54:57 -06006ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
7
Simon Glass29e64b52021-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 Glass37acc662021-12-01 09:02:48 -070012obj-y += acpi_writer.o
Simon Glasse9f6e6a2021-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 Glass6e6bc9b2021-12-01 09:03:00 -070017obj-y += csrt.o
Moritz Fischerc6561722022-02-05 12:17:45 -080018obj-y += mcfg.o
Simon Glass83c3cb52021-12-01 09:02:52 -070019
20# Sandbox does not build a .asl file
21ifndef CONFIG_SANDBOX
22obj-y += dsdt.o
23endif
24
Simon Glassf53f57d2021-12-01 09:02:51 -070025obj-y += facs.o
Simon Glass68000952021-12-01 09:02:56 -070026obj-y += ssdt.o
Simon Glasse9f6e6a2021-12-01 09:02:50 -070027endif
Simon Glasse264be42023-05-04 16:54:57 -060028
29endif # GENERATE_ACPI_TABLE