mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-14 22:16:03 +01:00
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>
11 lines
281 B
Makefile
11 lines
281 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
ifeq ($(CONFIG_XPL_BUILD)$(CONFIG_TPL_BUILD),)
|
|
nandcore-objs := core.o bbt.o
|
|
obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o
|
|
obj-$(CONFIG_MTD_RAW_NAND) += raw/
|
|
obj-$(CONFIG_MTD_SPI_NAND) += spi/
|
|
else
|
|
obj-$(CONFIG_$(PHASE_)NAND_SUPPORT) += raw/
|
|
endif
|