OSDN Git Service

unbreak support for ARM no MMU case
[uclinux-h8/uclibc-ng.git] / extra / Configs / Config.arm
index a16c919..00cf982 100644 (file)
@@ -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.