2016-05-15 21:34:26 +08:00
|
|
|
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-12-16 00:16:55 +08:00
|
|
|
else
|
|
|
|
ZEPHYRINCLUDE += -I$(srctree)/lib/libc/minimal/include
|
2016-05-15 21:34:26 +08:00
|
|
|
endif
|