mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7b565e4b25
Reduces assertion codesize overhead by approximately 35%
15 lines
348 B
Makefile
15 lines
348 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) -lnewlib
|
|
|
|
COMPONENT_ADD_LINKER_DEPS := $(LIBC_PATH) $(LIBM_PATH)
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := platform_include include
|