From d7598f178d2ca5d638da1b7fe819bd6cb040dc59 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Thu, 17 Sep 2009 21:24:22 +0200 Subject: Toolchain: Initial work in order to support uClibc Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/toolchain.kconfig | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'kconfig') diff --git a/kconfig/toolchain.kconfig b/kconfig/toolchain.kconfig index 45de866..6efa032 100644 --- a/kconfig/toolchain.kconfig +++ b/kconfig/toolchain.kconfig @@ -22,8 +22,30 @@ # \date July 2009 ################################################################################ -menu "EGLIBC C library" +menu "C library to use" +choice + prompt "Choose which C library to use" + help + Choose here which C library your toolchain will use. + config EMBTK_CLIB_EGLIBC + bool "eglibc" + help + EGLIBC is suitable for source and binary compatibility with + glibc, but care is also taken to satisfy embedded systems + constraints. + see http://www.eglibc.org for more information about eglibc. + config EMBTK_CLIB_UCLIBC + bool "uClibc" + help + uClibc is suitable for high memory constraints and MMU-less + embedded systems. But compatibility with glibc is not guaranted + and even between different uClibc versions. + see http://www.uclibc.org for more information about uclibc. +endchoice + +if EMBTK_CLIB_EGLIBC source "kconfig/eglibc.kconfig" +endif endmenu menu "GCC compiler" -- cgit v1.2.3