Config.in 11 KB

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