lib/libc/Kconfig: make FLOATINGPOINT dependent on LIBM support
authorOleg Lyovin <o.lyovin@partner.samsung.com>
Tue, 1 Aug 2017 08:43:30 +0000 (11:43 +0300)
committerOleg Lyovin <o.lyovin@partner.samsung.com>
Tue, 15 Aug 2017 10:35:06 +0000 (13:35 +0300)
* LIBC_FLOATINGPOINT option enables printing float point in printf,
  and the implementation of it depends on libm functions.

Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
lib/libc/Kconfig

index 66e0893..bc69220 100644 (file)
@@ -45,6 +45,7 @@ config NOPRINTF_FIELDWIDTH
 
 config LIBC_FLOATINGPOINT
        bool "Enable floating point in printf"
+       depends on LIBM
        default n
        ---help---
                By default, floating point