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