Config.sh 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. default "sh" if CONFIG_SH2A || CONFIG_SH2 || CONFIG_SH3 || CONFIG_SH4
  7. default "sh64" if CONFIG_SH5
  8. config HAVE_ELF
  9. bool
  10. default y
  11. config ARCH_CFLAGS
  12. string
  13. config ARCH_LDFLAGS
  14. string
  15. config LIBGCC_CFLAGS
  16. string
  17. config HAVE_DOT_HIDDEN
  18. bool
  19. default y
  20. config ARCH_SUPPORTS_BIG_ENDIAN
  21. bool
  22. default y
  23. config ARCH_SUPPORTS_LITTLE_ENDIAN
  24. bool
  25. default y
  26. choice
  27. prompt "Target Processor Type"
  28. default CONFIG_SH4
  29. help
  30. This is the processor type of your CPU. This information is used for
  31. optimizing purposes, as well as to determine if your CPU has an MMU,
  32. an FPU, etc. If you pick the wrong CPU type, there is no guarantee
  33. that uClibc will work at all....
  34. Here are the available choices:
  35. - "SH2" SuperH SH-2
  36. - "SH3" SuperH SH-3
  37. - "SH4" SuperH SH-4
  38. - "SH5" SuperH SH-5 101, 103
  39. config CONFIG_SH2A
  40. select ARCH_HAS_NO_MMU
  41. select ARCH_HAS_NO_LDSO
  42. select HAVE_NO_PIC
  43. bool "SH2A"
  44. config CONFIG_SH2
  45. select ARCH_HAS_NO_MMU
  46. select ARCH_HAS_NO_LDSO
  47. bool "SH2"
  48. config CONFIG_SH3
  49. select ARCH_HAS_MMU
  50. bool "SH3"
  51. config CONFIG_SH4
  52. select ARCH_HAS_MMU
  53. select FORCE_SHAREABLE_TEXT_SEGMENTS
  54. bool "SH4"
  55. config CONFIG_SH5
  56. select ARCH_HAS_MMU
  57. select UCLIBC_HAS_LFS
  58. bool "SH5"
  59. endchoice