Config.arm 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/config-language.txt.
  4. #
  5. mainmenu "uClibc C Library Configuration"
  6. menu "Target Architecture Features and Options"
  7. config HAVE_ELF
  8. bool
  9. default y
  10. config C_SYMBOL_PREFIX
  11. string
  12. default ""
  13. config ARCH_CFLAGS
  14. string
  15. default ""
  16. config ARCH_LDFLAGS
  17. string
  18. default ""
  19. config LIBGCC_CFLAGS
  20. string
  21. default ""
  22. choice
  23. prompt "Target Processor Type"
  24. default CONFIG_GENERIC_ARM
  25. help
  26. This is the processor type of your CPU. This information is used for
  27. optimizing purposes. To build a library that will run on all ARMCPU
  28. types (albeit not optimally fast), you can specify "Generic Arm" here.
  29. If you pick anything other than "Generic Arm", there is no guarantee
  30. that uClibc will even run on anything other than the selected processor
  31. type.
  32. Here are the settings recommended for greatest speed:
  33. - "Generic Arm" for any ARM core
  34. - "arm7tdmi" an MMU-less ARM core such as those distributed
  35. by Atmel, Samsung, and others.
  36. - "StrongARM" for Intel's StrongARM cores, such as the
  37. StrongARM 110/1100/1110.
  38. - "XScale" for Intel's XScale processors
  39. If you don't know what to do, choose "Generic Arm".
  40. config CONFIG_GENERIC_ARM
  41. bool "Generic Arm"
  42. config CONFIG_ARM7TDMI
  43. bool "arm7tdmi"
  44. config CONFIG_STRONGARM
  45. bool "StrongARM"
  46. config CONFIG_XSCALE
  47. bool "XScale"
  48. endchoice
  49. config ARCH_HAS_NO_MMU
  50. bool
  51. default y if CONFIG_ARM7TDMI
  52. config CPU_CFLAGS
  53. string
  54. default "" if CONFIG_GENERIC_ARM
  55. default "-march=arm7tdmi" if CONFIG_ARM7TDMI
  56. default "-march=strongarm" if CONFIG_STRONGARM
  57. default "$(call check_gcc,-march=xscale,-march=strongarm)" if CONFIG_XSCALE
  58. source "extra/Configs/Config.in.arch"
  59. endmenu
  60. source "extra/Configs/Config.in"