Config.sh 1.2 KB

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