summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-12 14:06:43 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-12 14:08:52 -0600
commit322fdd37d307a12c913be78cebcc348a77731dd3 (patch)
treeca9d101d32462a60b3a635f1a5d4b5012b1a151e /extra
parentc725f1deaef5bbfb22c83fbfc221a86255a3072b (diff)
unbreak support for ARM no MMU case
As suggested on the uCLibc mailing list: http://lists.uclibc.org/pipermail/uclibc/2014-November/048702.html http://lists.uclibc.org/pipermail/uclibc/2014-November/048703.html http://lists.uclibc.org/pipermail/uclibc/2014-November/048704.html
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.arm8
-rw-r--r--extra/Configs/Config.in1
2 files changed, 8 insertions, 1 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 c7a3b2dd2..31944bea1 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -524,7 +524,6 @@ config LINUXTHREADS_OLD
# linuxthreads and linuxthreads.old need nanosleep()
select UCLIBC_HAS_REALTIME
depends on !TARGET_arc && \
- !TARGET_arm && \
!TARGET_i386 && \
!TARGET_metag && \
!TARGET_mips && \