libc: Make libc-nano default for ARM toolchain if newlib

The ARM embedded toolchain has 2 newlib based libc build variants, one
that utilizes the "nano" configuration which is more in line with the
Zephyr SDK.  Make the "nano" cfg the default if newlib is enabled to
match closer how the Zephyr SDK behaves.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-08-27 08:02:14 -05:00 committed by Kumar Gala
commit 749ca106a0

View file

@ -19,6 +19,7 @@ if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "gnuarmemb"
config NEWLIB_LIBC_NANO config NEWLIB_LIBC_NANO
bool "Build with newlib-nano c library" bool "Build with newlib-nano c library"
depends on NEWLIB_LIBC depends on NEWLIB_LIBC
default y
help help
Build with newlib-nano library, for small embedded apps. Build with newlib-nano library, for small embedded apps.
The newlib-nano library for ARM embedded processors is a part of the The newlib-nano library for ARM embedded processors is a part of the