Config.arm 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. choice
  8. prompt "Target Processor Type"
  9. default CONFIG_GENERIC_ARM
  10. help
  11. This is the processor type of your CPU. This information is used for
  12. optimizing purposes. To build a library that will run on all ARMCPU
  13. types (albeit not optimally fast), you can specify "Generic Arm" here.
  14. If you pick anything other than "Generic Arm", there is no guarantee
  15. that uClibc will even run on anything other than the selected processor
  16. type.
  17. Here are the settings recommended for greatest speed:
  18. - "Generic Arm" for any ARM core
  19. - "arm7tdmi" an MMU-less ARM core such as those distributed
  20. by Atmel, Samsung, and others.
  21. - "StrongARM" for Intel's StrongARM cores, such as the
  22. StrongARM 110/1100/1110.
  23. - "XScale" for Intel's XScale processors
  24. If you don't know what to do, choose "Generic Arm".
  25. config CONFIG_GENERIC_ARM
  26. bool "Generic Arm"
  27. config CONFIG_ARM7TDMI
  28. bool "arm7tdmi"
  29. config CONFIG_STRONGARM
  30. bool "StrongARM"
  31. config CONFIG_XSCALE
  32. bool "XScale"
  33. endchoice
  34. config CPU_CFLAGS
  35. string
  36. default "" if CONFIG_GENERIC_ARM
  37. default "-march=arm7tdmi" if CONFIG_ARM7TDMI
  38. default "-march=strongarm" if CONFIG_STRONGARM
  39. default "$(call check_gcc,-march=xscale,-march=strongarm)" if CONFIG_XSCALE
  40. source "extra/Configs/Config.in.arch"
  41. endmenu
  42. source "extra/Configs/Config.in"