summaryrefslogtreecommitdiff
path: root/config/libc/glibc.in.2
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc/glibc.in.2')
-rw-r--r--config/libc/glibc.in.266
1 files changed, 21 insertions, 45 deletions
diff --git a/config/libc/glibc.in.2 b/config/libc/glibc.in.2
index 93b7b59..f1c224c 100644
--- a/config/libc/glibc.in.2
+++ b/config/libc/glibc.in.2
@@ -1,31 +1,7 @@
# This file contains the common configuration options
# that apply to both glibc.
-# Some architectures require the ports addon. List them one by one here:
-# This list must be carefully in sync with the architectures names
-# we can find in config/arch/*
-
-# Ports were integrated into the main tarball in 2.17
-config LIBC_GLIBC_PORTS_EXTERNAL
- def_bool y
- depends on !LIBC_GLIBC_2_17_or_later
-
-config LIBC_GLIBC_NEEDS_PORTS
- def_bool y
- depends on ARCH_alpha || ARCH_arm || ARCH_m68k || ARCH_mips || ARCH_powerpc
-
-# Ports are no longer an add-on starting with 2.20
-config LIBC_GLIBC_USE_PORTS
- def_bool y
- depends on LIBC_GLIBC_NEEDS_PORTS && !LIBC_GLIBC_2_20_or_later
-
-# Force using the BFD linker during the toolchain build
-config LIBC_glibc_family
- bool
- default y
- select BINUTILS_FORCE_LD_BFD_DEFAULT
-
-config LIBC_GLIBC_EXTRA_CONFIG_ARRAY
+config GLIBC_EXTRA_CONFIG_ARRAY
string
prompt "extra config"
default ""
@@ -36,7 +12,7 @@ config LIBC_GLIBC_EXTRA_CONFIG_ARRAY
if they are properly quoted (or escaped, but prefer quotes). Eg.:
--with-foo="1st arg with 4 spaces" --with-bar=2nd-arg-without-space
-config LIBC_GLIBC_CONFIGPARMS
+config GLIBC_CONFIGPARMS
string
prompt "Extra config params (READ HELP)"
default "" if ! ARCH_sh
@@ -51,14 +27,14 @@ config LIBC_GLIBC_CONFIGPARMS
Note: If you need to pass more than one value, separate them with
'\n'. Eg.: var1=val1\nvar2=val2
-config LIBC_GLIBC_EXTRA_CFLAGS
+config GLIBC_EXTRA_CFLAGS
string
prompt "extra target CFLAGS"
default ""
help
Extra target CFLAGS to use when building.
-config LIBC_ENABLE_FORTIFIED_BUILD
+config GLIBC_ENABLE_FORTIFIED_BUILD
bool
prompt "Enable fortified build (EXPERIMENTAL)"
depends on EXPERIMENTAL
@@ -78,13 +54,13 @@ config LIBC_ENABLE_FORTIFIED_BUILD
here. Otherwise, be still and say 'n' (the default). ;-)
-config LIBC_DISABLE_VERSIONING
+config GLIBC_DISABLE_VERSIONING
bool
prompt "Disable symbols versioning"
help
Do not include versioning information in the library objects.
-config LIBC_OLDEST_ABI
+config GLIBC_OLDEST_ABI
string
prompt "Oldest supported ABI"
default ""
@@ -96,7 +72,7 @@ config LIBC_OLDEST_ABI
If this option is not set, (e)glibc will choose for you.
-config LIBC_GLIBC_FORCE_UNWIND
+config GLIBC_FORCE_UNWIND
bool
prompt "Force unwind support (READ HELP!)"
default y
@@ -112,7 +88,7 @@ config LIBC_GLIBC_FORCE_UNWIND
of glibc on some architectures
(seen on s390, s390x and x86_64).
-config LIBC_ADDONS_LIST
+config GLIBC_ADDONS_LIST
string
prompt "Extra addons"
default ""
@@ -128,7 +104,7 @@ config LIBC_ADDONS_LIST
Eg.: libidn
-config LIBC_LOCALES
+config GLIBC_LOCALES
bool
prompt "Build and install locales"
help
@@ -149,12 +125,12 @@ endif # LIBC_glibc && LIBC_LOCALES
if KERNEL_linux
-choice LIBC_GLIBC_SUPPORTED_KERNEL
+choice GLIBC_SUPPORTED_KERNEL
bool
prompt "Minimum supported kernel version"
- default LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
+ default GLIBC_KERNEL_VERSION_AS_HEADERS
-config LIBC_GLIBC_KERNEL_VERSION_NONE
+config GLIBC_KERNEL_VERSION_NONE
bool
prompt "Let ./configure decide"
help
@@ -172,7 +148,7 @@ config LIBC_GLIBC_KERNEL_VERSION_NONE
powerpc* Requires Linux 2.4.19
arm*-*-linux-*gnueabi Requires Linux 2.6.16
-config LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
+config GLIBC_KERNEL_VERSION_AS_HEADERS
bool
prompt "Same as kernel headers (default)"
help
@@ -195,7 +171,7 @@ config LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
chosen kernel headers version (CT_KERNEL_VERSION), you can choose
"y" here.
-config LIBC_GLIBC_KERNEL_VERSION_CHOSEN
+config GLIBC_KERNEL_VERSION_CHOSEN
bool
prompt "Specific kernel version"
help
@@ -213,9 +189,9 @@ config LIBC_GLIBC_KERNEL_VERSION_CHOSEN
Most people can leave this at the default value of "2.6.9".
-if LIBC_GLIBC_KERNEL_VERSION_CHOSEN
+if GLIBC_KERNEL_VERSION_CHOSEN
-config LIBC_GLIBC_MIN_KERNEL_VERSION
+config GLIBC_MIN_KERNEL_VERSION
string
prompt "Minimum kernel version to support"
default "2.6.9"
@@ -232,14 +208,14 @@ config LIBC_GLIBC_MIN_KERNEL_VERSION
Note that no sanity check is performed by crosstool-NG to ensure
that the value you enter here is appropriate for your target.
-endif # LIBC_GLIBC_KERNEL_VERSION_CHOSEN
+endif # GLIBC_KERNEL_VERSION_CHOSEN
endchoice
-config LIBC_GLIBC_MIN_KERNEL
+config GLIBC_MIN_KERNEL
string
- default "" if LIBC_GLIBC_KERNEL_VERSION_NONE
- default KERNEL_VERSION if LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
- default LIBC_GLIBC_MIN_KERNEL_VERSION if LIBC_GLIBC_KERNEL_VERSION_CHOSEN
+ default "" if GLIBC_KERNEL_VERSION_NONE
+ default KERNEL_VERSION if GLIBC_KERNEL_VERSION_AS_HEADERS
+ default GLIBC_MIN_KERNEL_VERSION if GLIBC_KERNEL_VERSION_CHOSEN
endif # KERNEL_linux