summaryrefslogtreecommitdiff
path: root/config/libc/glibc-eglibc.in-common
diff options
context:
space:
mode:
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"