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-08 17:02:44 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-08 17:02:44 (GMT)
commit53892de14c1a5fb76f0e342428aafa6e6932062a (patch)
treea45acd39bfd0143437240827b22e84b9df34f772 /config/libc/glibc-eglibc.in-common
parenta43bb564aef99765e323e89d2dd7a564e65fbbe0 (diff)
config: fix recursive deps
The latest kconfig stuff is more stringent when it comes to validating the dependency of the symbols. It is no longer possible to have a symbol depend on itself (such as our construct for arch/cc/libc/... was doing). Fix our generated-file infrastructure to avoid these situations when the new kconfig stuff will be merged (in a following changeset). 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-common21
1 files changed, 9 insertions, 12 deletions
diff --git a/config/libc/glibc-eglibc.in-common b/config/libc/glibc-eglibc.in-common
index 89b85eb..7b75fcb 100644
--- a/config/libc/glibc-eglibc.in-common
+++ b/config/libc/glibc-eglibc.in-common
@@ -3,23 +3,20 @@
if LIBC_glibc || LIBC_eglibc
-# Force using the BFD linker during the toolchain build
-config LIBC_glibc_familly
- bool
- default y
- select BINUTILS_FORCE_LD_BFD
-
# 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/*
-
-config ARCH_arm
- select LIBC_GLIBC_USE_PORTS
-
-config ARCH_mips
+config LIBC_GLIBC_MAY_FORCE_PORTS
+ bool
+ default y if ARCH_arm
+ default y if ARCH_mips
select LIBC_GLIBC_USE_PORTS
-# End of arch-specific ports auto-select
+# Force using the BFD linker during the toolchain build
+config LIBC_glibc_familly
+ bool
+ default y
+ select BINUTILS_FORCE_LD_BFD
comment "glibc/eglibc common options"