Simon Glass | 91fe8b7 | 2020-04-08 16:57:38 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | |
Simon Glass | 0992a90 | 2023-05-04 16:54:57 -0600 | [diff] [blame^] | 4 | ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE |
| 5 | |
Simon Glass | 437992d | 2021-12-01 09:02:43 -0700 | [diff] [blame] | 6 | obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o |
| 7 | obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_device.o |
| 8 | obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_dp.o |
| 9 | obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o |
Simon Glass | cc1f8c3 | 2021-12-01 09:02:48 -0700 | [diff] [blame] | 10 | obj-y += acpi_writer.o |
Simon Glass | 94ba15a | 2021-12-01 09:02:50 -0700 | [diff] [blame] | 11 | |
| 12 | # With QEMU the ACPI tables come from there, not from U-Boot |
| 13 | ifndef CONFIG_QEMU |
| 14 | obj-y += base.o |
Simon Glass | 85b8161 | 2021-12-01 09:03:00 -0700 | [diff] [blame] | 15 | obj-y += csrt.o |
Moritz Fischer | 058fb9f | 2022-02-05 12:17:45 -0800 | [diff] [blame] | 16 | obj-y += mcfg.o |
Simon Glass | eacb6d0 | 2021-12-01 09:02:52 -0700 | [diff] [blame] | 17 | |
| 18 | # Sandbox does not build a .asl file |
| 19 | ifndef CONFIG_SANDBOX |
| 20 | obj-y += dsdt.o |
| 21 | endif |
| 22 | |
Simon Glass | a53d38f | 2021-12-01 09:02:51 -0700 | [diff] [blame] | 23 | obj-y += facs.o |
Simon Glass | d953137 | 2021-12-01 09:02:56 -0700 | [diff] [blame] | 24 | obj-y += ssdt.o |
Simon Glass | 94ba15a | 2021-12-01 09:02:50 -0700 | [diff] [blame] | 25 | endif |
Simon Glass | 0992a90 | 2023-05-04 16:54:57 -0600 | [diff] [blame^] | 26 | |
| 27 | endif # GENERATE_ACPI_TABLE |