summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.arm8
-rw-r--r--extra/Configs/Config.in105
-rw-r--r--extra/Configs/Config.mips15
3 files changed, 66 insertions, 62 deletions
diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
index a16c9197a..00cf98281 100644
--- a/extra/Configs/Config.arm
+++ b/extra/Configs/Config.arm
@@ -28,6 +28,7 @@ config CONFIG_ARM_EABI
config COMPILE_IN_THUMB_MODE
bool "Build using Thumb mode"
select USE_BX
+ select USE_LDREXSTREX
help
Say 'y' here to force building uClibc in thumb mode.
Say 'n' to use your compiler's default mode.
@@ -38,3 +39,10 @@ config USE_BX
Say 'y' to use BX to return from functions on your thumb-aware
processor. Say 'y' if you need to use interworking. Say 'n' if not.
It is safe to say 'y' even if you're not doing interworking.
+
+config USE_LDREXSTREX
+ bool "Use load-store exclusive ASM ops (not supported in SmartFusion)"
+ depends on COMPILE_IN_THUMB_MODE
+ default n
+ help
+ Say 'y' to use LDREX/STREX ASM ops.
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 1fd686052..3c2add655 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,38 +60,40 @@ config TARGET_avr32
config TARGET_bfin
bool "bfin"
+# 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"
@@ -99,8 +101,8 @@ config TARGET_microblaze
config TARGET_mips
bool "mips"
-config TARGET_nios
- bool "nios"
+#config TARGET_nios
+# bool "nios"
config TARGET_nios2
bool "nios2"
@@ -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"
@@ -472,7 +474,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
@@ -522,6 +524,15 @@ config LINUXTHREADS_OLD
bool "older (stable) version of linuxthreads"
# linuxthreads and linuxthreads.old need nanosleep()
select UCLIBC_HAS_REALTIME
+ depends on !TARGET_arc && \
+ !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
@@ -531,6 +542,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
@@ -543,24 +564,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
@@ -2485,11 +2503,4 @@ config DOMULTI
If unsure, keep the default of N.
-config UCLIBC_MJN3_ONLY
- bool "Manuel's hidden warnings"
- help
- Answer Y here to see all Manuel's personal notes, warnings, and todos.
-
- Most people will answer N.
-
endmenu
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips
index 76b10c662..4d30d31d2 100644
--- a/extra/Configs/Config.mips
+++ b/extra/Configs/Config.mips
@@ -33,21 +33,6 @@ config CONFIG_MIPS_N64_ABI
endchoice
choice
- prompt "Target NAN Encoding"
- default CONFIG_MIPS_NAN_LEGACY
- help
- This is the NAN Encoding you want to use. Chose either Legacy
- or 2008.
-
-config CONFIG_MIPS_NAN_LEGACY
- bool "LEGACY"
-
-config CONFIG_MIPS_NAN_2008
- bool "2008"
-
-endchoice
-
-choice
prompt "Target Processor Architecture"
default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI