Kbuild: enable toolchain newlib library instead of minimal libc

This options allows us to link against newlib instead of the
integrated minimal c library.

Change-Id: I20990354d74c08f2f6348f0aeea452b8f0f4c8e9
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-05-18 08:57:17 -04:00
commit 19f0ff2756
6 changed files with 124 additions and 2 deletions

12
Kconfig
View file

@ -15,15 +15,25 @@ config CROSS_COMPILE
default make runs in this kernel build directory. You don't
need to set this unless you want the configured kernel build
directory to select the cross-compiler automatically.
endmenu
config MINIMAL_LIBC
bool
prompt "Build minimal c library"
default y
depends on !NEWLIB
help
Build integrated minimal c library.
config TOOLCHAIN_NEWLIB
bool
prompt "Build with newlib c library"
depends on !MINIMAL_LIBC
default n
help
Build with newlib library. The newlib library is expected to be
part of the SDK in this case.
endmenu
menu "Debugging Options"
config STDOUT_CONSOLE