From: Simon Glass Date: Wed, 22 Feb 2023 16:34:03 +0000 (-0700) Subject: lib: Fix build condition for tiny-printf X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~39^2~14 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=5d4215893bf6f69dc2bd4a9cf675f803c98ec5f3;p=uboot.git 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 --- diff --git a/lib/Makefile b/lib/Makefile index a282e40258..10aa7ac029 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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