blob: 287ff74ba45af4440a34c1b5ec7db5d2d7a3846b [file] [log] [blame]
ifdef CONFIG_MINIMAL_LIBC
ZEPHYRINCLUDE += -I$(srctree)/lib/libc/minimal/include
endif
ifdef CONFIG_NEWLIB_LIBC
ZEPHYRINCLUDE += $(TOOLCHAIN_CFLAGS)
ALL_LIBS += m c
ifdef CONFIG_NEWLIB_LIBC_FLOAT_PRINTF
LDFLAGS += -u _printf_float
endif
ifdef CONFIG_NEWLIB_LIBC_FLOAT_SCANF
LDFLAGS += -u _scanf_float
endif
endif
include $(srctree)/lib/iot/Makefile