mirror of
https://github.com/espressif/esp-idf
synced 2025-04-14 02:30:09 -04:00
For config-only components, component.mk should now contain "COMPONENT_CONFIG_ONLY := 1" Also refactored some of the generation of linker paths, library list. This required cleaning up the way the bootloader project works, it's now mostly independent from the parent.
15 lines
339 B
Makefile
15 lines
339 B
Makefile
|
|
ifdef CONFIG_NEWLIB_NANO_FORMAT
|
|
LIBC_PATH := $(COMPONENT_PATH)/lib/libc_nano.a
|
|
else
|
|
LIBC_PATH := $(COMPONENT_PATH)/lib/libc.a
|
|
endif
|
|
|
|
LIBM_PATH := $(COMPONENT_PATH)/lib/libm.a
|
|
|
|
COMPONENT_ADD_LDFLAGS += $(LIBC_PATH) $(LIBM_PATH)
|
|
|
|
COMPONENT_ADD_LINKER_DEPS := $(LIBC_PATH) $(LIBM_PATH)
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := platform_include include
|