global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Complete this rename for all directories outside arch/ board/ drivers/ and include/ Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# (C) Copyright 2000-2006
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
ifndef CONFIG_XPL_BUILD
|
||||
|
||||
obj-$(CONFIG_EFI) += efi/
|
||||
obj-$(CONFIG_EFI_LOADER) += efi_driver/
|
||||
@@ -96,7 +96,7 @@ obj-$(CONFIG_LIBAVB) += libavb/
|
||||
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/
|
||||
obj-$(CONFIG_$(SPL_TPL_)OF_REAL) += fdtdec_common.o fdtdec.o
|
||||
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
ifdef CONFIG_XPL_BUILD
|
||||
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16-ccitt.o
|
||||
obj-$(CONFIG_$(SPL_TPL_)HASH) += crc16-ccitt.o
|
||||
obj-$(CONFIG_MMC_SPI_CRC_ON) += crc16-ccitt.o
|
||||
@@ -131,7 +131,7 @@ obj-$(CONFIG_LIB_UUID) += uuid.o
|
||||
obj-$(CONFIG_LIB_RAND) += rand.o
|
||||
obj-y += panic.o
|
||||
|
||||
ifeq ($(CONFIG_SPL_BUILD),y)
|
||||
ifeq ($(CONFIG_XPL_BUILD),y)
|
||||
# SPL U-Boot may use full-printf, tiny-printf or none at all
|
||||
ifdef CONFIG_$(SPL_TPL_)USE_TINY_PRINTF
|
||||
obj-$(CONFIG_$(SPL_TPL_)SPRINTF) += tiny-printf.o
|
||||
|
||||
Reference in New Issue
Block a user