Config.in 11 KB

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