Config.in 7.8 KB

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