Config.in 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. #
  2. mainmenu "Buildroot2 Configuration"
  3. config BR2_HAVE_DOT_CONFIG
  4. bool
  5. default y
  6. config BR2_VERSION
  7. string
  8. default "2009.05-svn"
  9. source "target/Config.in.arch"
  10. source "target/device/Config.in"
  11. menu "Build options"
  12. config BR2_WGET
  13. string "Wget command"
  14. default "wget --passive-ftp -nd"
  15. config BR2_SVN_CO
  16. string "Subversion (svn) command to download source tree"
  17. default "svn co"
  18. config BR2_SVN_UP
  19. string "Subversion (svn) command to update source tree"
  20. default "svn up"
  21. config BR2_GIT
  22. string "Git command to download source tree"
  23. default "git clone"
  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. config BR2_DL_DIR
  50. string "Download dir"
  51. default "$(BASE_DIR)/dl"
  52. help
  53. Directory to store all the source files that we need to fetch.
  54. If the Linux shell environment has defined the BUILDROOT_DL_DIR
  55. environment variable, then this overrides this configuration item.
  56. The default is $(BASE_DIR)/dl
  57. config BR2_COPYTO
  58. string "Copy result to..."
  59. default ""
  60. help
  61. Setting this variable will (eventually) override
  62. any other copyto configurations in buildroot.
  63. source "target/device/Config.in.mirrors"
  64. config BR2_STAGING_DIR
  65. string "Toolchain and header file location?"
  66. default "$(BUILD_DIR)/staging_dir"
  67. help
  68. This is the location where the toolchain will be installed. The
  69. toolchain will not work if it is moved from this location.
  70. Therefore, if you wish to package up a uClibc toolchain, it is
  71. important that is is set to the final location where the toolchain
  72. will be used.
  73. Most people will leave this set to the default value of
  74. "$(BUILD_DIR)/staging_dir".
  75. config BR2_FPU_SUFFIX
  76. bool "Add '_nofpu' suffix for softfloat toolchains"
  77. help
  78. If the toolchain is configured to use softfloat, then
  79. the "_nofpu" suffix will be added to the toolchain build
  80. directory name and to any rootfs image name
  81. config BR2_TOPDIR_PREFIX
  82. string "Custom build dir prefix"
  83. default ""
  84. help
  85. Add a custom string to the beginning of the build directories.
  86. build_ARCH -> [PREFIX]_build_ARCH
  87. toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
  88. config BR2_TOPDIR_SUFFIX
  89. string "Custom build dir suffix"
  90. default ""
  91. help
  92. Add a custom string to the end of the build directories.
  93. build_ARCH -> build_ARCH_[SUFFIX]
  94. toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
  95. config BR2_GNU_BUILD_SUFFIX
  96. string "GNU build hostname suffix"
  97. default "pc-linux-gnu"
  98. help
  99. The string used to pass to configure scripts via the
  100. --build= option. Just specify the suffix here, the leading
  101. arch will be filled in automatically.
  102. Here's some copy and paste build host options for you:
  103. linux: pc-linux-gnu
  104. cygwin: pc-cygwin
  105. os x: apple-darwin7 / apple-darwin8
  106. config BR2_GNU_TARGET_SUFFIX
  107. string "GNU target suffix"
  108. default "linux-uclibcgnueabi" if BR2_ARM_EABI
  109. default "linux-uclibc"
  110. help
  111. The string used to pass to configure scripts via the
  112. --target= option. Just specify the suffix here, the leading
  113. arch will be filled in automatically.
  114. Most users will want to stick with the default setting, though
  115. other users (most notably ARM EABI) like to add on to this in
  116. order to stay in line with gcc conventions.
  117. Default options are:
  118. linux-uclibcgnueabi for ARM EABI
  119. linux-uclibc for the rest
  120. gnuhurd-uclibc for the hurd
  121. config BR2_JLEVEL
  122. int "Number of jobs to run simultaneously"
  123. default "1"
  124. help
  125. Number of jobs to run simultaneously
  126. config BR2_PREFER_IMA
  127. bool "prefer IMA compiles"
  128. help
  129. Where possible, compile package with Inter Module Analysis.
  130. This potentially uses alot of system resources on your compile
  131. host with the benefit of creating smaller binaries for the target.
  132. If unsure, say No.
  133. WARNING: This is highly experimental at the moment.
  134. config BR2_DEPRECATED
  135. bool "Show packages that are deprecated or obsolete"
  136. help
  137. This option hides outdated/obsolete versions of packages.
  138. config BR2_RECENT
  139. bool "Show packages that are of the latest major version"
  140. default y
  141. help
  142. This option show recent versions of packages.
  143. config BR2_CONFIG_CACHE
  144. bool "Use a central configure cache file"
  145. help
  146. This determines if a central config cache is used by
  147. packages, reducing the configure time for packages as each
  148. one caches its findings.
  149. config BR2_ENABLE_DEBUG
  150. bool "build packages with debugging symbols"
  151. select BR2_PACKAGE_GDB_SERVER
  152. help
  153. Build packages with debugging symbols
  154. enabled
  155. if BR2_ENABLE_DEBUG
  156. choice
  157. prompt "gcc debug level"
  158. default BR2_DEBUG_2
  159. help
  160. Set the debug level for gcc
  161. config BR2_DEBUG_1
  162. bool "debug level 1"
  163. help
  164. Debug level 1 produces minimal information, enough
  165. for making backtraces in parts of the program that
  166. you don't plan to debug. This includes descriptions
  167. of functions and external variables, but no information
  168. about local variables and no line numbers.
  169. config BR2_DEBUG_2
  170. bool "debug level 2"
  171. help
  172. The default gcc debug level is 2
  173. config BR2_DEBUG_3
  174. bool "debug level 3"
  175. help
  176. Level 3 includes extra information, such as all the
  177. macro definitions present in the program. Some debuggers
  178. support macro expansion when you use -g3.
  179. endchoice
  180. endif
  181. choice
  182. prompt "strip"
  183. default BR2_STRIP_strip
  184. help
  185. Select whether to strip binaries and libraries for the target
  186. or not.
  187. strip is the normal strip command
  188. sstrip is a strip that discards more than the normal strip
  189. none do not strip (only for debugging!)
  190. config BR2_STRIP_strip
  191. bool "strip"
  192. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  193. help
  194. strip is the normal strip command
  195. config BR2_STRIP_sstrip
  196. bool "sstrip"
  197. select BR2_PACKAGE_SSTRIP_HOST
  198. depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
  199. help
  200. sstrip is a strip that discards more than the normal strip
  201. config BR2_STRIP_none
  202. bool "none"
  203. help
  204. none do not strip (only for debugging!)
  205. endchoice
  206. choice
  207. prompt "gcc optimization level"
  208. default BR2_OPTIMIZE_S
  209. help
  210. Set the optimization level for gcc
  211. config BR2_OPTIMIZE_0
  212. bool "optimization level 0"
  213. depends on !BR2_PACKAGE_LINUX
  214. help
  215. Do not optimize. This is the default.
  216. config BR2_OPTIMIZE_1
  217. bool "optimization level 1"
  218. depends on !BR2_PACKAGE_LINUX
  219. help
  220. Optimize. Optimizing compilation takes somewhat more time,
  221. and a lot more memory for a large function. With -O, the
  222. compiler tries to reduce code size and execution time,
  223. without performing any optimizations that take a great deal
  224. of compilation time. -O turns on the following optimization
  225. flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
  226. -fcprop-registers -floop-optimize -fif-conversion
  227. -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
  228. -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
  229. -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
  230. -O also turns on -fomit-frame-pointer on machines where doing
  231. so does not interfere with debugging.
  232. config BR2_OPTIMIZE_2
  233. bool "optimization level 2"
  234. help
  235. Optimize even more. GCC performs nearly all supported optimizations
  236. that do not involve a space-speed tradeoff. The compiler does not
  237. perform loop unrolling or function inlining when you specify -O2.
  238. As compared to -O, this option increases both compilation time and
  239. the performance of the generated code. -O2 turns on all optimization
  240. flags specified by -O. It also turns on the following optimization
  241. flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
  242. -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
  243. -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
  244. -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
  245. -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
  246. -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
  247. -freorder-functions -falign-functions -falign-jumps -falign-loops
  248. -falign-labels -ftree-vrp -ftree-pre
  249. Please note the warning under -fgcse about invoking -O2 on programs
  250. that use computed gotos.
  251. config BR2_OPTIMIZE_3
  252. bool "optimization level 3"
  253. help
  254. Optimize yet more. -O3 turns on all optimizations specified by -O2
  255. and also turns on the -finline-functions, -funswitch-loops and
  256. -fgcse-after-reload options.
  257. config BR2_OPTIMIZE_S
  258. bool "optimize for size"
  259. help
  260. Optimize for size. -Os enables all -O2 optimizations that do not
  261. typically increase code size. It also performs further optimizations
  262. designed to reduce code size. -Os disables the following optimization
  263. flags: -falign-functions -falign-jumps -falign-loops -falign-labels
  264. -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
  265. -ftree-vect-loop-version
  266. endchoice
  267. config BR2_PREFER_STATIC_LIB
  268. bool "prefer static libraries"
  269. help
  270. Where possible, build and use static libraries for the target.
  271. This potentially increases your code size and should only be
  272. used if you know what you do.
  273. The default is to build dynamic libraries and use those on
  274. the target filesystem.
  275. WARNING: This is highly experimental at the moment.
  276. config BR2_HAVE_MANPAGES
  277. bool "manpages on the target"
  278. help
  279. Leave the manpages on the target.
  280. If you say n here, your target will not contain any
  281. manpage.
  282. config BR2_HAVE_INFOPAGES
  283. bool "infopages on the target"
  284. help
  285. Leave the infopages on the target.
  286. If you say n here, your target will not contain any
  287. infopage.
  288. config BR2_HAVE_DOCUMENTATION
  289. bool "documentation on the target"
  290. help
  291. Leave the documentation on the target.
  292. If you say n here, your target will not contain any
  293. documentation.
  294. config BR2_HAVE_DEVFILES
  295. bool "development files in target filesystem"
  296. help
  297. Install headers and static libraries in the
  298. target filesystem
  299. source package/gnuconfig/Config.in
  300. endmenu
  301. source "toolchain/Config.in"
  302. source "package/Config.in"
  303. source "target/Config.in"