summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in111
1 files changed, 65 insertions, 46 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 8e603b2ad..fab0ddc7e 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -45,8 +45,8 @@ choice
help
The architecture of your target.
-config TARGET_alpha
- bool "alpha"
+#config TARGET_alpha
+# bool "alpha"
config TARGET_arc
bool "arc"
@@ -60,50 +60,52 @@ config TARGET_avr32
config TARGET_bfin
bool "bfin"
-config TARGET_c6x
- bool "c6x"
+# someone could sync this tree:
+# http://linux-c6x.org/git/?p=uClibc.git;a=summary
+#config TARGET_c6x
+# bool "c6x"
config TARGET_cris
bool "cris"
-config TARGET_e1
- bool "e1 (BROKEN)"
+#config TARGET_e1
+# bool "e1 (BROKEN)"
-config TARGET_frv
- bool "frv (BROKEN)"
+#config TARGET_frv
+# bool "frv (BROKEN)"
-config TARGET_h8300
- bool "h8300 (BROKEN)"
+#config TARGET_h8300
+# bool "h8300 (BROKEN)"
-config TARGET_hppa
- bool "hppa"
+#config TARGET_hppa
+# bool "hppa"
config TARGET_i386
bool "i386"
-config TARGET_i960
- bool "i960 (BROKEN)"
+#config TARGET_i960
+# bool "i960 (BROKEN)"
-config TARGET_ia64
- bool "ia64"
+#config TARGET_ia64
+# bool "ia64"
config TARGET_m68k
bool "m68k"
-config TARGET_metag
- bool "metag"
+#config TARGET_metag
+# bool "metag"
-config TARGET_microblaze
- bool "microblaze"
+#config TARGET_microblaze
+# bool "microblaze"
config TARGET_mips
bool "mips"
-config TARGET_nios
- bool "nios"
+#config TARGET_nios
+# bool "nios"
-config TARGET_nios2
- bool "nios2"
+#config TARGET_nios2
+# bool "nios2"
config TARGET_powerpc
bool "powerpc"
@@ -111,17 +113,17 @@ config TARGET_powerpc
config TARGET_sh
bool "superh"
-config TARGET_sh64
- bool "sh64"
+#config TARGET_sh64
+# bool "sh64"
config TARGET_sparc
bool "sparc"
-config TARGET_v850
- bool "v850 (BROKEN)"
+#config TARGET_v850
+# bool "v850 (BROKEN)"
-config TARGET_vax
- bool "vax"
+#config TARGET_vax
+# bool "vax"
config TARGET_x86_64
bool "x86_64"
@@ -462,7 +464,7 @@ config LDSO_NO_CLEANUP
Unless you know you need this, you should answer N.
config UCLIBC_CTOR_DTOR
- bool "Support global constructors and destructors"
+ boolean
default y
help
If you wish to build uClibc with support for global constructor
@@ -512,6 +514,16 @@ config LINUXTHREADS_OLD
bool "older (stable) version of linuxthreads"
# linuxthreads and linuxthreads.old need nanosleep()
select UCLIBC_HAS_REALTIME
+ depends on !TARGET_arc && \
+ !TARGET_arm && \
+ !TARGET_i386 && \
+ !TARGET_metag && \
+ !TARGET_mips && \
+ !TARGET_powerpc && \
+ !TARGET_sh && \
+ !TARGET_sparc && \
+ !TARGET_x86_64 && \
+ !TARGET_xtensa
help
There are two versions of linuxthreads. The older (stable) version
has been in uClibc for quite a long time but hasn't seen too many
@@ -521,6 +533,16 @@ config LINUXTHREADS_OLD
config LINUXTHREADS_NEW
bool "slightly newer version of linuxthreads"
depends on ARCH_HAS_DEPRECATED_SYSCALLS
+ depends on !TARGET_arc && \
+ !TARGET_arm && \
+ !TARGET_i386 && \
+ !TARGET_metag && \
+ !TARGET_mips && \
+ !TARGET_powerpc && \
+ !TARGET_sh && \
+ !TARGET_sparc && \
+ !TARGET_x86_64 && \
+ !TARGET_xtensa
help
The new version has not been tested much, and lacks ports for arches
which glibc does not support (like bfin/frv/etc...), but is based on
@@ -533,24 +555,21 @@ config UCLIBC_HAS_THREADS_NATIVE
select UCLIBC_HAS_STDIO_FUTEXES
select UCLIBC_HAS_REALTIME
# i386 has no lowlevellock support (yet) as opposed to i486 onward
- depends on !CONFIG_386
+ depends on !CONFIG_386 && \
+ !TARGET_alpha && \
+ !TARGET_avr32 && \
+ !TARGET_bfin && \
+ !TARGET_c6x && \
+ !TARGET_cris && \
+ !TARGET_hppa && \
+ !TARGET_ia64 && \
+ !TARGET_m68k && \
+ !TARGET_microblaze && \
+ !TARGET_nios2 && \
+ !TARGET_vax
help
If you want to compile uClibc with NPTL support, then answer Y.
- IMPORTANT NOTE! NPTL requires a Linux 2.6 kernel, binutils
- at least version 2.16 and GCC with at least version 4.1.0. NPTL
- will not work with older versions of any above sources. If you
- ignore any of these guidelines, you do so at your own risk. Do
- not ask for help on any of the development mailing lists.
-
- !!!! WARNING !!!! BIG FAT WARNING !!!! REALLY BIG FAT WARNING !!!!
-
- This is experimental code and at times it may not even build and
- even if it does it might decide to do random damage. This code is
- potentially hazardous to your health and sanity. It will remain
- that way until further notice at which point this notice will
- disappear. Thank you for your support and for not smoking.
-
endchoice
config UCLIBC_HAS_THREADS