2016-08-17 15:08:22 +00:00
|
|
|
|
2016-11-07 10:43:29 +00:00
|
|
|
ifdef CONFIG_NEWLIB_NANO_FORMAT
|
|
|
|
LIBC_PATH := $(COMPONENT_PATH)/lib/libc_nano.a
|
|
|
|
else
|
|
|
|
LIBC_PATH := $(COMPONENT_PATH)/lib/libc.a
|
|
|
|
endif
|
|
|
|
|
2016-12-12 04:54:30 +00:00
|
|
|
LIBM_PATH := $(COMPONENT_PATH)/lib/libm.a
|
|
|
|
|
|
|
|
COMPONENT_ADD_LDFLAGS := $(LIBC_PATH) $(LIBM_PATH) -lnewlib
|
|
|
|
|
|
|
|
COMPONENT_ADD_LINKER_DEPS := $(LIBC_PATH) $(LIBM_PATH)
|
2016-08-17 15:08:22 +00:00
|
|
|
|
2016-11-07 10:43:29 +00:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include platform_include
|