2016-05-15 21:34:26 +08:00
|
|
|
ifdef CONFIG_MINIMAL_LIBC
|
|
|
|
ZEPHYRINCLUDE += -I$(srctree)/lib/libc/minimal/include
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_NEWLIB_LIBC
|
|
|
|
ZEPHYRINCLUDE += $(TOOLCHAIN_CFLAGS)
|
|
|
|
ALL_LIBS += m c
|
2016-11-09 02:35:49 +08:00
|
|
|
|
|
|
|
ifdef CONFIG_NEWLIB_LIBC_FLOAT_PRINTF
|
|
|
|
LDFLAGS += -u _printf_float
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_NEWLIB_LIBC_FLOAT_SCANF
|
|
|
|
LDFLAGS += -u _scanf_float
|
|
|
|
endif
|
|
|
|
|
2016-05-15 21:34:26 +08:00
|
|
|
endif
|
2016-08-04 02:23:32 +08:00
|
|
|
|
|
|
|
include $(srctree)/lib/iot/Makefile
|