Config.arm 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. config TARGET_ARCH
  6. string
  7. default "arm"
  8. config FORCE_OPTIONS_FOR_ARCH
  9. bool
  10. default y
  11. select ARCH_ANY_ENDIAN
  12. select ARCH_HAS_UCONTEXT
  13. select ARCH_HAS_DEPRECATED_SYSCALLS
  14. config CONFIG_ARM_EABI
  15. bool "Build for EABI"
  16. help
  17. If you say 'y' here, functions and constants required by the
  18. ARM EABI will be built into the library. You should say 'y'
  19. if your compiler uses the ARM EABI, in which case you will also
  20. need a kernel supporting the EABI system call interface.
  21. If you say 'n' here, then the library will be built for the
  22. old Linux ABI.
  23. config COMPILE_IN_THUMB_MODE
  24. bool "Build using Thumb mode"
  25. select USE_BX
  26. select USE_LDREXSTREX
  27. help
  28. Say 'y' here to force building uClibc in thumb mode.
  29. Say 'n' to use your compiler's default mode.
  30. config USE_BX
  31. bool "Use BX in function return"
  32. help
  33. Say 'y' to use BX to return from functions on your thumb-aware
  34. processor. Say 'y' if you need to use interworking. Say 'n' if not.
  35. It is safe to say 'y' even if you're not doing interworking.
  36. config USE_LDREXSTREX
  37. bool "Use load-store exclusive ASM ops (not supported in SmartFusion)"
  38. depends on COMPILE_IN_THUMB_MODE
  39. default n
  40. help
  41. Say 'y' to use LDREX/STREX ASM ops.