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 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" Hitachi SH2
  33. - "SH3" Hitachi SH3
  34. - "SH4" Hitachi SH4
  35. - "SH5" SH-5 101, 103
  36. config CONFIG_SH2
  37. select ARCH_HAS_NO_FPU
  38. select ARCH_HAS_NO_MMU
  39. select ARCH_HAS_NO_LDSO
  40. bool "SH2"
  41. config CONFIG_SH3
  42. select HAS_FPU
  43. select UCLIBC_HAS_MMU
  44. select ARCH_HAS_NO_LDSO
  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. select ARCH_HAS_NO_LDSO
  54. bool "SH5"
  55. endchoice