Config.sh 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. mainmenu "uClibc C Library Configuration"
  6. menu "Target Architecture Features and Options"
  7. config HAVE_ELF
  8. bool
  9. default y
  10. config ARCH_CFLAGS
  11. string
  12. config ARCH_LDFLAGS
  13. string
  14. config LIBGCC_CFLAGS
  15. string
  16. config HAVE_DOT_HIDDEN
  17. bool
  18. default y
  19. choice
  20. prompt "Target Processor Type"
  21. default CONFIG_SH4
  22. help
  23. This is the processor type of your CPU. This information is used for
  24. optimizing purposes, as well as to determine if your CPU has an MMU,
  25. an FPU, etc. If you pick the wrong CPU type, there is no guarantee
  26. that uClibc will work at all....
  27. Here are the available choices:
  28. - "SH2" Hitachi SH2
  29. - "SH3" Hitachi SH3
  30. - "SH4" Hitachi SH4
  31. - "SH5" Hitachi SH5
  32. config CONFIG_SH2
  33. bool "SH2"
  34. config CONFIG_SH3
  35. bool "SH3"
  36. config CONFIG_SH4
  37. bool "SH4"
  38. config CONFIG_SH5
  39. bool "SH5"
  40. endchoice
  41. choice
  42. prompt "Target Processor Endianness"
  43. default ARCH_LITTLE_ENDIAN
  44. help
  45. This is the endianness you wish to build use. Choose either Big
  46. Endian, or Little Endian.
  47. config ARCH_LITTLE_ENDIAN
  48. bool "Little Endian"
  49. config ARCH_BIG_ENDIAN
  50. bool "Big Endian"
  51. endchoice
  52. config ARCH_HAS_NO_MMU
  53. bool
  54. default y if CONFIG_SH2
  55. config ARCH_HAS_NO_FPU
  56. bool
  57. default y if CONFIG_SH2 || CONFIG_SH3
  58. source "extra/Configs/Config.in.arch"
  59. endmenu
  60. source "extra/Configs/Config.in"