ulib: Allow building of the libraries to be disabled
Provide a NO_LIB option which disables building the libraries. This saves a little time. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
2
Makefile
2
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user