Config.sh 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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_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_SH2
  40. select ARCH_HAS_NO_MMU
  41. select ARCH_HAS_NO_LDSO
  42. bool "SH2"
  43. config CONFIG_SH3
  44. select ARCH_HAS_MMU
  45. bool "SH3"
  46. config CONFIG_SH4
  47. select ARCH_HAS_MMU
  48. select FORCE_SHAREABLE_TEXT_SEGMENTS
  49. bool "SH4"
  50. config CONFIG_SH5
  51. select ARCH_HAS_MMU
  52. select UCLIBC_HAS_LFS
  53. bool "SH5"
  54. endchoice