From 6acf5f803e1dc60015d8be310b0791c8d7bd124e Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 4 Feb 2012 12:28:25 +0100 Subject: Toolchain: uClibc: Enable some options by default Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/uclibc-kconfigs/uclibc.kconfig | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/kconfig/uclibc-kconfigs/uclibc.kconfig b/kconfig/uclibc-kconfigs/uclibc.kconfig index 4ddf2bb..8f88cb4 100644 --- a/kconfig/uclibc-kconfigs/uclibc.kconfig +++ b/kconfig/uclibc-kconfigs/uclibc.kconfig @@ -496,6 +496,7 @@ config KEMBTK_UCLIBC_COMPAT_ATEXIT config KEMBTK_UCLIBC_UCLIBC_SUSV3_LEGACY bool "Enable SuSv3 LEGACY functions" + default y #vfork, # h_errno # gethostbyaddr @@ -516,6 +517,7 @@ config KEMBTK_UCLIBC_UCLIBC_SUSV3_LEGACY config KEMBTK_UCLIBC_UCLIBC_SUSV3_LEGACY_MACROS bool "Enable SuSv3 LEGACY macros" + default y help Enable this option if you want to have SuSv3 LEGACY macros. Currently applies to bcopy/bzero/bcmp/index/rindex et al. @@ -523,6 +525,7 @@ config KEMBTK_UCLIBC_UCLIBC_SUSV3_LEGACY_MACROS config KEMBTK_UCLIBC_UCLIBC_SUSV4_LEGACY bool "Enable SuSv4 LEGACY or obsolescent functions" + default y help Enable this option if you want to have SuSv4 LEGACY functions and macros in the library. @@ -1045,6 +1048,7 @@ config KEMBTK_UCLIBC_UCLIBC_HAS_IPV4 config KEMBTK_UCLIBC_UCLIBC_HAS_IPV6 bool "IP version 6 support" + default y select KEMBTK_UCLIBC_UCLIBC_HAS_SOCKET help If you want to include support for the next version of the Internet @@ -1054,6 +1058,7 @@ config KEMBTK_UCLIBC_UCLIBC_HAS_IPV6 config KEMBTK_UCLIBC_UCLIBC_HAS_RPC bool "Remote Procedure Call (RPC) support" + default y # RPC+socket-ipvX doesn't currently work. depends on KEMBTK_UCLIBC_UCLIBC_HAS_IPV4 || KEMBTK_UCLIBC_UCLIBC_HAS_IPV6 help @@ -1065,6 +1070,7 @@ config KEMBTK_UCLIBC_UCLIBC_HAS_RPC config KEMBTK_UCLIBC_UCLIBC_HAS_FULL_RPC bool "Full RPC support" + default y depends on KEMBTK_UCLIBC_UCLIBC_HAS_RPC default y if !KEMBTK_UCLIBC_HAVE_SHARED help @@ -1074,6 +1080,7 @@ config KEMBTK_UCLIBC_UCLIBC_HAS_FULL_RPC config KEMBTK_UCLIBC_UCLIBC_HAS_REENTRANT_RPC bool "Reentrant RPC support" + default y depends on KEMBTK_UCLIBC_UCLIBC_HAS_RPC default y if !KEMBTK_UCLIBC_HAVE_SHARED help @@ -1422,10 +1429,6 @@ choice However, BUFSIZ will still be defined in stdio.h as 256 because many applications use this value. -config KEMBTK_UCLIBC_UCLIBC_HAS_STDIO_BUFSIZ_NONE - bool "none (WARNING - BUFSIZ will be 256 in stdio.h)" - depends on !KEMBTK_UCLIBC_UCLIBC_HAS_WCHAR - config KEMBTK_UCLIBC_UCLIBC_HAS_STDIO_BUFSIZ_256 bool "256 (minimum ANSI/ISO C99 value)" @@ -1448,6 +1451,11 @@ config KEMBTK_UCLIBC_UCLIBC_HAS_STDIO_BUFSIZ_8192 endchoice +config KEMBTK_UCLIBC_UCLIBC_HAS_STDIO_BUFSIZ_NONE + bool + default n + depends on !KEMBTK_UCLIBC_UCLIBC_HAS_WCHAR + choice prompt "Stdio builtin buffer size (uClibc-specific)" depends on !KEMBTK_UCLIBC_UCLIBC_HAS_STDIO_BUFSIZ_NONE -- cgit v1.2.3