summaryrefslogtreecommitdiff
path: root/config/libc/glibc-eglibc.in-common
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-09 18:15:39 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-09 18:15:39 (GMT)
commitf6037420148fda52e452637fa261fd295879d5e0 (patch)
tree49f4defd81a44e0d153e5ca4ff34fc4bbc340a3f /config/libc/glibc-eglibc.in-common
parent82250e56c7e218ef03298a04743573c8705147d4 (diff)
libc/glibc: use the multi-inclusion capability of the new kconfig
Now that kconfig can include a file multiple times, link the glibc/eglibc common stuff to two .in.2 files. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/libc/glibc-eglibc.in-common')
-rw-r--r--config/libc/glibc-eglibc.in-common8
1 files changed, 1 insertions, 7 deletions
diff --git a/config/libc/glibc-eglibc.in-common b/config/libc/glibc-eglibc.in-common
index 7b75fcb..f3310a7 100644
--- a/config/libc/glibc-eglibc.in-common
+++ b/config/libc/glibc-eglibc.in-common
@@ -1,8 +1,6 @@
# This file contains the common configuration options
# that apply to both glibc and eglibc.
-if LIBC_glibc || LIBC_eglibc
-
# 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/*
@@ -18,8 +16,6 @@ config LIBC_glibc_familly
default y
select BINUTILS_FORCE_LD_BFD
-comment "glibc/eglibc common options"
-
config LIBC_GLIBC_EXTRA_CONFIG
string
prompt "extra config"
@@ -152,7 +148,7 @@ endif
if KERNEL_linux
-choice
+choice LIBC_GLIBC_SUPPORTED_KERNEL
bool
prompt "Minimum supported kernel version"
default LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS
@@ -247,5 +243,3 @@ config LIBC_GLIBC_MIN_KERNEL
default LIBC_GLIBC_MIN_KERNEL_VERSION if LIBC_GLIBC_KERNEL_VERSION_CHOSEN
endif # KERNEL_linux
-
-endif # LIBC_glibc || LIBC_eglibc