diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-22 19:34:03 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-03 01:45:58 +0300 |
commit | 05a8e1a44711263a8fd6c39267e57f3d21480a79 (patch) | |
tree | b9a1fec89b1213a5f9be165abaa0ac85938804bf | |
parent | 5a6bc166eff7835943958a1a732ae92c8904c140 (diff) | |
download | u-boot-05a8e1a44711263a8fd6c39267e57f3d21480a79.tar.xz |
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>
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |