Config.in 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. #
  2. mainmenu "Buildroot2 Configuration"
  3. config BR2_HAVE_DOT_CONFIG
  4. bool
  5. default y
  6. config BR2_VERSION
  7. string
  8. default "2010.02-git"
  9. source "target/Config.in.arch"
  10. source "target/device/Config.in"
  11. menu "Build options"
  12. config BR2_WGET
  13. string "Wget command"
  14. default "wget --passive-ftp -nd"
  15. config BR2_SVN_CO
  16. string "Subversion (svn) command to download source tree"
  17. default "svn co"
  18. config BR2_SVN_UP
  19. string "Subversion (svn) command to update source tree"
  20. default "svn up"
  21. config BR2_BZR_CO
  22. string "Bazaar (bzr) command to download source tree"
  23. default "bzr co"
  24. config BR2_BZR_UP
  25. string "Bazaar (bzr) command to update source tree"
  26. default "bzr up"
  27. config BR2_GIT
  28. string "Git command to download source tree"
  29. default "git clone"
  30. config BR2_ZCAT
  31. string "zcat command"
  32. default "gzip -d -c"
  33. help
  34. Command to be used to extract a gzip'ed file to stdout.
  35. zcat is identical to gunzip -c except that the former may
  36. not be available on your system.
  37. Default is "gzip -d -c"
  38. Other possible values include "gunzip -c" or "zcat".
  39. config BR2_BZCAT
  40. string "bzcat command"
  41. default "bzcat"
  42. help
  43. Command to be used to extract a bzip2'ed file to stdout.
  44. bzcat is identical to bunzip2 -c except that the former may
  45. not be available on your system.
  46. Default is "bzcat"
  47. Other possible values include "bunzip2 -c" or "bzip2 -d -c".
  48. config BR2_TAR_OPTIONS
  49. string "Tar options"
  50. default ""
  51. help
  52. Options to pass to tar when extracting the sources.
  53. E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
  54. and to be verbose.
  55. config BR2_DL_DIR
  56. string "Download dir"
  57. default "$(TOPDIR)/dl"
  58. help
  59. Directory to store all the source files that we need to fetch.
  60. If the Linux shell environment has defined the BUILDROOT_DL_DIR
  61. environment variable, then this overrides this configuration item.
  62. The default is $(TOPDIR)/dl
  63. config BR2_COPYTO
  64. string "Copy result to..."
  65. default ""
  66. help
  67. Setting this variable will (eventually) override
  68. any other copyto configurations in buildroot.
  69. source "target/device/Config.in.mirrors"
  70. config BR2_STAGING_DIR
  71. string "Toolchain and header file location?"
  72. default "$(BASE_DIR)/staging"
  73. help
  74. This is the location where the toolchain will be installed. The
  75. toolchain will not work if it is moved from this location.
  76. Therefore, if you wish to package up a uClibc toolchain, it is
  77. important that is is set to the final location where the toolchain
  78. will be used.
  79. Most people will leave this set to the default value of
  80. "$(BASE_DIR)/staging".
  81. config BR2_GNU_BUILD_SUFFIX
  82. string "GNU build hostname suffix"
  83. default "pc-linux-gnu"
  84. help
  85. The string used to pass to configure scripts via the
  86. --build= option. Just specify the suffix here, the leading
  87. arch will be filled in automatically.
  88. Here's some copy and paste build host options for you:
  89. linux: pc-linux-gnu
  90. cygwin: pc-cygwin
  91. os x: apple-darwin7 / apple-darwin8
  92. config BR2_GNU_TARGET_SUFFIX
  93. string "GNU target suffix"
  94. default "linux-uclibcgnueabi" if BR2_ARM_EABI
  95. default "linux-uclibc"
  96. help
  97. The string used to pass to configure scripts via the
  98. --target= option. Just specify the suffix here, the leading
  99. arch will be filled in automatically.
  100. Most users will want to stick with the default setting, though
  101. other users (most notably ARM EABI) like to add on to this in
  102. order to stay in line with gcc conventions.
  103. Default options are:
  104. linux-uclibcgnueabi for ARM EABI
  105. linux-uclibc for the rest
  106. gnuhurd-uclibc for the hurd
  107. config BR2_JLEVEL
  108. int "Number of jobs to run simultaneously"
  109. default "1"
  110. help
  111. Number of jobs to run simultaneously
  112. config BR2_PREFER_IMA
  113. bool "prefer IMA compiles"
  114. help
  115. Where possible, compile package with Inter Module Analysis.
  116. This potentially uses alot of system resources on your compile
  117. host with the benefit of creating smaller binaries for the target.
  118. If unsure, say No.
  119. WARNING: This is highly experimental at the moment.
  120. config BR2_DEPRECATED
  121. bool "Show packages that are deprecated or obsolete"
  122. help
  123. This option hides outdated/obsolete versions of packages.
  124. config BR2_RECENT
  125. bool "Show packages that are of the latest major version"
  126. default y
  127. help
  128. This option show recent versions of packages.
  129. config BR2_CONFIG_CACHE
  130. bool "Use a central configure cache file"
  131. default y
  132. help
  133. This determines if a central config cache is used by
  134. packages, reducing the configure time for packages as each
  135. one caches its findings.
  136. config BR2_ENABLE_DEBUG
  137. bool "build packages with debugging symbols"
  138. select BR2_PACKAGE_GDB_SERVER
  139. help
  140. Build packages with debugging symbols
  141. enabled
  142. if BR2_ENABLE_DEBUG
  143. choice
  144. prompt "gcc debug level"
  145. default BR2_DEBUG_2
  146. help
  147. Set the debug level for gcc
  148. config BR2_DEBUG_1
  149. bool "debug level 1"
  150. help
  151. Debug level 1 produces minimal information, enough
  152. for making backtraces in parts of the program that
  153. you don't plan to debug. This includes descriptions
  154. of functions and external variables, but no information
  155. about local variables and no line numbers.
  156. config BR2_DEBUG_2
  157. bool "debug level 2"
  158. help
  159. The default gcc debug level is 2
  160. config BR2_DEBUG_3
  161. bool "debug level 3"
  162. help
  163. Level 3 includes extra information, such as all the
  164. macro definitions present in the program. Some debuggers
  165. support macro expansion when you use -g3.
  166. endchoice
  167. endif
  168. choice
  169. prompt "strip"
  170. default BR2_STRIP_strip
  171. help
  172. Select whether to strip binaries and libraries for the target
  173. or not.
  174. strip is the normal strip command
  175. sstrip is a strip that discards more than the normal strip
  176. none do not strip (only for debugging!)
  177. config BR2_STRIP_strip
  178. bool "strip"
  179. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  180. help
  181. strip is the normal strip command
  182. config BR2_STRIP_sstrip
  183. bool "sstrip"
  184. select BR2_PACKAGE_SSTRIP_HOST
  185. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  186. help
  187. sstrip is a strip that discards more than the normal strip
  188. config BR2_STRIP_none
  189. bool "none"
  190. help
  191. none do not strip (only for debugging!)
  192. endchoice
  193. choice
  194. prompt "gcc optimization level"
  195. default BR2_OPTIMIZE_S
  196. help
  197. Set the optimization level for gcc
  198. config BR2_OPTIMIZE_0
  199. bool "optimization level 0"
  200. depends on !BR2_PACKAGE_LINUX
  201. help
  202. Do not optimize. This is the default.
  203. config BR2_OPTIMIZE_1
  204. bool "optimization level 1"
  205. depends on !BR2_PACKAGE_LINUX
  206. help
  207. Optimize. Optimizing compilation takes somewhat more time,
  208. and a lot more memory for a large function. With -O, the
  209. compiler tries to reduce code size and execution time,
  210. without performing any optimizations that take a great deal
  211. of compilation time. -O turns on the following optimization
  212. flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
  213. -fcprop-registers -floop-optimize -fif-conversion
  214. -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
  215. -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
  216. -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
  217. -O also turns on -fomit-frame-pointer on machines where doing
  218. so does not interfere with debugging.
  219. config BR2_OPTIMIZE_2
  220. bool "optimization level 2"
  221. help
  222. Optimize even more. GCC performs nearly all supported optimizations
  223. that do not involve a space-speed tradeoff. The compiler does not
  224. perform loop unrolling or function inlining when you specify -O2.
  225. As compared to -O, this option increases both compilation time and
  226. the performance of the generated code. -O2 turns on all optimization
  227. flags specified by -O. It also turns on the following optimization
  228. flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
  229. -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
  230. -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
  231. -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
  232. -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
  233. -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
  234. -freorder-functions -falign-functions -falign-jumps -falign-loops
  235. -falign-labels -ftree-vrp -ftree-pre
  236. Please note the warning under -fgcse about invoking -O2 on programs
  237. that use computed gotos.
  238. config BR2_OPTIMIZE_3
  239. bool "optimization level 3"
  240. help
  241. Optimize yet more. -O3 turns on all optimizations specified by -O2
  242. and also turns on the -finline-functions, -funswitch-loops and
  243. -fgcse-after-reload options.
  244. config BR2_OPTIMIZE_S
  245. bool "optimize for size"
  246. help
  247. Optimize for size. -Os enables all -O2 optimizations that do not
  248. typically increase code size. It also performs further optimizations
  249. designed to reduce code size. -Os disables the following optimization
  250. flags: -falign-functions -falign-jumps -falign-loops -falign-labels
  251. -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
  252. -ftree-vect-loop-version
  253. endchoice
  254. config BR2_PREFER_STATIC_LIB
  255. bool "prefer static libraries"
  256. help
  257. Where possible, build and use static libraries for the target.
  258. This potentially increases your code size and should only be
  259. used if you know what you do.
  260. The default is to build dynamic libraries and use those on
  261. the target filesystem.
  262. WARNING: This is highly experimental at the moment.
  263. config BR2_HAVE_MANPAGES
  264. bool "manpages on the target"
  265. help
  266. Leave the manpages on the target.
  267. If you say n here, your target will not contain any
  268. manpage.
  269. config BR2_HAVE_INFOPAGES
  270. bool "infopages on the target"
  271. help
  272. Leave the infopages on the target.
  273. If you say n here, your target will not contain any
  274. infopage.
  275. config BR2_HAVE_DOCUMENTATION
  276. bool "documentation on the target"
  277. help
  278. Leave the documentation on the target.
  279. If you say n here, your target will not contain any
  280. documentation.
  281. config BR2_HAVE_DEVFILES
  282. bool "development files in target filesystem"
  283. help
  284. Install headers and static libraries in the
  285. target filesystem
  286. source package/gnuconfig/Config.in
  287. endmenu
  288. source "toolchain/Config.in"
  289. source "package/Config.in"
  290. source "target/Config.in"