
5 Sep
2025
5 Sep
'25
5:01 p.m.
From: Simon Glass <sjg@chromium.org> Provide a NO_LIB option which disables building the libraries. This saves a little time. Signed-off-by: Simon Glass <sjg@chromium.org> --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 3ece9a02b6c..2c4685d161c 100644 --- a/Makefile +++ b/Makefile @@ -1045,10 +1045,12 @@ INPUTS-$(CONFIG_X86) += u-boot-x86-start16.bin u-boot-x86-reset16.bin \ ifdef CONFIG_CMDLINE ifneq ($(cc-name),clang) +ifeq ($(NO_LIBS),) INPUTS-$(CONFIG_ULIB) += libu-boot.so test/ulib/ulib_test INPUTS-$(CONFIG_ULIB) += libu-boot.a test/ulib/ulib_test_static endif endif +endif LDFLAGS_u-boot += $(LDFLAGS_FINAL) -- 2.43.0