mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +01:00
lib: Fix build condition for tiny-printf
This should be checking for any SPL build. Drop the use of SPL_TPL_ since it is not necessary and will not work with split config. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5a6bc166ef
commit
05a8e1a447
@ -127,7 +127,7 @@ obj-$(CONFIG_LIB_UUID) += uuid.o
|
||||
obj-$(CONFIG_LIB_RAND) += rand.o
|
||||
obj-y += panic.o
|
||||
|
||||
ifeq ($(CONFIG_$(SPL_TPL_)BUILD),y)
|
||||
ifeq ($(CONFIG_SPL_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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user