Config.in 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. #
  2. mainmenu "Buildroot2 Configuration"
  3. config BR2_HAVE_DOT_CONFIG
  4. bool
  5. default y
  6. config BR2_VERSION
  7. string
  8. option env="BR2_VERSION_FULL"
  9. source "target/Config.in.arch"
  10. menu "Build options"
  11. menu "Commands"
  12. config BR2_WGET
  13. string "Wget command"
  14. default "wget --passive-ftp -nd -t 3"
  15. config BR2_SVN
  16. string "Subversion (svn) command"
  17. default "svn"
  18. config BR2_BZR
  19. string "Bazaar (bzr) command"
  20. default "bzr"
  21. config BR2_GIT
  22. string "Git command"
  23. default "git"
  24. config BR2_ZCAT
  25. string "zcat command"
  26. default "gzip -d -c"
  27. help
  28. Command to be used to extract a gzip'ed file to stdout.
  29. zcat is identical to gunzip -c except that the former may
  30. not be available on your system.
  31. Default is "gzip -d -c"
  32. Other possible values include "gunzip -c" or "zcat".
  33. config BR2_BZCAT
  34. string "bzcat command"
  35. default "bzcat"
  36. help
  37. Command to be used to extract a bzip2'ed file to stdout.
  38. bzcat is identical to bunzip2 -c except that the former may
  39. not be available on your system.
  40. Default is "bzcat"
  41. Other possible values include "bunzip2 -c" or "bzip2 -d -c".
  42. config BR2_TAR_OPTIONS
  43. string "Tar options"
  44. default ""
  45. help
  46. Options to pass to tar when extracting the sources.
  47. E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
  48. and to be verbose.
  49. endmenu
  50. config BR2_DL_DIR
  51. string "Download dir"
  52. default "$(TOPDIR)/dl"
  53. help
  54. Directory to store all the source files that we need to fetch.
  55. If the Linux shell environment has defined the BUILDROOT_DL_DIR
  56. environment variable, then this overrides this configuration item.
  57. The default is $(TOPDIR)/dl
  58. menu "Mirrors and Download locations"
  59. config BR2_PRIMARY_SITE
  60. string "Primary download site"
  61. default ""
  62. help
  63. Primary site to download from. If this option is set then buildroot
  64. will try to download package source first from this site and try the
  65. default if the file is not found.
  66. NOTE: This only works for packages using the Makefile.autotools.in
  67. config BR2_BACKUP_SITE
  68. string "Backup download site"
  69. default "http://sources.buildroot.net/"
  70. help
  71. Backup site to download from. If this option is set then buildroot
  72. will fall back to download package sources from here if the
  73. normal location fails.
  74. config BR2_SOURCEFORGE_MIRROR
  75. string "Sourceforge mirror site"
  76. default "easynews"
  77. help
  78. Sourceforge has a system of mirror sites. Some sites may be
  79. closer to your location, and sometimes mirror sites go down
  80. and are no longer available. This option allows you to select
  81. your preferred Sourceforge mirror site.
  82. The list of mirrors is available here:
  83. http://prdownloads.sourceforge.net/index-sf.html?download
  84. config BR2_KERNEL_MIRROR
  85. string "Kernel.org mirror"
  86. default "http://www.kernel.org/pub/"
  87. help
  88. kernel.org is mirrored on a number of servers around the world.
  89. The following allows you to select your preferred mirror.
  90. Have a look on the kernel.org site for a list of mirrors, then enter
  91. the URL to the base directory. Examples:
  92. http://www.XX.kernel.org/pub (XX = country code)
  93. http://mirror.aarnet.edu.au/pub/ftp.kernel.org
  94. config BR2_GNU_MIRROR
  95. string "GNU Software mirror"
  96. default "http://ftp.gnu.org/pub/gnu"
  97. help
  98. GNU has multiple software mirrors scattered around the world.
  99. The following allows you to select your preferred mirror.
  100. Have a look on the gnu.org site for a list of mirrors, then enter
  101. the URL to the base directory. Examples:
  102. http://ftp.gnu.org/pub/gnu
  103. http://mirror.aarnet.edu.au/pub/gnu
  104. config BR2_DEBIAN_MIRROR
  105. string "Debian Software mirror"
  106. default "http://ftp.debian.org"
  107. help
  108. Debian has multiple software mirrors scattered around the world.
  109. The following allows you to select your preferred mirror.
  110. Usually, just add your country code like XX here:
  111. http://ftp.XX.debian.org
  112. endmenu
  113. config BR2_JLEVEL
  114. int "Number of jobs to run simultaneously"
  115. default "2"
  116. help
  117. Number of jobs to run simultaneously
  118. config BR2_CCACHE
  119. bool "Enable compiler cache"
  120. help
  121. This option will enable the use of ccache, a compiler
  122. cache. It will cache the result of previous builds to speed
  123. up future builds. The cache is stored in
  124. $HOME/.buildroot-ccache.
  125. config BR2_DEPRECATED
  126. bool "Show packages that are deprecated or obsolete"
  127. help
  128. This option hides outdated/obsolete versions of packages.
  129. config BR2_ENABLE_DEBUG
  130. bool "build packages with debugging symbols"
  131. select BR2_PACKAGE_GDB_SERVER
  132. help
  133. Build packages with debugging symbols
  134. enabled
  135. if BR2_ENABLE_DEBUG
  136. choice
  137. prompt "gcc debug level"
  138. default BR2_DEBUG_2
  139. help
  140. Set the debug level for gcc
  141. config BR2_DEBUG_1
  142. bool "debug level 1"
  143. help
  144. Debug level 1 produces minimal information, enough
  145. for making backtraces in parts of the program that
  146. you don't plan to debug. This includes descriptions
  147. of functions and external variables, but no information
  148. about local variables and no line numbers.
  149. config BR2_DEBUG_2
  150. bool "debug level 2"
  151. help
  152. The default gcc debug level is 2
  153. config BR2_DEBUG_3
  154. bool "debug level 3"
  155. help
  156. Level 3 includes extra information, such as all the
  157. macro definitions present in the program. Some debuggers
  158. support macro expansion when you use -g3.
  159. endchoice
  160. endif
  161. choice
  162. prompt "strip"
  163. default BR2_STRIP_strip
  164. help
  165. Select whether to strip binaries and libraries for the target
  166. or not.
  167. strip is the normal strip command
  168. sstrip is a strip that discards more than the normal strip
  169. none do not strip (only for debugging!)
  170. config BR2_STRIP_strip
  171. bool "strip"
  172. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  173. help
  174. strip is the normal strip command
  175. config BR2_STRIP_sstrip
  176. bool "sstrip"
  177. select BR2_PACKAGE_SSTRIP_HOST
  178. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  179. help
  180. sstrip is a strip that discards more than the normal strip
  181. config BR2_STRIP_none
  182. bool "none"
  183. help
  184. none do not strip (only for debugging!)
  185. endchoice
  186. choice
  187. prompt "gcc optimization level"
  188. default BR2_OPTIMIZE_S
  189. help
  190. Set the optimization level for gcc
  191. config BR2_OPTIMIZE_0
  192. bool "optimization level 0"
  193. help
  194. Do not optimize. This is the default.
  195. config BR2_OPTIMIZE_1
  196. bool "optimization level 1"
  197. help
  198. Optimize. Optimizing compilation takes somewhat more time,
  199. and a lot more memory for a large function. With -O, the
  200. compiler tries to reduce code size and execution time,
  201. without performing any optimizations that take a great deal
  202. of compilation time. -O turns on the following optimization
  203. flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
  204. -fcprop-registers -floop-optimize -fif-conversion
  205. -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
  206. -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
  207. -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
  208. -O also turns on -fomit-frame-pointer on machines where doing
  209. so does not interfere with debugging.
  210. config BR2_OPTIMIZE_2
  211. bool "optimization level 2"
  212. help
  213. Optimize even more. GCC performs nearly all supported optimizations
  214. that do not involve a space-speed tradeoff. The compiler does not
  215. perform loop unrolling or function inlining when you specify -O2.
  216. As compared to -O, this option increases both compilation time and
  217. the performance of the generated code. -O2 turns on all optimization
  218. flags specified by -O. It also turns on the following optimization
  219. flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
  220. -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
  221. -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
  222. -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
  223. -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
  224. -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
  225. -freorder-functions -falign-functions -falign-jumps -falign-loops
  226. -falign-labels -ftree-vrp -ftree-pre
  227. Please note the warning under -fgcse about invoking -O2 on programs
  228. that use computed gotos.
  229. config BR2_OPTIMIZE_3
  230. bool "optimization level 3"
  231. help
  232. Optimize yet more. -O3 turns on all optimizations specified by -O2
  233. and also turns on the -finline-functions, -funswitch-loops and
  234. -fgcse-after-reload options.
  235. config BR2_OPTIMIZE_S
  236. bool "optimize for size"
  237. help
  238. Optimize for size. -Os enables all -O2 optimizations that do not
  239. typically increase code size. It also performs further optimizations
  240. designed to reduce code size. -Os disables the following optimization
  241. flags: -falign-functions -falign-jumps -falign-loops -falign-labels
  242. -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
  243. -ftree-vect-loop-version
  244. endchoice
  245. config BR2_PREFER_STATIC_LIB
  246. bool "prefer static libraries"
  247. help
  248. Where possible, build and use static libraries for the target.
  249. This potentially increases your code size and should only be
  250. used if you know what you do.
  251. The default is to build dynamic libraries and use those on
  252. the target filesystem.
  253. WARNING: This is highly experimental at the moment.
  254. config BR2_HAVE_DOCUMENTATION
  255. bool "documentation on the target"
  256. help
  257. Install the documentation, including manual pages and info
  258. pages, on the target.
  259. If you say n here, your target will not contain any
  260. documentation.
  261. config BR2_HAVE_DEVFILES
  262. bool "development files in target filesystem"
  263. help
  264. Install headers and static libraries in the
  265. target filesystem
  266. endmenu
  267. source "toolchain/Config.in"
  268. source "target/generic/Config.in"
  269. source "package/Config.in"
  270. source "fs/Config.in"
  271. source "boot/Config.in"
  272. source "linux/Config.in"