2
1

Config.in 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. #
  2. mainmenu "Buildroot2 Configuration"
  3. config BR2_HAVE_DOT_CONFIG
  4. bool
  5. default y
  6. choice
  7. prompt "Target Architecture"
  8. default BR2_i386
  9. help
  10. Stuff
  11. config BR2_alpha
  12. bool "alpha"
  13. config BR2_arm
  14. bool "arm"
  15. config BR2_armeb
  16. bool "armeb"
  17. config BR2_cris
  18. bool "cris"
  19. config BR2_i386
  20. bool "i386"
  21. config BR2_m68k
  22. bool "m68k"
  23. config BR2_mips
  24. bool "mips"
  25. config BR2_mipsel
  26. bool "mipsel"
  27. config BR2_nios2
  28. bool "nios2"
  29. config BR2_powerpc
  30. bool "powerpc"
  31. config BR2_sh
  32. bool "sh"
  33. config BR2_sparc
  34. bool "sparc"
  35. config BR2_x86_64
  36. bool "x86_64"
  37. endchoice
  38. #
  39. # Keep the variants seperate, there's no need to clutter everything else.
  40. # sh is fairly "special" in this regard, as virtually everyone else has
  41. # things kept down to a _sensible_ number of target variants. No such
  42. # luck for sh..
  43. #
  44. choice
  45. prompt "Target Architecture Variant"
  46. depends BR2_arm || BR2_armeb
  47. default BR2_generic_arm
  48. config BR2_generic_arm
  49. bool "generic_arm"
  50. config BR2_arm610
  51. bool "arm610"
  52. config BR2_arm710
  53. bool "arm710"
  54. config BR2_arm720t
  55. bool "arm720t"
  56. config BR2_arm920t
  57. bool "arm920t"
  58. config BR2_arm922t
  59. bool "arm922t"
  60. config BR2_arm926t
  61. bool "arm926t"
  62. config BR2_arm1136jf_s
  63. bool "arm1136jf_s"
  64. config BR2_sa110
  65. bool "sa110"
  66. config BR2_sa1100
  67. bool "sa1100"
  68. config BR2_xscale
  69. bool "xscale"
  70. endchoice
  71. config BR2_ARM_TYPE
  72. string
  73. default ARM610 if BR2_arm610
  74. default ARM710 if BR2_arm710
  75. default ARM720T if BR2_arm720t
  76. default ARM920T if BR2_arm920t
  77. default ARM922T if BR2_arm922t
  78. default ARM926T if BR2_arm926t
  79. default ARM1136JF_S if BR2_arm1136jf_s
  80. default ARM_SA110 if BR2_sa110
  81. default ARM_SA1100 if BR2_sa1100
  82. default ARM_XSCALE if BR2_xscale
  83. default GENERIC_ARM if BR2_generic_arm
  84. choice
  85. prompt "Target ABI"
  86. depends BR2_arm || BR2_armeb
  87. default BR2_ARM_OABI
  88. config BR2_ARM_OABI
  89. bool "OABI"
  90. config BR2_ARM_EABI
  91. bool "EABI"
  92. endchoice
  93. choice
  94. prompt "Target Architecture Variant"
  95. depends BR2_sh
  96. default BR2_sh4
  97. config BR2_sh2a_nofpueb
  98. bool "sh2a_nofpueb"
  99. config BR2_sh2eb
  100. bool "sh2eb"
  101. config BR2_sh3
  102. bool "sh3"
  103. config BR2_sh3eb
  104. bool "sh3eb"
  105. config BR2_sh4
  106. bool "sh4"
  107. config BR2_sh4eb
  108. bool "sh4eb"
  109. endchoice
  110. #
  111. # gcc builds libstdc++ differently depending on the
  112. # host tuplet given to it, so let people choose
  113. #
  114. choice
  115. prompt "Target Architecture Variant"
  116. depends BR2_i386
  117. default BR2_x86_i686
  118. config BR2_x86_i386
  119. bool "i386"
  120. config BR2_x86_i486
  121. bool "i486"
  122. config BR2_x86_i586
  123. bool "i586"
  124. config BR2_x86_i686
  125. bool "i686"
  126. endchoice
  127. config BR2_ARCH
  128. string
  129. default "alpha" if BR2_alpha
  130. default "arm" if BR2_arm
  131. default "armeb" if BR2_armeb
  132. default "cris" if BR2_cris
  133. default "i386" if BR2_x86_i386
  134. default "i486" if BR2_x86_i486
  135. default "i586" if BR2_x86_i586
  136. default "i686" if BR2_x86_i686
  137. default "m68k" if BR2_m68k
  138. default "mips" if BR2_mips
  139. default "mipsel" if BR2_mipsel
  140. default "nios2" if BR2_nios2
  141. default "powerpc" if BR2_powerpc
  142. default "sh2a_nofpueb" if BR2_sh2a_nofpueb
  143. default "sh2eb" if BR2_sh2eb
  144. default "sh3" if BR2_sh3
  145. default "sh3eb" if BR2_sh3eb
  146. default "sh4" if BR2_sh4
  147. default "sh4eb" if BR2_sh4eb
  148. default "sparc" if BR2_sparc
  149. default "x86_64" if BR2_x86_64
  150. config BR2_ENDIAN
  151. string
  152. default "LITTLE" if BR2_arm || BR2_cris || BR2_i386 || BR2_mipsel || \
  153. BR2_sh3 || BR2_sh4 || BR2_x86_64 || BR2_nios2
  154. default "BIG" if BR2_alpha || BR2_armeb || BR2_m68k || BR2_mips || \
  155. BR2_powerpc || BR2_sh2a_nofpueb || BR2_sh2eb || \
  156. BR2_sh3eb || BR2_sh4eb || BR2_sparc
  157. menu "Build options"
  158. config BR2_WGET
  159. string "Wget command"
  160. default "wget --passive-ftp -nd"
  161. config BR2_SVN
  162. string "Subversion (svn) checkout command"
  163. default "svn co"
  164. config BR2_TAR_OPTIONS
  165. string "Tar options"
  166. default ""
  167. help
  168. Options to pass to tar when extracting the sources.
  169. E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
  170. and to be verbose.
  171. config BR2_DL_DIR
  172. string "Download dir"
  173. default "$(BASE_DIR)/dl"
  174. help
  175. Directory to store all the source files that we need to fetch.
  176. config BR2_SOURCEFORGE_MIRROR
  177. string "Sourceforge mirror site"
  178. default "easynews"
  179. help
  180. Sourceforge has a system of mirror sites. Some sites may be closer
  181. to your location, and sometimes mirror sites go down and are no longer
  182. available. This option allows you to select your preferred Sourceforge
  183. mirror site.
  184. The list of mirrors is available here:
  185. http://prdownloads.sourceforge.net/index-sf.html?download
  186. config BR2_STAGING_DIR
  187. string "Toolchain and header file location?"
  188. default "$(BUILD_DIR)/staging_dir"
  189. help
  190. This is the location where the toolchain will be installed. The
  191. toolchain will not work if it is moved from this location.
  192. Therefore, if you wish to package up a uClibc toolchain, it is
  193. important that is is set to the final location where the toolchain
  194. will be used.
  195. Most people will leave this set to the default value of
  196. "$(BUILD_DIR)/staging_dir".
  197. config BR2_TOPDIR_PREFIX
  198. string "Custom build dir prefix"
  199. default ""
  200. help
  201. Add a custom string to the beginning of the build directories.
  202. build_ARCH -> [PREFIX]_build_ARCH
  203. toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
  204. config BR2_TOPDIR_SUFFIX
  205. string "Custom build dir suffix"
  206. default ""
  207. help
  208. Add a custom string to the end of the build directories.
  209. build_ARCH -> build_ARCH_[SUFFIX]
  210. toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
  211. config BR2_GNU_BUILD_SUFFIX
  212. string "GNU build hostname suffix"
  213. default "pc-linux-gnu"
  214. help
  215. The string used to pass to configure scripts via the
  216. --build= option. Just specify the suffix here, the leading
  217. arch will be filled in automatically.
  218. Here's some copy and paste build host options for you:
  219. linux: pc-linux-gnu
  220. cygwin: pc-cygwin
  221. os x: apple-darwin7 / apple-darwin8
  222. config BR2_GNU_TARGET_SUFFIX
  223. string "GNU target suffix"
  224. default "linux-uclibcgnueabi" if BR2_ARM_EABI
  225. default "linux-uclibc"
  226. help
  227. The string used to pass to configure scripts via the
  228. --target= option. Just specify the suffix here, the leading
  229. arch will be filled in automatically.
  230. Most users will want to stick with the default setting, though
  231. other users (most notably ARM EABI) like to add on to this in
  232. order to stay in line with gcc conventions.
  233. config BR2_JLEVEL
  234. int "Number of jobs to run simultaneously"
  235. default "1"
  236. help
  237. Number of jobs to run simultanesouly
  238. endmenu
  239. source "toolchain/Config.in"
  240. source "package/Config.in"
  241. source "target/Config.in"