diff --git a/ChangeLog b/ChangeLog index 3b39eabb4f9..918cd8608a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3525,4 +3525,7 @@ * binfmt/libelf: The basic ELF module execution appears fully functional. * configs/shenzhou/src/up_relays.c: Add support for relays from the Shenzhou board. Contributed by Darcy Gong. - + * lib/fixedmath: Moved the old lib/math to lib/fixedmath to make room for + the math library from the Rhombus OS + * lib/math: Now contains the math library from the Rhombus OS by Nick Johnson + (submitted by Darcy Gong). diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index d8ccfc34047..96c30129529 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -3719,9 +3719,6 @@ void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate); Make a raw binary format file used with many different loaders using the GNU objcopy program. This option should not be selected if you are not using the GNU toolchain. -
CONFIG_HAVE_LIBM:
- Toolchain supports libm.a
- CONFIG_HAVE_CXX:
Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX
have been defined in the configurations Make.defs file.
diff --git a/configs/README.txt b/configs/README.txt
index c7f3db0e7b1..4f96dc325b2 100644
--- a/configs/README.txt
+++ b/configs/README.txt
@@ -171,7 +171,6 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_RAW_BINARY - make a raw binary format file used with many
different loaders using the GNU objcopy program. This option
should not be selected if you are not using the GNU toolchain.
- CONFIG_HAVE_LIBM - toolchain supports libm.a
CONFIG_HAVE_CXX - toolchain supports C++ and CXX, CXXFLAGS, and
COMPILEXX have been defined in the configurations Make.defs
file.
diff --git a/configs/amber/hello/defconfig b/configs/amber/hello/defconfig
index fece8db36b7..24392791041 100644
--- a/configs/amber/hello/defconfig
+++ b/configs/amber/hello/defconfig
@@ -110,7 +110,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/avr32dev1/nsh/defconfig b/configs/avr32dev1/nsh/defconfig
index 7e75380c097..3ca2fac382c 100755
--- a/configs/avr32dev1/nsh/defconfig
+++ b/configs/avr32dev1/nsh/defconfig
@@ -136,7 +136,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/avr32dev1/ostest/defconfig b/configs/avr32dev1/ostest/defconfig
index b70cbb6af4d..ed7280dc609 100755
--- a/configs/avr32dev1/ostest/defconfig
+++ b/configs/avr32dev1/ostest/defconfig
@@ -136,7 +136,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/c5471evm/httpd/defconfig b/configs/c5471evm/httpd/defconfig
index 372fb330f76..52a0fc4bbe8 100644
--- a/configs/c5471evm/httpd/defconfig
+++ b/configs/c5471evm/httpd/defconfig
@@ -86,7 +86,6 @@ CONFIG_NET_C5471_BASET10=n
CONFIG_RRLOAD_BINARY=y
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/c5471evm/nettest/defconfig b/configs/c5471evm/nettest/defconfig
index 179b4c1854e..6da9fa522f2 100644
--- a/configs/c5471evm/nettest/defconfig
+++ b/configs/c5471evm/nettest/defconfig
@@ -57,7 +57,6 @@ CONFIG_DRAM_SIZE=285212672
CONFIG_RRLOAD_BINARY=y
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# C5471 specific device driver settings
diff --git a/configs/c5471evm/nsh/defconfig b/configs/c5471evm/nsh/defconfig
index 5746f833a27..6b583d31a57 100644
--- a/configs/c5471evm/nsh/defconfig
+++ b/configs/c5471evm/nsh/defconfig
@@ -86,7 +86,6 @@ CONFIG_NET_C5471_BASET10=n
CONFIG_RRLOAD_BINARY=y
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/c5471evm/ostest/defconfig b/configs/c5471evm/ostest/defconfig
index e0c6297c137..04ac9677f4c 100644
--- a/configs/c5471evm/ostest/defconfig
+++ b/configs/c5471evm/ostest/defconfig
@@ -86,7 +86,6 @@ CONFIG_NET_C5471_BASET10=n
CONFIG_RRLOAD_BINARY=y
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/compal_e88/nsh_highram/defconfig b/configs/compal_e88/nsh_highram/defconfig
index 3cf0af62951..b429af69668 100644
--- a/configs/compal_e88/nsh_highram/defconfig
+++ b/configs/compal_e88/nsh_highram/defconfig
@@ -88,7 +88,6 @@ CONFIG_NET_C5471_BASET10=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/compal_e99/nsh_compalram/defconfig b/configs/compal_e99/nsh_compalram/defconfig
index f9bf23af66c..52f99bf124b 100644
--- a/configs/compal_e99/nsh_compalram/defconfig
+++ b/configs/compal_e99/nsh_compalram/defconfig
@@ -91,7 +91,6 @@ CONFIG_NET_C5471_BASET10=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/compal_e99/nsh_highram/defconfig b/configs/compal_e99/nsh_highram/defconfig
index f5323c664c6..b1539c98c95 100644
--- a/configs/compal_e99/nsh_highram/defconfig
+++ b/configs/compal_e99/nsh_highram/defconfig
@@ -91,7 +91,6 @@ CONFIG_NET_C5471_BASET10=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/demo9s12ne64/ostest/defconfig b/configs/demo9s12ne64/ostest/defconfig
index a45fc7e4741..5033d820113 100755
--- a/configs/demo9s12ne64/ostest/defconfig
+++ b/configs/demo9s12ne64/ostest/defconfig
@@ -102,7 +102,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=y
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# Setup for a two-pass build
diff --git a/configs/ea3131/nsh/defconfig b/configs/ea3131/nsh/defconfig
index 38caf93aafd..c97f521a52f 100644
--- a/configs/ea3131/nsh/defconfig
+++ b/configs/ea3131/nsh/defconfig
@@ -109,7 +109,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ea3131/ostest/defconfig b/configs/ea3131/ostest/defconfig
index abc2c8ba54e..c66ee51a447 100644
--- a/configs/ea3131/ostest/defconfig
+++ b/configs/ea3131/ostest/defconfig
@@ -109,7 +109,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ea3131/pgnsh/defconfig b/configs/ea3131/pgnsh/defconfig
index f03432e8de7..c9e0963580a 100644
--- a/configs/ea3131/pgnsh/defconfig
+++ b/configs/ea3131/pgnsh/defconfig
@@ -114,7 +114,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# Setup for a two-pass build
diff --git a/configs/ea3131/usbserial/defconfig b/configs/ea3131/usbserial/defconfig
index 3314de254b6..1e8f5cf9459 100644
--- a/configs/ea3131/usbserial/defconfig
+++ b/configs/ea3131/usbserial/defconfig
@@ -109,7 +109,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ea3131/usbstorage/defconfig b/configs/ea3131/usbstorage/defconfig
index a857523df30..d8088b5dfaa 100644
--- a/configs/ea3131/usbstorage/defconfig
+++ b/configs/ea3131/usbstorage/defconfig
@@ -109,7 +109,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ea3152/ostest/defconfig b/configs/ea3152/ostest/defconfig
index 5b7b5b59df8..34cf49dfba1 100644
--- a/configs/ea3152/ostest/defconfig
+++ b/configs/ea3152/ostest/defconfig
@@ -109,7 +109,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/eagle100/httpd/defconfig b/configs/eagle100/httpd/defconfig
index 7c47f446740..7916569bc06 100644
--- a/configs/eagle100/httpd/defconfig
+++ b/configs/eagle100/httpd/defconfig
@@ -115,7 +115,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/eagle100/nettest/defconfig b/configs/eagle100/nettest/defconfig
index 4f272104544..6f47953863b 100644
--- a/configs/eagle100/nettest/defconfig
+++ b/configs/eagle100/nettest/defconfig
@@ -115,7 +115,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/eagle100/nsh/defconfig b/configs/eagle100/nsh/defconfig
index 4848e957bf7..b50413db0e3 100644
--- a/configs/eagle100/nsh/defconfig
+++ b/configs/eagle100/nsh/defconfig
@@ -115,7 +115,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/eagle100/nxflat/defconfig b/configs/eagle100/nxflat/defconfig
index 01931b0d3a3..98029ddd838 100644
--- a/configs/eagle100/nxflat/defconfig
+++ b/configs/eagle100/nxflat/defconfig
@@ -115,7 +115,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/eagle100/ostest/defconfig b/configs/eagle100/ostest/defconfig
index 13a316ca441..f3634aa55f6 100644
--- a/configs/eagle100/ostest/defconfig
+++ b/configs/eagle100/ostest/defconfig
@@ -115,7 +115,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/eagle100/thttpd/defconfig b/configs/eagle100/thttpd/defconfig
index 412a89e9cf9..d68d51acfcb 100644
--- a/configs/eagle100/thttpd/defconfig
+++ b/configs/eagle100/thttpd/defconfig
@@ -115,7 +115,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ekk-lm3s9b96/nsh/defconfig b/configs/ekk-lm3s9b96/nsh/defconfig
index 11407295fd1..2a1a0552d2c 100644
--- a/configs/ekk-lm3s9b96/nsh/defconfig
+++ b/configs/ekk-lm3s9b96/nsh/defconfig
@@ -132,7 +132,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ekk-lm3s9b96/ostest/defconfig b/configs/ekk-lm3s9b96/ostest/defconfig
index 734ad031e2e..c465cb8b7c8 100644
--- a/configs/ekk-lm3s9b96/ostest/defconfig
+++ b/configs/ekk-lm3s9b96/ostest/defconfig
@@ -132,7 +132,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ez80f910200kitg/ostest/defconfig b/configs/ez80f910200kitg/ostest/defconfig
index 22b62754298..9ceb261b22c 100644
--- a/configs/ez80f910200kitg/ostest/defconfig
+++ b/configs/ez80f910200kitg/ostest/defconfig
@@ -94,7 +94,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ez80f910200zco/dhcpd/defconfig b/configs/ez80f910200zco/dhcpd/defconfig
index ea9844dc2e4..a20e86a45ac 100644
--- a/configs/ez80f910200zco/dhcpd/defconfig
+++ b/configs/ez80f910200zco/dhcpd/defconfig
@@ -97,7 +97,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ez80f910200zco/httpd/defconfig b/configs/ez80f910200zco/httpd/defconfig
index ddf34285abf..cccecf2bfc7 100644
--- a/configs/ez80f910200zco/httpd/defconfig
+++ b/configs/ez80f910200zco/httpd/defconfig
@@ -97,7 +97,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ez80f910200zco/nettest/defconfig b/configs/ez80f910200zco/nettest/defconfig
index 7b1415bf4bd..e018164b018 100644
--- a/configs/ez80f910200zco/nettest/defconfig
+++ b/configs/ez80f910200zco/nettest/defconfig
@@ -97,7 +97,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ez80f910200zco/nsh/defconfig b/configs/ez80f910200zco/nsh/defconfig
index fa701253d65..34fbe603d1f 100644
--- a/configs/ez80f910200zco/nsh/defconfig
+++ b/configs/ez80f910200zco/nsh/defconfig
@@ -97,7 +97,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ez80f910200zco/ostest/defconfig b/configs/ez80f910200zco/ostest/defconfig
index f16ddee39f2..1954b7a5d8d 100644
--- a/configs/ez80f910200zco/ostest/defconfig
+++ b/configs/ez80f910200zco/ostest/defconfig
@@ -96,7 +96,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ez80f910200zco/poll/defconfig b/configs/ez80f910200zco/poll/defconfig
index 6ad505dc56f..a98526466a2 100644
--- a/configs/ez80f910200zco/poll/defconfig
+++ b/configs/ez80f910200zco/poll/defconfig
@@ -97,7 +97,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/fire-stm32v2/nsh/defconfig b/configs/fire-stm32v2/nsh/defconfig
index 5edde6ed122..f126c51fd60 100644
--- a/configs/fire-stm32v2/nsh/defconfig
+++ b/configs/fire-stm32v2/nsh/defconfig
@@ -509,7 +509,6 @@ CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/hymini-stm32v/buttons/defconfig b/configs/hymini-stm32v/buttons/defconfig
index 44dcf3c41a7..8ee2c1d7633 100644
--- a/configs/hymini-stm32v/buttons/defconfig
+++ b/configs/hymini-stm32v/buttons/defconfig
@@ -162,7 +162,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/hymini-stm32v/nsh/defconfig b/configs/hymini-stm32v/nsh/defconfig
index 52da9f6f622..f18194bce5a 100755
--- a/configs/hymini-stm32v/nsh/defconfig
+++ b/configs/hymini-stm32v/nsh/defconfig
@@ -160,7 +160,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/hymini-stm32v/nsh2/defconfig b/configs/hymini-stm32v/nsh2/defconfig
index fbd9d23b36f..b11895c9b1e 100644
--- a/configs/hymini-stm32v/nsh2/defconfig
+++ b/configs/hymini-stm32v/nsh2/defconfig
@@ -165,7 +165,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
CONFIG_RTC=y
diff --git a/configs/hymini-stm32v/nx/defconfig b/configs/hymini-stm32v/nx/defconfig
index e411baf835a..b46c68e2935 100644
--- a/configs/hymini-stm32v/nx/defconfig
+++ b/configs/hymini-stm32v/nx/defconfig
@@ -160,7 +160,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/hymini-stm32v/nxlines/defconfig b/configs/hymini-stm32v/nxlines/defconfig
index 689b17376ab..863e7a327d3 100644
--- a/configs/hymini-stm32v/nxlines/defconfig
+++ b/configs/hymini-stm32v/nxlines/defconfig
@@ -164,7 +164,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/hymini-stm32v/usbserial/defconfig b/configs/hymini-stm32v/usbserial/defconfig
index 7883db82739..a6ed06dee9c 100755
--- a/configs/hymini-stm32v/usbserial/defconfig
+++ b/configs/hymini-stm32v/usbserial/defconfig
@@ -162,7 +162,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/hymini-stm32v/usbstorage/defconfig b/configs/hymini-stm32v/usbstorage/defconfig
index c3434e3a466..7d75577fe5f 100755
--- a/configs/hymini-stm32v/usbstorage/defconfig
+++ b/configs/hymini-stm32v/usbstorage/defconfig
@@ -161,7 +161,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/kwikstik-k40/ostest/defconfig b/configs/kwikstik-k40/ostest/defconfig
index 2cf29894b2d..a811ee06326 100755
--- a/configs/kwikstik-k40/ostest/defconfig
+++ b/configs/kwikstik-k40/ostest/defconfig
@@ -172,7 +172,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lincoln60/nsh/defconfig b/configs/lincoln60/nsh/defconfig
index 43944f0a686..bb08a7deca2 100644
--- a/configs/lincoln60/nsh/defconfig
+++ b/configs/lincoln60/nsh/defconfig
@@ -149,7 +149,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lincoln60/ostest/defconfig b/configs/lincoln60/ostest/defconfig
index 6dd51eb07db..0576d018fa9 100644
--- a/configs/lincoln60/ostest/defconfig
+++ b/configs/lincoln60/ostest/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lm3s6432-s2e/nsh/defconfig b/configs/lm3s6432-s2e/nsh/defconfig
index f0cf503efbe..d203b295463 100644
--- a/configs/lm3s6432-s2e/nsh/defconfig
+++ b/configs/lm3s6432-s2e/nsh/defconfig
@@ -131,7 +131,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lm3s6432-s2e/ostest/defconfig b/configs/lm3s6432-s2e/ostest/defconfig
index daeac0177d9..02b7dbd3149 100644
--- a/configs/lm3s6432-s2e/ostest/defconfig
+++ b/configs/lm3s6432-s2e/ostest/defconfig
@@ -131,7 +131,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lm3s6965-ek/nsh/defconfig b/configs/lm3s6965-ek/nsh/defconfig
index 2771a3dc935..5afac6e6fb1 100755
--- a/configs/lm3s6965-ek/nsh/defconfig
+++ b/configs/lm3s6965-ek/nsh/defconfig
@@ -132,7 +132,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lm3s6965-ek/nx/defconfig b/configs/lm3s6965-ek/nx/defconfig
index 83b338161c3..b6cb0cad5a4 100755
--- a/configs/lm3s6965-ek/nx/defconfig
+++ b/configs/lm3s6965-ek/nx/defconfig
@@ -132,7 +132,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General SPI interface configuration
diff --git a/configs/lm3s6965-ek/ostest/defconfig b/configs/lm3s6965-ek/ostest/defconfig
index 0bfe9ef7204..da35e553140 100755
--- a/configs/lm3s6965-ek/ostest/defconfig
+++ b/configs/lm3s6965-ek/ostest/defconfig
@@ -132,7 +132,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lm3s8962-ek/nsh/defconfig b/configs/lm3s8962-ek/nsh/defconfig
index 001a8738748..2a80e84e703 100755
--- a/configs/lm3s8962-ek/nsh/defconfig
+++ b/configs/lm3s8962-ek/nsh/defconfig
@@ -131,7 +131,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lm3s8962-ek/nx/defconfig b/configs/lm3s8962-ek/nx/defconfig
index dbae4b2aa7e..51063f75582 100755
--- a/configs/lm3s8962-ek/nx/defconfig
+++ b/configs/lm3s8962-ek/nx/defconfig
@@ -131,7 +131,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General SPI interface configuration
diff --git a/configs/lm3s8962-ek/ostest/defconfig b/configs/lm3s8962-ek/ostest/defconfig
index aeb0a1ecf83..c540b1d7f6b 100755
--- a/configs/lm3s8962-ek/ostest/defconfig
+++ b/configs/lm3s8962-ek/ostest/defconfig
@@ -131,7 +131,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lpc4330-xplorer/nsh/defconfig b/configs/lpc4330-xplorer/nsh/defconfig
index e4269ea67d4..a97b9f789ec 100644
--- a/configs/lpc4330-xplorer/nsh/defconfig
+++ b/configs/lpc4330-xplorer/nsh/defconfig
@@ -191,7 +191,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lpc4330-xplorer/ostest/defconfig b/configs/lpc4330-xplorer/ostest/defconfig
index d5ac58ef175..cddf7d0e8fe 100644
--- a/configs/lpc4330-xplorer/ostest/defconfig
+++ b/configs/lpc4330-xplorer/ostest/defconfig
@@ -189,7 +189,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/configs/lpcxpresso-lpc1768/dhcpd/defconfig
index 01c54fa9fee..92aa13f7b09 100755
--- a/configs/lpcxpresso-lpc1768/dhcpd/defconfig
+++ b/configs/lpcxpresso-lpc1768/dhcpd/defconfig
@@ -154,7 +154,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lpcxpresso-lpc1768/nsh/defconfig b/configs/lpcxpresso-lpc1768/nsh/defconfig
index 6d0be84007b..0e149e18646 100755
--- a/configs/lpcxpresso-lpc1768/nsh/defconfig
+++ b/configs/lpcxpresso-lpc1768/nsh/defconfig
@@ -157,7 +157,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lpcxpresso-lpc1768/nx/defconfig b/configs/lpcxpresso-lpc1768/nx/defconfig
index a94571a835e..88a2cd7a229 100755
--- a/configs/lpcxpresso-lpc1768/nx/defconfig
+++ b/configs/lpcxpresso-lpc1768/nx/defconfig
@@ -153,7 +153,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General SPI interface configuration
diff --git a/configs/lpcxpresso-lpc1768/ostest/defconfig b/configs/lpcxpresso-lpc1768/ostest/defconfig
index f58c78773e4..1fa3e79bce0 100755
--- a/configs/lpcxpresso-lpc1768/ostest/defconfig
+++ b/configs/lpcxpresso-lpc1768/ostest/defconfig
@@ -153,7 +153,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lpcxpresso-lpc1768/thttpd/defconfig b/configs/lpcxpresso-lpc1768/thttpd/defconfig
index 08d251d431f..3d014d29144 100755
--- a/configs/lpcxpresso-lpc1768/thttpd/defconfig
+++ b/configs/lpcxpresso-lpc1768/thttpd/defconfig
@@ -154,7 +154,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/lpcxpresso-lpc1768/usbstorage/defconfig b/configs/lpcxpresso-lpc1768/usbstorage/defconfig
index 08f4ad1cfa3..8e51d52057e 100755
--- a/configs/lpcxpresso-lpc1768/usbstorage/defconfig
+++ b/configs/lpcxpresso-lpc1768/usbstorage/defconfig
@@ -153,7 +153,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/m68332evb/defconfig b/configs/m68332evb/defconfig
index e3e8110a7de..39b3c773244 100644
--- a/configs/m68332evb/defconfig
+++ b/configs/m68332evb/defconfig
@@ -67,7 +67,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mbed/hidkbd/defconfig b/configs/mbed/hidkbd/defconfig
index 3ec6912765d..3c31b2f9267 100644
--- a/configs/mbed/hidkbd/defconfig
+++ b/configs/mbed/hidkbd/defconfig
@@ -153,7 +153,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mbed/nsh/defconfig b/configs/mbed/nsh/defconfig
index dba89ec7b7b..fca08b577b7 100755
--- a/configs/mbed/nsh/defconfig
+++ b/configs/mbed/nsh/defconfig
@@ -149,7 +149,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mcu123-lpc214x/composite/defconfig b/configs/mcu123-lpc214x/composite/defconfig
index 6a6e5819cf0..0599fed14f0 100644
--- a/configs/mcu123-lpc214x/composite/defconfig
+++ b/configs/mcu123-lpc214x/composite/defconfig
@@ -90,7 +90,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mcu123-lpc214x/nsh/defconfig b/configs/mcu123-lpc214x/nsh/defconfig
index 7a514163c3e..e2d37a938c7 100644
--- a/configs/mcu123-lpc214x/nsh/defconfig
+++ b/configs/mcu123-lpc214x/nsh/defconfig
@@ -90,7 +90,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mcu123-lpc214x/ostest/defconfig b/configs/mcu123-lpc214x/ostest/defconfig
index 724459e8061..5fc7df5c75b 100644
--- a/configs/mcu123-lpc214x/ostest/defconfig
+++ b/configs/mcu123-lpc214x/ostest/defconfig
@@ -90,7 +90,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mcu123-lpc214x/usbserial/defconfig b/configs/mcu123-lpc214x/usbserial/defconfig
index c746c5732be..c35d8048686 100644
--- a/configs/mcu123-lpc214x/usbserial/defconfig
+++ b/configs/mcu123-lpc214x/usbserial/defconfig
@@ -90,7 +90,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mcu123-lpc214x/usbstorage/defconfig b/configs/mcu123-lpc214x/usbstorage/defconfig
index d46ab7c3c53..a25f2e170b2 100644
--- a/configs/mcu123-lpc214x/usbstorage/defconfig
+++ b/configs/mcu123-lpc214x/usbstorage/defconfig
@@ -90,7 +90,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/micropendous3/hello/defconfig b/configs/micropendous3/hello/defconfig
index 4e0ea0e9979..63a8f249c89 100644
--- a/configs/micropendous3/hello/defconfig
+++ b/configs/micropendous3/hello/defconfig
@@ -105,7 +105,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mirtoo/nsh/defconfig b/configs/mirtoo/nsh/defconfig
index 4e3cb684e6b..0883cc9ea01 100644
--- a/configs/mirtoo/nsh/defconfig
+++ b/configs/mirtoo/nsh/defconfig
@@ -163,7 +163,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mirtoo/nxffs/defconfig b/configs/mirtoo/nxffs/defconfig
index 31e3ef89b1c..f2f5286e655 100644
--- a/configs/mirtoo/nxffs/defconfig
+++ b/configs/mirtoo/nxffs/defconfig
@@ -163,7 +163,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mirtoo/ostest/defconfig b/configs/mirtoo/ostest/defconfig
index a3af96fbcfc..77b3e38b833 100644
--- a/configs/mirtoo/ostest/defconfig
+++ b/configs/mirtoo/ostest/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/mx1ads/ostest/defconfig b/configs/mx1ads/ostest/defconfig
index 9e425975df9..55b3c72b8c2 100644
--- a/configs/mx1ads/ostest/defconfig
+++ b/configs/mx1ads/ostest/defconfig
@@ -96,7 +96,6 @@ CONFIG_SPI2_DISABLE=y
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ne64badge/ostest/defconfig b/configs/ne64badge/ostest/defconfig
index ee36399f15b..c101aa01b00 100755
--- a/configs/ne64badge/ostest/defconfig
+++ b/configs/ne64badge/ostest/defconfig
@@ -108,7 +108,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=y
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# Setup for a two-pass build
diff --git a/configs/ntosd-dm320/nettest/defconfig b/configs/ntosd-dm320/nettest/defconfig
index 1786380545c..297df2173fe 100644
--- a/configs/ntosd-dm320/nettest/defconfig
+++ b/configs/ntosd-dm320/nettest/defconfig
@@ -88,7 +88,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ntosd-dm320/nsh/defconfig b/configs/ntosd-dm320/nsh/defconfig
index 33cf33c24c0..2b02c2d4e41 100644
--- a/configs/ntosd-dm320/nsh/defconfig
+++ b/configs/ntosd-dm320/nsh/defconfig
@@ -87,7 +87,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ntosd-dm320/ostest/defconfig b/configs/ntosd-dm320/ostest/defconfig
index 52ebe0bd9b4..a9fca828af2 100644
--- a/configs/ntosd-dm320/ostest/defconfig
+++ b/configs/ntosd-dm320/ostest/defconfig
@@ -88,7 +88,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ntosd-dm320/poll/defconfig b/configs/ntosd-dm320/poll/defconfig
index f27dcc2c329..08f75e6b6af 100644
--- a/configs/ntosd-dm320/poll/defconfig
+++ b/configs/ntosd-dm320/poll/defconfig
@@ -88,7 +88,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ntosd-dm320/thttpd/defconfig b/configs/ntosd-dm320/thttpd/defconfig
index becec2ef17a..d2de4c167d2 100644
--- a/configs/ntosd-dm320/thttpd/defconfig
+++ b/configs/ntosd-dm320/thttpd/defconfig
@@ -89,7 +89,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ntosd-dm320/udp/defconfig b/configs/ntosd-dm320/udp/defconfig
index 869f2e442e4..de3b2405608 100644
--- a/configs/ntosd-dm320/udp/defconfig
+++ b/configs/ntosd-dm320/udp/defconfig
@@ -88,7 +88,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ntosd-dm320/uip/defconfig b/configs/ntosd-dm320/uip/defconfig
index 19ffe452a9c..281a63bd0c0 100644
--- a/configs/ntosd-dm320/uip/defconfig
+++ b/configs/ntosd-dm320/uip/defconfig
@@ -88,7 +88,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/nucleus2g/nsh/defconfig b/configs/nucleus2g/nsh/defconfig
index 080c4877055..5bc94e607e9 100755
--- a/configs/nucleus2g/nsh/defconfig
+++ b/configs/nucleus2g/nsh/defconfig
@@ -149,7 +149,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/nucleus2g/ostest/defconfig b/configs/nucleus2g/ostest/defconfig
index 02eb3163390..945e82a057a 100755
--- a/configs/nucleus2g/ostest/defconfig
+++ b/configs/nucleus2g/ostest/defconfig
@@ -149,7 +149,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/nucleus2g/usbserial/defconfig b/configs/nucleus2g/usbserial/defconfig
index 300d30ab313..25804407f38 100755
--- a/configs/nucleus2g/usbserial/defconfig
+++ b/configs/nucleus2g/usbserial/defconfig
@@ -149,7 +149,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/nucleus2g/usbstorage/defconfig b/configs/nucleus2g/usbstorage/defconfig
index 7887818fbc0..cc677b9f44f 100755
--- a/configs/nucleus2g/usbstorage/defconfig
+++ b/configs/nucleus2g/usbstorage/defconfig
@@ -149,7 +149,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/ftpc/defconfig b/configs/olimex-lpc1766stk/ftpc/defconfig
index 6d1375e92c1..7cf2e0e8807 100755
--- a/configs/olimex-lpc1766stk/ftpc/defconfig
+++ b/configs/olimex-lpc1766stk/ftpc/defconfig
@@ -159,7 +159,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/hidkbd/defconfig b/configs/olimex-lpc1766stk/hidkbd/defconfig
index 7c9fe4c4e56..ac94ecfb862 100755
--- a/configs/olimex-lpc1766stk/hidkbd/defconfig
+++ b/configs/olimex-lpc1766stk/hidkbd/defconfig
@@ -159,7 +159,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/nettest/defconfig b/configs/olimex-lpc1766stk/nettest/defconfig
index 628ff011246..7e662fb97a4 100755
--- a/configs/olimex-lpc1766stk/nettest/defconfig
+++ b/configs/olimex-lpc1766stk/nettest/defconfig
@@ -159,7 +159,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/nsh/defconfig b/configs/olimex-lpc1766stk/nsh/defconfig
index d5333a9f335..b12dd731a94 100755
--- a/configs/olimex-lpc1766stk/nsh/defconfig
+++ b/configs/olimex-lpc1766stk/nsh/defconfig
@@ -159,7 +159,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/nx/defconfig b/configs/olimex-lpc1766stk/nx/defconfig
index d86b8b83fd2..0235c29b5fb 100755
--- a/configs/olimex-lpc1766stk/nx/defconfig
+++ b/configs/olimex-lpc1766stk/nx/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General SPI interface configuration
diff --git a/configs/olimex-lpc1766stk/ostest/defconfig b/configs/olimex-lpc1766stk/ostest/defconfig
index a11c022764a..fcc2bba4480 100755
--- a/configs/olimex-lpc1766stk/ostest/defconfig
+++ b/configs/olimex-lpc1766stk/ostest/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/slip-httpd/defconfig b/configs/olimex-lpc1766stk/slip-httpd/defconfig
index 32092d216fa..94d5da763f2 100755
--- a/configs/olimex-lpc1766stk/slip-httpd/defconfig
+++ b/configs/olimex-lpc1766stk/slip-httpd/defconfig
@@ -158,7 +158,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/thttpd/defconfig b/configs/olimex-lpc1766stk/thttpd/defconfig
index 94ac19f42ec..c14e1362b6f 100755
--- a/configs/olimex-lpc1766stk/thttpd/defconfig
+++ b/configs/olimex-lpc1766stk/thttpd/defconfig
@@ -156,7 +156,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/usbserial/defconfig b/configs/olimex-lpc1766stk/usbserial/defconfig
index 2bd892cc303..e1216d8968d 100755
--- a/configs/olimex-lpc1766stk/usbserial/defconfig
+++ b/configs/olimex-lpc1766stk/usbserial/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/usbstorage/defconfig b/configs/olimex-lpc1766stk/usbstorage/defconfig
index 8b55cc94d81..2f91efe4748 100755
--- a/configs/olimex-lpc1766stk/usbstorage/defconfig
+++ b/configs/olimex-lpc1766stk/usbstorage/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc1766stk/wlan/defconfig b/configs/olimex-lpc1766stk/wlan/defconfig
index 4d73807e0cc..aa896c30ce5 100755
--- a/configs/olimex-lpc1766stk/wlan/defconfig
+++ b/configs/olimex-lpc1766stk/wlan/defconfig
@@ -150,7 +150,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc2378/nsh/defconfig b/configs/olimex-lpc2378/nsh/defconfig
index 7311d0c20f0..30801a6ab47 100755
--- a/configs/olimex-lpc2378/nsh/defconfig
+++ b/configs/olimex-lpc2378/nsh/defconfig
@@ -110,7 +110,6 @@ CONFIG_UART2_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-lpc2378/ostest/defconfig b/configs/olimex-lpc2378/ostest/defconfig
index b96aadd87fc..129bb7fbe55 100755
--- a/configs/olimex-lpc2378/ostest/defconfig
+++ b/configs/olimex-lpc2378/ostest/defconfig
@@ -110,7 +110,6 @@ CONFIG_UART2_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-stm32-p107/nsh/defconfig b/configs/olimex-stm32-p107/nsh/defconfig
index 67a153f9a2d..9b9a72dcdbf 100644
--- a/configs/olimex-stm32-p107/nsh/defconfig
+++ b/configs/olimex-stm32-p107/nsh/defconfig
@@ -198,7 +198,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-stm32-p107/ostest/defconfig b/configs/olimex-stm32-p107/ostest/defconfig
index 26a8470d26c..21aa07875ab 100644
--- a/configs/olimex-stm32-p107/ostest/defconfig
+++ b/configs/olimex-stm32-p107/ostest/defconfig
@@ -208,7 +208,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-strp711/nettest/defconfig b/configs/olimex-strp711/nettest/defconfig
index c401fe8c69f..eb8c911088f 100755
--- a/configs/olimex-strp711/nettest/defconfig
+++ b/configs/olimex-strp711/nettest/defconfig
@@ -128,7 +128,6 @@ CONFIG_UART3_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-strp711/nsh/defconfig b/configs/olimex-strp711/nsh/defconfig
index 985e3690ee2..2deb556408b 100644
--- a/configs/olimex-strp711/nsh/defconfig
+++ b/configs/olimex-strp711/nsh/defconfig
@@ -128,7 +128,6 @@ CONFIG_UART3_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/olimex-strp711/ostest/defconfig b/configs/olimex-strp711/ostest/defconfig
index cdac22b9f6e..e60b7349f15 100644
--- a/configs/olimex-strp711/ostest/defconfig
+++ b/configs/olimex-strp711/ostest/defconfig
@@ -128,7 +128,6 @@ CONFIG_UART3_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pcblogic-pic32mx/nsh/defconfig b/configs/pcblogic-pic32mx/nsh/defconfig
index 1e439e46670..3a480d78655 100644
--- a/configs/pcblogic-pic32mx/nsh/defconfig
+++ b/configs/pcblogic-pic32mx/nsh/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pcblogic-pic32mx/ostest/defconfig b/configs/pcblogic-pic32mx/ostest/defconfig
index 868ba466957..da8ff40edb6 100644
--- a/configs/pcblogic-pic32mx/ostest/defconfig
+++ b/configs/pcblogic-pic32mx/ostest/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pic32-starterkit/nsh/defconfig b/configs/pic32-starterkit/nsh/defconfig
index 17cb151a76e..17fbd6f4ece 100644
--- a/configs/pic32-starterkit/nsh/defconfig
+++ b/configs/pic32-starterkit/nsh/defconfig
@@ -215,7 +215,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pic32-starterkit/nsh2/defconfig b/configs/pic32-starterkit/nsh2/defconfig
index c751591b215..0eec6311805 100644
--- a/configs/pic32-starterkit/nsh2/defconfig
+++ b/configs/pic32-starterkit/nsh2/defconfig
@@ -215,7 +215,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pic32-starterkit/ostest/defconfig b/configs/pic32-starterkit/ostest/defconfig
index c8e32419eaa..e386b593606 100644
--- a/configs/pic32-starterkit/ostest/defconfig
+++ b/configs/pic32-starterkit/ostest/defconfig
@@ -215,7 +215,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pic32mx7mmb/nsh/defconfig b/configs/pic32mx7mmb/nsh/defconfig
index 05236365633..c55e8020939 100644
--- a/configs/pic32mx7mmb/nsh/defconfig
+++ b/configs/pic32mx7mmb/nsh/defconfig
@@ -215,7 +215,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pic32mx7mmb/ostest/defconfig b/configs/pic32mx7mmb/ostest/defconfig
index 851f6022f28..a2e653a563e 100644
--- a/configs/pic32mx7mmb/ostest/defconfig
+++ b/configs/pic32mx7mmb/ostest/defconfig
@@ -215,7 +215,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/pjrc-8051/defconfig b/configs/pjrc-8051/defconfig
index 0232376cf29..c223f64e18d 100644
--- a/configs/pjrc-8051/defconfig
+++ b/configs/pjrc-8051/defconfig
@@ -66,7 +66,6 @@ CONFIG_LED_DEBUG=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/qemu-i486/nsh/defconfig b/configs/qemu-i486/nsh/defconfig
index 9085eb5fa4d..b693c94f76e 100644
--- a/configs/qemu-i486/nsh/defconfig
+++ b/configs/qemu-i486/nsh/defconfig
@@ -195,7 +195,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/qemu-i486/ostest/defconfig b/configs/qemu-i486/ostest/defconfig
index a9867fdc984..63c27a23172 100644
--- a/configs/qemu-i486/ostest/defconfig
+++ b/configs/qemu-i486/ostest/defconfig
@@ -127,7 +127,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/rgmp/arm/default/defconfig b/configs/rgmp/arm/default/defconfig
index 186c687248e..a78500bf4cb 100644
--- a/configs/rgmp/arm/default/defconfig
+++ b/configs/rgmp/arm/default/defconfig
@@ -124,7 +124,6 @@ CONFIG_ARCH_STDBOOL_H=y
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# Sizes of configurable things (0 disables)
diff --git a/configs/rgmp/arm/nsh/defconfig b/configs/rgmp/arm/nsh/defconfig
index 8fbbc7b8b49..bee14b0a2a7 100644
--- a/configs/rgmp/arm/nsh/defconfig
+++ b/configs/rgmp/arm/nsh/defconfig
@@ -124,7 +124,6 @@ CONFIG_ARCH_STDBOOL_H=y
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# Sizes of configurable things (0 disables)
diff --git a/configs/rgmp/x86/default/defconfig b/configs/rgmp/x86/default/defconfig
index 9b4b58d89c3..e36c397661d 100644
--- a/configs/rgmp/x86/default/defconfig
+++ b/configs/rgmp/x86/default/defconfig
@@ -124,7 +124,6 @@ CONFIG_ARCH_STDBOOL_H=y
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# Sizes of configurable things (0 disables)
diff --git a/configs/rgmp/x86/nsh/defconfig b/configs/rgmp/x86/nsh/defconfig
index 7af320ff72e..6afe9c9a9eb 100644
--- a/configs/rgmp/x86/nsh/defconfig
+++ b/configs/rgmp/x86/nsh/defconfig
@@ -124,7 +124,6 @@ CONFIG_ARCH_STDBOOL_H=y
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sam3u-ek/knsh/defconfig b/configs/sam3u-ek/knsh/defconfig
index 9aba512edfd..416ca3fa3ad 100755
--- a/configs/sam3u-ek/knsh/defconfig
+++ b/configs/sam3u-ek/knsh/defconfig
@@ -144,7 +144,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# Setup for a two-pass build
diff --git a/configs/sam3u-ek/nsh/defconfig b/configs/sam3u-ek/nsh/defconfig
index 02b98041831..69a2081ff22 100755
--- a/configs/sam3u-ek/nsh/defconfig
+++ b/configs/sam3u-ek/nsh/defconfig
@@ -139,7 +139,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/sam3u-ek/nx/defconfig b/configs/sam3u-ek/nx/defconfig
index 82e9e3cbc40..aae6aa5fa1d 100755
--- a/configs/sam3u-ek/nx/defconfig
+++ b/configs/sam3u-ek/nx/defconfig
@@ -139,7 +139,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/sam3u-ek/ostest/defconfig b/configs/sam3u-ek/ostest/defconfig
index da582acb65d..14b8eaa6ee0 100755
--- a/configs/sam3u-ek/ostest/defconfig
+++ b/configs/sam3u-ek/ostest/defconfig
@@ -140,7 +140,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/sam3u-ek/touchscreen/defconfig b/configs/sam3u-ek/touchscreen/defconfig
index f3ced72cc45..cd1fec7d1d4 100755
--- a/configs/sam3u-ek/touchscreen/defconfig
+++ b/configs/sam3u-ek/touchscreen/defconfig
@@ -146,7 +146,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/shenzhou/nsh/defconfig b/configs/shenzhou/nsh/defconfig
index fdc065c48ee..b37da788e32 100644
--- a/configs/shenzhou/nsh/defconfig
+++ b/configs/shenzhou/nsh/defconfig
@@ -452,7 +452,6 @@ CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/shenzhou/nxwm/defconfig b/configs/shenzhou/nxwm/defconfig
index e4316d1fe79..a5ccc8bfbe8 100644
--- a/configs/shenzhou/nxwm/defconfig
+++ b/configs/shenzhou/nxwm/defconfig
@@ -552,7 +552,6 @@ CONFIG_STDIO_BUFFER_SIZE=64
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/shenzhou/thttpd/defconfig b/configs/shenzhou/thttpd/defconfig
index 5fd158cc645..82884f4c3f6 100644
--- a/configs/shenzhou/thttpd/defconfig
+++ b/configs/shenzhou/thttpd/defconfig
@@ -452,7 +452,6 @@ CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/sim/mount/defconfig b/configs/sim/mount/defconfig
index b980b38ddaa..7caa878525d 100644
--- a/configs/sim/mount/defconfig
+++ b/configs/sim/mount/defconfig
@@ -118,7 +118,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/nettest/defconfig b/configs/sim/nettest/defconfig
index d724046409c..c216e2edc80 100644
--- a/configs/sim/nettest/defconfig
+++ b/configs/sim/nettest/defconfig
@@ -118,7 +118,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/nsh/defconfig b/configs/sim/nsh/defconfig
index cd1fc8c7b38..a217dd71d73 100644
--- a/configs/sim/nsh/defconfig
+++ b/configs/sim/nsh/defconfig
@@ -143,7 +143,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/nsh2/defconfig b/configs/sim/nsh2/defconfig
index 787e388c7d9..0e93cd48106 100644
--- a/configs/sim/nsh2/defconfig
+++ b/configs/sim/nsh2/defconfig
@@ -153,7 +153,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/nx/defconfig b/configs/sim/nx/defconfig
index 5b48d72a716..d5cad6741b2 100644
--- a/configs/sim/nx/defconfig
+++ b/configs/sim/nx/defconfig
@@ -129,7 +129,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/nx11/defconfig b/configs/sim/nx11/defconfig
index 43d57bd50a7..0ac3362be2d 100644
--- a/configs/sim/nx11/defconfig
+++ b/configs/sim/nx11/defconfig
@@ -136,7 +136,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/nxffs/defconfig b/configs/sim/nxffs/defconfig
index c30227bd840..79f5b0f93a9 100644
--- a/configs/sim/nxffs/defconfig
+++ b/configs/sim/nxffs/defconfig
@@ -119,7 +119,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/nxwm/defconfig b/configs/sim/nxwm/defconfig
index d34202e05c6..9029b3b2f14 100644
--- a/configs/sim/nxwm/defconfig
+++ b/configs/sim/nxwm/defconfig
@@ -153,7 +153,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/ostest/defconfig b/configs/sim/ostest/defconfig
index 0d3669a25bd..a2fbd9f0503 100644
--- a/configs/sim/ostest/defconfig
+++ b/configs/sim/ostest/defconfig
@@ -118,7 +118,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/pashello/defconfig b/configs/sim/pashello/defconfig
index e3cf3a7b5bd..b40ec626ec0 100644
--- a/configs/sim/pashello/defconfig
+++ b/configs/sim/pashello/defconfig
@@ -118,7 +118,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/sim/touchscreen/defconfig b/configs/sim/touchscreen/defconfig
index b112449b39c..6a2e3e304dd 100644
--- a/configs/sim/touchscreen/defconfig
+++ b/configs/sim/touchscreen/defconfig
@@ -135,7 +135,6 @@ CONFIG_ARCH_BZERO=n
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=y
#
# Sizes of configurable things (0 disables)
diff --git a/configs/skp16c26/ostest/defconfig b/configs/skp16c26/ostest/defconfig
index 8cb2eb4691d..f3370d48cbf 100644
--- a/configs/skp16c26/ostest/defconfig
+++ b/configs/skp16c26/ostest/defconfig
@@ -93,7 +93,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=y
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/RIDE/defconfig b/configs/stm3210e-eval/RIDE/defconfig
index f4593d5ea08..7032bd975b9 100755
--- a/configs/stm3210e-eval/RIDE/defconfig
+++ b/configs/stm3210e-eval/RIDE/defconfig
@@ -165,7 +165,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/buttons/defconfig b/configs/stm3210e-eval/buttons/defconfig
index ac3f1088746..37b1cf968c3 100644
--- a/configs/stm3210e-eval/buttons/defconfig
+++ b/configs/stm3210e-eval/buttons/defconfig
@@ -176,7 +176,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/composite/defconfig b/configs/stm3210e-eval/composite/defconfig
index 18c2164d363..fa485f4df5b 100755
--- a/configs/stm3210e-eval/composite/defconfig
+++ b/configs/stm3210e-eval/composite/defconfig
@@ -174,7 +174,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/nsh/defconfig b/configs/stm3210e-eval/nsh/defconfig
index facfe105a11..1341c589169 100755
--- a/configs/stm3210e-eval/nsh/defconfig
+++ b/configs/stm3210e-eval/nsh/defconfig
@@ -174,7 +174,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/nsh2/defconfig b/configs/stm3210e-eval/nsh2/defconfig
index c30691cc98b..0ce49deb5c1 100644
--- a/configs/stm3210e-eval/nsh2/defconfig
+++ b/configs/stm3210e-eval/nsh2/defconfig
@@ -217,7 +217,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/nx/defconfig b/configs/stm3210e-eval/nx/defconfig
index 0833e7a787f..6569c9a652f 100644
--- a/configs/stm3210e-eval/nx/defconfig
+++ b/configs/stm3210e-eval/nx/defconfig
@@ -174,7 +174,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/nxconsole/defconfig b/configs/stm3210e-eval/nxconsole/defconfig
index 637967efc53..070bcde42af 100644
--- a/configs/stm3210e-eval/nxconsole/defconfig
+++ b/configs/stm3210e-eval/nxconsole/defconfig
@@ -174,7 +174,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/nxlines/defconfig b/configs/stm3210e-eval/nxlines/defconfig
index 0a124407af5..8517f45e52b 100644
--- a/configs/stm3210e-eval/nxlines/defconfig
+++ b/configs/stm3210e-eval/nxlines/defconfig
@@ -174,7 +174,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/nxtext/defconfig b/configs/stm3210e-eval/nxtext/defconfig
index 14e20946e49..d554a0a7a9f 100644
--- a/configs/stm3210e-eval/nxtext/defconfig
+++ b/configs/stm3210e-eval/nxtext/defconfig
@@ -174,7 +174,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/ostest/defconfig b/configs/stm3210e-eval/ostest/defconfig
index 8585235ec40..abb4b925cae 100755
--- a/configs/stm3210e-eval/ostest/defconfig
+++ b/configs/stm3210e-eval/ostest/defconfig
@@ -186,7 +186,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/pm/defconfig b/configs/stm3210e-eval/pm/defconfig
index f7ae420e4f6..00d307c64c1 100644
--- a/configs/stm3210e-eval/pm/defconfig
+++ b/configs/stm3210e-eval/pm/defconfig
@@ -227,7 +227,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/usbserial/defconfig b/configs/stm3210e-eval/usbserial/defconfig
index ac3ff1c9a36..0672be24d9a 100755
--- a/configs/stm3210e-eval/usbserial/defconfig
+++ b/configs/stm3210e-eval/usbserial/defconfig
@@ -175,7 +175,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3210e-eval/usbstorage/defconfig b/configs/stm3210e-eval/usbstorage/defconfig
index 160d9523705..57facca011a 100755
--- a/configs/stm3210e-eval/usbstorage/defconfig
+++ b/configs/stm3210e-eval/usbstorage/defconfig
@@ -174,7 +174,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3220g-eval/dhcpd/defconfig b/configs/stm3220g-eval/dhcpd/defconfig
index 762607bd057..39f2427fd70 100644
--- a/configs/stm3220g-eval/dhcpd/defconfig
+++ b/configs/stm3220g-eval/dhcpd/defconfig
@@ -228,7 +228,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3220g-eval/nettest/defconfig b/configs/stm3220g-eval/nettest/defconfig
index 9262e8c24e5..a186ad67ceb 100644
--- a/configs/stm3220g-eval/nettest/defconfig
+++ b/configs/stm3220g-eval/nettest/defconfig
@@ -228,7 +228,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3220g-eval/nsh/defconfig b/configs/stm3220g-eval/nsh/defconfig
index ca1d914de2c..92741b91fb9 100644
--- a/configs/stm3220g-eval/nsh/defconfig
+++ b/configs/stm3220g-eval/nsh/defconfig
@@ -251,7 +251,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3220g-eval/nsh2/defconfig b/configs/stm3220g-eval/nsh2/defconfig
index 324c920d720..98b8b1923e8 100644
--- a/configs/stm3220g-eval/nsh2/defconfig
+++ b/configs/stm3220g-eval/nsh2/defconfig
@@ -251,7 +251,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3220g-eval/nxwm/defconfig b/configs/stm3220g-eval/nxwm/defconfig
index 41f365257e3..32d9c31ebbc 100644
--- a/configs/stm3220g-eval/nxwm/defconfig
+++ b/configs/stm3220g-eval/nxwm/defconfig
@@ -251,7 +251,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3220g-eval/ostest/defconfig b/configs/stm3220g-eval/ostest/defconfig
index b8663a72a9c..2f69fdc24b8 100644
--- a/configs/stm3220g-eval/ostest/defconfig
+++ b/configs/stm3220g-eval/ostest/defconfig
@@ -228,7 +228,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3220g-eval/telnetd/defconfig b/configs/stm3220g-eval/telnetd/defconfig
index 28670bb4763..c41c3708812 100644
--- a/configs/stm3220g-eval/telnetd/defconfig
+++ b/configs/stm3220g-eval/telnetd/defconfig
@@ -228,7 +228,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/dhcpd/defconfig b/configs/stm3240g-eval/dhcpd/defconfig
index e33b62f871a..dd0342d70bc 100644
--- a/configs/stm3240g-eval/dhcpd/defconfig
+++ b/configs/stm3240g-eval/dhcpd/defconfig
@@ -234,7 +234,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/discover/defconfig b/configs/stm3240g-eval/discover/defconfig
index 7c1163b9b4c..d7165573c9f 100644
--- a/configs/stm3240g-eval/discover/defconfig
+++ b/configs/stm3240g-eval/discover/defconfig
@@ -472,7 +472,6 @@ CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/stm3240g-eval/nettest/defconfig b/configs/stm3240g-eval/nettest/defconfig
index 813912b848b..5c5053dda80 100644
--- a/configs/stm3240g-eval/nettest/defconfig
+++ b/configs/stm3240g-eval/nettest/defconfig
@@ -234,7 +234,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/nsh/defconfig b/configs/stm3240g-eval/nsh/defconfig
index 8c7c290782a..1501e32d1b9 100644
--- a/configs/stm3240g-eval/nsh/defconfig
+++ b/configs/stm3240g-eval/nsh/defconfig
@@ -256,7 +256,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/nsh2/defconfig b/configs/stm3240g-eval/nsh2/defconfig
index 53b0896d819..4e5eff8bd84 100644
--- a/configs/stm3240g-eval/nsh2/defconfig
+++ b/configs/stm3240g-eval/nsh2/defconfig
@@ -258,7 +258,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/nxconsole/defconfig b/configs/stm3240g-eval/nxconsole/defconfig
index f87acc69e42..5eada6ab2b5 100644
--- a/configs/stm3240g-eval/nxconsole/defconfig
+++ b/configs/stm3240g-eval/nxconsole/defconfig
@@ -257,7 +257,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/nxwm/defconfig b/configs/stm3240g-eval/nxwm/defconfig
index d1fa395ddb9..39ffcd07d36 100644
--- a/configs/stm3240g-eval/nxwm/defconfig
+++ b/configs/stm3240g-eval/nxwm/defconfig
@@ -257,7 +257,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/ostest/defconfig b/configs/stm3240g-eval/ostest/defconfig
index cc7a9ac58bc..3c29fca51c6 100644
--- a/configs/stm3240g-eval/ostest/defconfig
+++ b/configs/stm3240g-eval/ostest/defconfig
@@ -233,7 +233,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/telnetd/defconfig b/configs/stm3240g-eval/telnetd/defconfig
index 4ab86aeb998..8d5b4497449 100644
--- a/configs/stm3240g-eval/telnetd/defconfig
+++ b/configs/stm3240g-eval/telnetd/defconfig
@@ -234,7 +234,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/webserver/defconfig b/configs/stm3240g-eval/webserver/defconfig
index 8921d503ced..1ea4cf94383 100644
--- a/configs/stm3240g-eval/webserver/defconfig
+++ b/configs/stm3240g-eval/webserver/defconfig
@@ -257,7 +257,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm3240g-eval/xmlrpc/defconfig b/configs/stm3240g-eval/xmlrpc/defconfig
index 20639dac42d..308203e273f 100644
--- a/configs/stm3240g-eval/xmlrpc/defconfig
+++ b/configs/stm3240g-eval/xmlrpc/defconfig
@@ -465,7 +465,6 @@ CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/stm32f4discovery/elf/defconfig b/configs/stm32f4discovery/elf/defconfig
index 6d72e4a9ee2..5bbef5e73a1 100644
--- a/configs/stm32f4discovery/elf/defconfig
+++ b/configs/stm32f4discovery/elf/defconfig
@@ -397,7 +397,6 @@ CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/stm32f4discovery/nsh/defconfig b/configs/stm32f4discovery/nsh/defconfig
index c216c5997c7..4461c08ce29 100644
--- a/configs/stm32f4discovery/nsh/defconfig
+++ b/configs/stm32f4discovery/nsh/defconfig
@@ -239,7 +239,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm32f4discovery/nxlines/defconfig b/configs/stm32f4discovery/nxlines/defconfig
index e1e4f213160..737b015b1f3 100644
--- a/configs/stm32f4discovery/nxlines/defconfig
+++ b/configs/stm32f4discovery/nxlines/defconfig
@@ -239,7 +239,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/stm32f4discovery/ostest/defconfig b/configs/stm32f4discovery/ostest/defconfig
index 16836573035..ccd9c648aad 100644
--- a/configs/stm32f4discovery/ostest/defconfig
+++ b/configs/stm32f4discovery/ostest/defconfig
@@ -387,7 +387,6 @@ CONFIG_SYMTAB_ORDEREDBYNAME=y
CONFIG_STDIO_BUFFER_SIZE=256
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
-# CONFIG_HAVE_LIBM is not set
# CONFIG_NOPRINTF_FIELDWIDTH is not set
# CONFIG_LIBC_FLOATINGPOINT is not set
# CONFIG_EOL_IS_CR is not set
diff --git a/configs/stm32f4discovery/pm/defconfig b/configs/stm32f4discovery/pm/defconfig
index 07a99c764dc..6785ec46ede 100644
--- a/configs/stm32f4discovery/pm/defconfig
+++ b/configs/stm32f4discovery/pm/defconfig
@@ -240,7 +240,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/sure-pic32mx/nsh/defconfig b/configs/sure-pic32mx/nsh/defconfig
index 8025f968c3d..ae7b4b83e36 100644
--- a/configs/sure-pic32mx/nsh/defconfig
+++ b/configs/sure-pic32mx/nsh/defconfig
@@ -162,7 +162,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/sure-pic32mx/ostest/defconfig b/configs/sure-pic32mx/ostest/defconfig
index f3c3fee36bd..95c04485108 100644
--- a/configs/sure-pic32mx/ostest/defconfig
+++ b/configs/sure-pic32mx/ostest/defconfig
@@ -156,7 +156,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/sure-pic32mx/usbnsh/defconfig b/configs/sure-pic32mx/usbnsh/defconfig
index cdebb2953b5..cfdc83d4bee 100644
--- a/configs/sure-pic32mx/usbnsh/defconfig
+++ b/configs/sure-pic32mx/usbnsh/defconfig
@@ -162,7 +162,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/teensy/hello/defconfig b/configs/teensy/hello/defconfig
index 83176f57e92..05349bf4738 100644
--- a/configs/teensy/hello/defconfig
+++ b/configs/teensy/hello/defconfig
@@ -105,7 +105,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/teensy/nsh/defconfig b/configs/teensy/nsh/defconfig
index 0908f024307..f8e71d7e945 100755
--- a/configs/teensy/nsh/defconfig
+++ b/configs/teensy/nsh/defconfig
@@ -105,7 +105,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/teensy/usbstorage/defconfig b/configs/teensy/usbstorage/defconfig
index 94cc301db31..08b8fd842e3 100755
--- a/configs/teensy/usbstorage/defconfig
+++ b/configs/teensy/usbstorage/defconfig
@@ -105,7 +105,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/twr-k60n512/nsh/defconfig b/configs/twr-k60n512/nsh/defconfig
index d8ccd6a6d3d..d4b8f77fa85 100644
--- a/configs/twr-k60n512/nsh/defconfig
+++ b/configs/twr-k60n512/nsh/defconfig
@@ -171,7 +171,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/twr-k60n512/ostest/defconfig b/configs/twr-k60n512/ostest/defconfig
index 8909add1348..8505ac12d8a 100644
--- a/configs/twr-k60n512/ostest/defconfig
+++ b/configs/twr-k60n512/ostest/defconfig
@@ -171,7 +171,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ubw32/nsh/defconfig b/configs/ubw32/nsh/defconfig
index afa4e10c8a1..a6fe0051d4f 100644
--- a/configs/ubw32/nsh/defconfig
+++ b/configs/ubw32/nsh/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/ubw32/ostest/defconfig b/configs/ubw32/ostest/defconfig
index 0849fe800e6..857684409ef 100644
--- a/configs/ubw32/ostest/defconfig
+++ b/configs/ubw32/ostest/defconfig
@@ -155,7 +155,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/us7032evb1/nsh/defconfig b/configs/us7032evb1/nsh/defconfig
index 02d42aebe55..7dd5dc6983f 100644
--- a/configs/us7032evb1/nsh/defconfig
+++ b/configs/us7032evb1/nsh/defconfig
@@ -95,7 +95,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=y
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/us7032evb1/ostest/defconfig b/configs/us7032evb1/ostest/defconfig
index f92a55461e9..286c6199898 100644
--- a/configs/us7032evb1/ostest/defconfig
+++ b/configs/us7032evb1/ostest/defconfig
@@ -95,7 +95,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=y
CONFIG_RAW_BINARY=y
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/vsn/nsh/defconfig b/configs/vsn/nsh/defconfig
index 8c59b429812..a43deab6f15 100755
--- a/configs/vsn/nsh/defconfig
+++ b/configs/vsn/nsh/defconfig
@@ -214,7 +214,6 @@ CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=y
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/xtrs/nsh/defconfig b/configs/xtrs/nsh/defconfig
index b8bd5d6f285..7065ad8d5c9 100644
--- a/configs/xtrs/nsh/defconfig
+++ b/configs/xtrs/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_UART_TXBUFSIZE=256
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
CONFIG_LINKER_START_AREA=0x5200
CONFIG_LINKER_CODE_AREA=0x5300
diff --git a/configs/xtrs/ostest/defconfig b/configs/xtrs/ostest/defconfig
index 9c88c5d8fba..5759b9105f3 100644
--- a/configs/xtrs/ostest/defconfig
+++ b/configs/xtrs/ostest/defconfig
@@ -55,7 +55,6 @@ CONFIG_UART_TXBUFSIZE=256
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
CONFIG_LINKER_START_AREA=0x5200
CONFIG_LINKER_CODE_AREA=0x5300
diff --git a/configs/xtrs/pashello/defconfig b/configs/xtrs/pashello/defconfig
index d187ccec58a..0d80ec0741d 100644
--- a/configs/xtrs/pashello/defconfig
+++ b/configs/xtrs/pashello/defconfig
@@ -55,7 +55,6 @@ CONFIG_UART_TXBUFSIZE=256
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
CONFIG_LINKER_START_AREA=0x5200
CONFIG_LINKER_CODE_AREA=0x5300
diff --git a/configs/z16f2800100zcog/ostest/defconfig b/configs/z16f2800100zcog/ostest/defconfig
index 24cca2a6aad..0bfb09ea818 100644
--- a/configs/z16f2800100zcog/ostest/defconfig
+++ b/configs/z16f2800100zcog/ostest/defconfig
@@ -73,7 +73,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/z16f2800100zcog/pashello/defconfig b/configs/z16f2800100zcog/pashello/defconfig
index daf98c7d6e8..1c2fb80f200 100644
--- a/configs/z16f2800100zcog/pashello/defconfig
+++ b/configs/z16f2800100zcog/pashello/defconfig
@@ -73,7 +73,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/z80sim/nsh/defconfig b/configs/z80sim/nsh/defconfig
index 87195b6e866..5dd0cdc4b36 100644
--- a/configs/z80sim/nsh/defconfig
+++ b/configs/z80sim/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_UART_TXBUFSIZE=64
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/z80sim/ostest/defconfig b/configs/z80sim/ostest/defconfig
index 4fbca2e16a9..9fa525259e1 100644
--- a/configs/z80sim/ostest/defconfig
+++ b/configs/z80sim/ostest/defconfig
@@ -55,7 +55,6 @@ CONFIG_UART_TXBUFSIZE=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/z80sim/pashello/defconfig b/configs/z80sim/pashello/defconfig
index 1c50f71ff02..db32f93fb89 100644
--- a/configs/z80sim/pashello/defconfig
+++ b/configs/z80sim/pashello/defconfig
@@ -55,7 +55,6 @@ CONFIG_UART_TXBUFSIZE=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/z8encore000zco/ostest/defconfig b/configs/z8encore000zco/ostest/defconfig
index 2fb427105f7..35ed60abad9 100644
--- a/configs/z8encore000zco/ostest/defconfig
+++ b/configs/z8encore000zco/ostest/defconfig
@@ -71,7 +71,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/configs/z8f64200100kit/ostest/defconfig b/configs/z8f64200100kit/ostest/defconfig
index d9c5a51a5b4..33843469866 100644
--- a/configs/z8f64200100kit/ostest/defconfig
+++ b/configs/z8f64200100kit/ostest/defconfig
@@ -71,7 +71,6 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n
-CONFIG_HAVE_LIBM=n
#
# General OS setup
diff --git a/lib/Kconfig b/lib/Kconfig
index ddd5e2dde5b..77cf626656f 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -30,12 +30,27 @@ config LIB_HOMEDIR
---help---
The home directory to use with operations like such as 'cd ~'
-config HAVE_LIBM
- bool "Architecture-specific libm.a"
+config LIBM
+ bool "Math library"
default n
+ depends on !ARCH_MATH_H
---help---
- Architecture specific logic provides an implementation of libm.a
- and a math.h header file that can be found at include/arch/math.h.
+ By default, no math library will be provided by NuttX. In this this case, it
+ is assumed that (1) no math library is required, or (2) you will be using the
+ math.h header file and the libm library provided by your toolchain.
+
+ This is may be a very good choice is possible because your toolchain may have
+ have a highly optimized version of libm.
+
+ Another possibility is that you have a custom, architecture-specific math
+ libary and that the corresponding math.h file resides at arch/