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