Config.in 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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-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_GNU_TARGET_SUFFIX
  84. string "GNU target suffix"
  85. default "linux-uclibcgnueabi" if BR2_ARM_EABI
  86. default "linux-uclibc"
  87. help
  88. The string used to pass to configure scripts via the
  89. --target= option. Just specify the suffix here, the leading
  90. arch will be filled in automatically.
  91. Most users will want to stick with the default setting, though
  92. other users (most notably ARM EABI) like to add on to this in
  93. order to stay in line with gcc conventions.
  94. Default options are:
  95. linux-uclibcgnueabi for ARM EABI
  96. linux-uclibc for the rest
  97. gnuhurd-uclibc for the hurd
  98. config BR2_JLEVEL
  99. int "Number of jobs to run simultaneously"
  100. default "2"
  101. help
  102. Number of jobs to run simultaneously
  103. config BR2_DEPRECATED
  104. bool "Show packages that are deprecated or obsolete"
  105. help
  106. This option hides outdated/obsolete versions of packages.
  107. config BR2_ENABLE_DEBUG
  108. bool "build packages with debugging symbols"
  109. select BR2_PACKAGE_GDB_SERVER
  110. help
  111. Build packages with debugging symbols
  112. enabled
  113. if BR2_ENABLE_DEBUG
  114. choice
  115. prompt "gcc debug level"
  116. default BR2_DEBUG_2
  117. help
  118. Set the debug level for gcc
  119. config BR2_DEBUG_1
  120. bool "debug level 1"
  121. help
  122. Debug level 1 produces minimal information, enough
  123. for making backtraces in parts of the program that
  124. you don't plan to debug. This includes descriptions
  125. of functions and external variables, but no information
  126. about local variables and no line numbers.
  127. config BR2_DEBUG_2
  128. bool "debug level 2"
  129. help
  130. The default gcc debug level is 2
  131. config BR2_DEBUG_3
  132. bool "debug level 3"
  133. help
  134. Level 3 includes extra information, such as all the
  135. macro definitions present in the program. Some debuggers
  136. support macro expansion when you use -g3.
  137. endchoice
  138. endif
  139. choice
  140. prompt "strip"
  141. default BR2_STRIP_strip
  142. help
  143. Select whether to strip binaries and libraries for the target
  144. or not.
  145. strip is the normal strip command
  146. sstrip is a strip that discards more than the normal strip
  147. none do not strip (only for debugging!)
  148. config BR2_STRIP_strip
  149. bool "strip"
  150. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  151. help
  152. strip is the normal strip command
  153. config BR2_STRIP_sstrip
  154. bool "sstrip"
  155. select BR2_PACKAGE_SSTRIP_HOST
  156. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  157. help
  158. sstrip is a strip that discards more than the normal strip
  159. config BR2_STRIP_none
  160. bool "none"
  161. help
  162. none do not strip (only for debugging!)
  163. endchoice
  164. choice
  165. prompt "gcc optimization level"
  166. default BR2_OPTIMIZE_S
  167. help
  168. Set the optimization level for gcc
  169. config BR2_OPTIMIZE_0
  170. bool "optimization level 0"
  171. depends on !BR2_PACKAGE_LINUX
  172. help
  173. Do not optimize. This is the default.
  174. config BR2_OPTIMIZE_1
  175. bool "optimization level 1"
  176. depends on !BR2_PACKAGE_LINUX
  177. help
  178. Optimize. Optimizing compilation takes somewhat more time,
  179. and a lot more memory for a large function. With -O, the
  180. compiler tries to reduce code size and execution time,
  181. without performing any optimizations that take a great deal
  182. of compilation time. -O turns on the following optimization
  183. flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
  184. -fcprop-registers -floop-optimize -fif-conversion
  185. -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
  186. -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
  187. -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
  188. -O also turns on -fomit-frame-pointer on machines where doing
  189. so does not interfere with debugging.
  190. config BR2_OPTIMIZE_2
  191. bool "optimization level 2"
  192. help
  193. Optimize even more. GCC performs nearly all supported optimizations
  194. that do not involve a space-speed tradeoff. The compiler does not
  195. perform loop unrolling or function inlining when you specify -O2.
  196. As compared to -O, this option increases both compilation time and
  197. the performance of the generated code. -O2 turns on all optimization
  198. flags specified by -O. It also turns on the following optimization
  199. flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
  200. -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
  201. -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
  202. -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
  203. -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
  204. -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
  205. -freorder-functions -falign-functions -falign-jumps -falign-loops
  206. -falign-labels -ftree-vrp -ftree-pre
  207. Please note the warning under -fgcse about invoking -O2 on programs
  208. that use computed gotos.
  209. config BR2_OPTIMIZE_3
  210. bool "optimization level 3"
  211. help
  212. Optimize yet more. -O3 turns on all optimizations specified by -O2
  213. and also turns on the -finline-functions, -funswitch-loops and
  214. -fgcse-after-reload options.
  215. config BR2_OPTIMIZE_S
  216. bool "optimize for size"
  217. help
  218. Optimize for size. -Os enables all -O2 optimizations that do not
  219. typically increase code size. It also performs further optimizations
  220. designed to reduce code size. -Os disables the following optimization
  221. flags: -falign-functions -falign-jumps -falign-loops -falign-labels
  222. -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
  223. -ftree-vect-loop-version
  224. endchoice
  225. config BR2_PREFER_STATIC_LIB
  226. bool "prefer static libraries"
  227. help
  228. Where possible, build and use static libraries for the target.
  229. This potentially increases your code size and should only be
  230. used if you know what you do.
  231. The default is to build dynamic libraries and use those on
  232. the target filesystem.
  233. WARNING: This is highly experimental at the moment.
  234. config BR2_HAVE_DOCUMENTATION
  235. bool "documentation on the target"
  236. help
  237. Install the documentation, including manual pages and info
  238. pages, on the target.
  239. If you say n here, your target will not contain any
  240. documentation.
  241. config BR2_HAVE_DEVFILES
  242. bool "development files in target filesystem"
  243. help
  244. Install headers and static libraries in the
  245. target filesystem
  246. menu "Advanced"
  247. config BR2_CONFIG_CACHE
  248. bool "Use a central configure cache file"
  249. default y
  250. help
  251. This determines if a central config cache is used by
  252. packages, reducing the configure time for packages as each
  253. one caches its findings.
  254. endmenu
  255. endmenu
  256. source "toolchain/Config.in"
  257. source "package/Config.in"
  258. source "fs/Config.in"
  259. source "target/Config.in"