Config.sh 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. config UCLIBC_COMPLETELY_PIC
  20. bool
  21. default y
  22. choice
  23. prompt "Target Processor Type"
  24. default CONFIG_SH4
  25. help
  26. This is the processor type of your CPU. This information is used for
  27. optimizing purposes, as well as to determine if your CPU has an MMU,
  28. an FPU, etc. If you pick the wrong CPU type, there is no guarantee
  29. that uClibc will work at all....
  30. Here are the available choices:
  31. - "SH2" Hitachi SH2
  32. - "SH3" Hitachi SH3
  33. - "SH4" Hitachi SH4
  34. - "SH5" Hitachi SH5
  35. config CONFIG_SH2
  36. bool "SH2"
  37. config CONFIG_SH3
  38. bool "SH3"
  39. config CONFIG_SH4
  40. bool "SH4"
  41. config CONFIG_SH5
  42. bool "SH5"
  43. endchoice
  44. choice
  45. prompt "Target Processor Endianness"
  46. default ARCH_LITTLE_ENDIAN
  47. help
  48. This is the endianness you wish to build use. Choose either Big
  49. Endian, or Little Endian.
  50. config ARCH_LITTLE_ENDIAN
  51. bool "Little Endian"
  52. config ARCH_BIG_ENDIAN
  53. bool "Big Endian"
  54. endchoice
  55. config ARCH_HAS_NO_MMU
  56. bool
  57. default y if CONFIG_SH2
  58. config ARCH_HAS_NO_FPU
  59. bool
  60. default y if CONFIG_SH2 || CONFIG_SH3
  61. source "extra/Configs/Config.in.arch"
  62. endmenu
  63. source "extra/Configs/Config.in"