libs/libc/stdio/Make.defs: lib_dtoa.c is only used in the LIBC_CONFIG_NANO_PRINTF=n case.

This commit is contained in:
Johannes 2019-02-16 09:45:13 -06:00 committed by Gregory Nutt
parent 9ca5d71924
commit 739561ab34

View File

@ -59,6 +59,10 @@ else
CSRCS += lib_libvsprintf.c
ifeq ($(CONFIG_LIBC_FLOATINGPOINT),y)
CSRCS += lib_dtoa.c
endif
endif
# The remaining sources files depend upon C streams
@ -89,10 +93,6 @@ endif
# Other support that depends on specific, configured features.
ifeq ($(CONFIG_LIBC_FLOATINGPOINT),y)
CSRCS += lib_dtoa.c
endif
# Add the stdio directory to the build
DEPPATH += --dep-path stdio