Simon Glass | b2672ea | 2020-04-08 16:57:38 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | |
Simon Glass | 7ae6976 | 2023-05-04 16:54:58 -0600 | [diff] [blame] | 4 | obj-y += acpi.o |
| 5 | |
Simon Glass | e264be4 | 2023-05-04 16:54:57 -0600 | [diff] [blame] | 6 | ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE |
| 7 | |
Simon Glass | 29e64b5 | 2021-12-01 09:02:43 -0700 | [diff] [blame] | 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 |
Simon Glass | 37acc66 | 2021-12-01 09:02:48 -0700 | [diff] [blame] | 12 | obj-y += acpi_writer.o |
Simon Glass | e9f6e6a | 2021-12-01 09:02:50 -0700 | [diff] [blame] | 13 | |
| 14 | # With QEMU the ACPI tables come from there, not from U-Boot |
Heinrich Schuchardt | 223605f | 2023-12-19 16:04:00 +0100 | [diff] [blame] | 15 | ifndef CONFIG_QFW_ACPI |
Simon Glass | e9f6e6a | 2021-12-01 09:02:50 -0700 | [diff] [blame] | 16 | obj-y += base.o |
Simon Glass | 6e6bc9b | 2021-12-01 09:03:00 -0700 | [diff] [blame] | 17 | obj-y += csrt.o |
Moritz Fischer | c656172 | 2022-02-05 12:17:45 -0800 | [diff] [blame] | 18 | obj-y += mcfg.o |
Simon Glass | 83c3cb5 | 2021-12-01 09:02:52 -0700 | [diff] [blame] | 19 | |
| 20 | # Sandbox does not build a .asl file |
| 21 | ifndef CONFIG_SANDBOX |
| 22 | obj-y += dsdt.o |
| 23 | endif |
| 24 | |
Simon Glass | f53f57d | 2021-12-01 09:02:51 -0700 | [diff] [blame] | 25 | obj-y += facs.o |
Simon Glass | 6800095 | 2021-12-01 09:02:56 -0700 | [diff] [blame] | 26 | obj-y += ssdt.o |
Simon Glass | e9f6e6a | 2021-12-01 09:02:50 -0700 | [diff] [blame] | 27 | endif |
Simon Glass | e264be4 | 2023-05-04 16:54:57 -0600 | [diff] [blame] | 28 | |
| 29 | endif # GENERATE_ACPI_TABLE |