Config.sh 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 UCLIBC_COMPLETELY_PIC
  21. bool
  22. default y
  23. choice
  24. prompt "Target Processor Type"
  25. default CONFIG_SH4
  26. help
  27. This is the processor type of your CPU. This information is used for
  28. optimizing purposes, as well as to determine if your CPU has an MMU,
  29. an FPU, etc. If you pick the wrong CPU type, there is no guarantee
  30. that uClibc will work at all....
  31. Here are the available choices:
  32. - "SH2" SuperH SH-2
  33. - "SH3" SuperH SH-3
  34. - "SH4" SuperH SH-4
  35. - "SH5" SuperH SH-5 101, 103
  36. config CONFIG_SH2
  37. select ARCH_HAS_NO_MMU
  38. select ARCH_HAS_NO_LDSO
  39. bool "SH2"
  40. config CONFIG_SH3
  41. select UCLIBC_HAS_MMU
  42. bool "SH3"
  43. config CONFIG_SH4
  44. select UCLIBC_HAS_MMU
  45. select FORCE_SHAREABLE_TEXT_SEGMENTS
  46. bool "SH4"
  47. config CONFIG_SH5
  48. select UCLIBC_HAS_MMU
  49. select UCLIBC_HAS_LFS
  50. bool "SH5"
  51. endchoice