Simon Glass | 91fe8b7 | 2020-04-08 16:57:38 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | |
Simon Glass | 37bf440 | 2023-05-04 16:54:58 -0600 | [diff] [blame] | 4 | obj-y += acpi.o |
| 5 | |
Simon Glass | 0992a90 | 2023-05-04 16:54:57 -0600 | [diff] [blame] | 6 | ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE |
| 7 | |
Simon Glass | 437992d | 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 | cc1f8c3 | 2021-12-01 09:02:48 -0700 | [diff] [blame] | 12 | obj-y += acpi_writer.o |
Simon Glass | 94ba15a | 2021-12-01 09:02:50 -0700 | [diff] [blame] | 13 | |
| 14 | # With QEMU the ACPI tables come from there, not from U-Boot |
| 15 | ifndef CONFIG_QEMU |
| 16 | obj-y += base.o |
Simon Glass | 85b8161 | 2021-12-01 09:03:00 -0700 | [diff] [blame] | 17 | obj-y += csrt.o |
Moritz Fischer | 058fb9f | 2022-02-05 12:17:45 -0800 | [diff] [blame] | 18 | obj-y += mcfg.o |
Simon Glass | eacb6d0 | 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 | a53d38f | 2021-12-01 09:02:51 -0700 | [diff] [blame] | 25 | obj-y += facs.o |
Simon Glass | d953137 | 2021-12-01 09:02:56 -0700 | [diff] [blame] | 26 | obj-y += ssdt.o |
Simon Glass | 94ba15a | 2021-12-01 09:02:50 -0700 | [diff] [blame] | 27 | endif |
Simon Glass | 0992a90 | 2023-05-04 16:54:57 -0600 | [diff] [blame] | 28 | |
| 29 | endif # GENERATE_ACPI_TABLE |