diff -r b8c7e389fef9 -r d205527c5e01 config/libc/libc_glibc.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/libc/libc_glibc.in Thu Apr 17 20:26:25 2008 +0000 @@ -0,0 +1,124 @@ +# glibc options + +choice + bool + prompt "glibc version" + +config LIBC_V_2_3_6 + bool + prompt "2.3.6 (OBSOLETE)" + depends on OBSOLETE + +config LIBC_V_2_5 + bool + prompt "2.5" + +config LIBC_V_2_5_1 + bool + prompt "2.5.1" + +config LIBC_V_2_6 + bool + prompt "2.6" + +config LIBC_V_2_6_1 + bool + prompt "2.6.1" + +config LIBC_V_2_7 + bool + prompt "2.7" + depends on EXPERIMENTAL + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config LIBC_VERSION + string + default "2.3.6" if LIBC_V_2_3_6 + default "2.4" if LIBC_V_2_4 + default "2.5" if LIBC_V_2_5 + default "2.5.1" if LIBC_V_2_5_1 + default "2.6" if LIBC_V_2_6 + default "2.6.1" if LIBC_V_2_6_1 + default "2.7" if LIBC_V_2_7 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + +config LIBC_GLIBC_EXTRA_CONFIG + string + prompt "glibc extra config" + default "" + help + Extra flags to pass onto ./configure when configuring glibc. + + Eg.: --enable-static-nss + +config LIBC_GLIBC_EXTRA_CFLAGS + string + prompt "glibc extra target CFLAGS" + default "" + help + Extra target CFLAGS to use when building glibc. + +config LIBC_EXTRA_CC_ARGS + string + prompt "gcc extra flags" + default "" + help + Extra flags to pass gcc when building glibc. + + Seldom used, except for sparc64 which seems to need the flag -64 + to be passed onto gcc. + +# Please note: This is not used for now (no sh support). +config LIBC_GLIBC_CONFIGPARMS + string + prompt "Extra config params (READ HELP)" + default "" if ARCH != "sh3" && ARCH != "sh4" + default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4" + help + Some architectures need to set options in the file configparms. + This is the case for sh3/4, which really need to set configparms as of + gcc-3.4/glibc-2.3.2. + + Unless you are building a toolchain for sh3/4, you should leave that empty. + + Note: this is awkward, doesn't work well if you need more than one + line in configparms + +config LIBC_GLIBC_USE_PORTS + bool + prompt "Use the ports addon" + default n + help + The ports addon contains some architecture ports that are not available + in the official glibc distribution. + + For example, this is the case for ARM with glibc >= 2.4 + + Say n only if you're sure that your architecture is in the official + glibc distribution for your chosen version. + +config LIBC_ADDONS + bool + prompt "Pass extra addons list" + default n + help + If you say Y here, you'll be able to give the list of addons you want to + include in your C library. + +config LIBC_ADDONS_LIST + string + prompt "Extra addons" + default "" + depends on LIBC_ADDONS + help + Extra addons to include in glibc. Space separated list. + + You need to specify neither linuxthreads nor nptl, as they are added + automagically for you depending on the threading model you choosed + earlier. + + Eg.: crypt (for very old glibces)