Simon Glass dac3ce976a board: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL

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

15 lines
231 B
Makefile

# SPDX-License-Identifier: GPL-2.0+
ifndef CONFIG_XPL_BUILD
obj-y += sl28.o cmds.o
endif
obj-y += common.o ddr.o
obj-$(CONFIG_ARMV8_PSCI) += psci.o
ifdef CONFIG_XPL_BUILD
obj-y += spl.o
obj-$(CONFIG_SPL_ATF) += spl_atf.o
endif