u-boot/lib/acpi/Makefile
Simon Glass 5c10c8badf global: Rename SPL_TPL_ to PHASE_
Use PHASE_ as the symbol to select a particular XPL build. This means
that SPL_TPL_ is no-longer set.

Update the comment in bootstage to refer to this symbol, instead of
SPL_

Signed-off-by: Simon Glass <sjg@chromium.org>
2024-10-11 11:44:48 -06:00

29 lines
580 B
Makefile

# SPDX-License-Identifier: GPL-2.0+
#
obj-y += acpi.o
ifdef CONFIG_$(PHASE_)GENERATE_ACPI_TABLE
obj-$(CONFIG_$(XPL_)ACPIGEN) += acpigen.o
obj-$(CONFIG_$(XPL_)ACPIGEN) += acpi_device.o
obj-$(CONFIG_$(XPL_)ACPIGEN) += acpi_dp.o
obj-$(CONFIG_$(XPL_)ACPIGEN) += acpi_table.o
obj-y += acpi_writer.o
# With QEMU the ACPI tables come from there, not from U-Boot
ifndef CONFIG_QFW_ACPI
obj-y += base.o
obj-y += csrt.o
obj-y += mcfg.o
# Sandbox does not build a .asl file
ifndef CONFIG_SANDBOX
obj-y += dsdt.o
endif
obj-y += facs.o
obj-y += ssdt.o
endif
endif # GENERATE_ACPI_TABLE