Config.in 8.2 KB

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