summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2015-05-18 08:57:17 -0400
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:14:09 -0500
commit19f0ff27569655fedf9f067d503a8addcdeb8fae (patch)
tree5a54ae9edf22688396ce32fda485a75a1c3a120b /Kconfig
parent3b9199d5d45cb42c3ae30386e7bc3e7f4caf9583 (diff)
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>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index 58e0dbe61..eb038a174 100644
--- a/Kconfig
+++ b/Kconfig
@@ -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