2
1

Config.in 8.9 KB

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