3 mainmenu "Buildroot $BR2_VERSION Configuration"
5 config BR2_HAVE_DOT_CONFIG
11 option env="BR2_VERSION_FULL"
13 source "target/Config.in.arch"
21 default "wget --passive-ftp -nd -t 3"
24 string "Subversion (svn) command"
28 string "Bazaar (bzr) command"
36 string "Local files retrieval command"
40 string "Secure copy (scp) command"
44 string "Secure shell (ssh) command"
48 string "Mercurial (hg) command"
55 Command to be used to extract a gzip'ed file to stdout.
56 zcat is identical to gunzip -c except that the former may
57 not be available on your system.
58 Default is "gzip -d -c"
59 Other possible values include "gunzip -c" or "zcat".
62 string "bzcat command"
65 Command to be used to extract a bzip2'ed file to stdout.
66 bzcat is identical to bunzip2 -c except that the former may
67 not be available on your system.
69 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
72 string "xzcat command"
75 Command to be used to extract a xz'ed file to stdout.
78 config BR2_TAR_OPTIONS
82 Options to pass to tar when extracting the sources.
83 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
90 default "$(TOPDIR)/dl"
92 Directory to store all the source files that we need to fetch.
93 If the Linux shell environment has defined the BUILDROOT_DL_DIR
94 environment variable, then this overrides this configuration item.
96 The default is $(TOPDIR)/dl
100 default "$(BASE_DIR)/host"
102 Directory to store all the binary files that are built for the host.
103 This includes the cross compilation toolchain when building the
104 internal buildroot toolchain.
106 The default is $(BASE_DIR)/host
108 menu "Mirrors and Download locations"
110 config BR2_PRIMARY_SITE
111 string "Primary download site"
114 Primary site to download from. If this option is set then buildroot
115 will try to download package source first from this site and try the
116 default if the file is not found.
117 Valid URIs are URIs recognized by $(WGET) and scp URIs of the form
118 scp://[user@]host:path.
119 NOTE: This works for all packages using the central package
120 infrastructure (generic, autotools, cmake, ...)
122 config BR2_BACKUP_SITE
123 string "Backup download site"
124 default "http://sources.buildroot.net/"
126 Backup site to download from. If this option is set then buildroot
127 will fall back to download package sources from here if the
128 normal location fails.
130 config BR2_SOURCEFORGE_MIRROR
131 string "Sourceforge mirror site"
134 Sourceforge has a system of mirror sites. Some sites may be
135 closer to your location, and sometimes mirror sites go down
136 and are no longer available. This option allows you to select
137 your preferred Sourceforge mirror site.
139 The list of mirrors is available here:
140 http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
142 config BR2_KERNEL_MIRROR
143 string "Kernel.org mirror"
144 default "http://www.kernel.org/pub/"
146 kernel.org is mirrored on a number of servers around the world.
147 The following allows you to select your preferred mirror.
149 Have a look on the kernel.org site for a list of mirrors, then enter
150 the URL to the base directory. Examples:
152 http://www.XX.kernel.org/pub (XX = country code)
153 http://mirror.aarnet.edu.au/pub/ftp.kernel.org
155 config BR2_GNU_MIRROR
156 string "GNU Software mirror"
157 default "http://ftp.gnu.org/pub/gnu"
159 GNU has multiple software mirrors scattered around the world.
160 The following allows you to select your preferred mirror.
162 Have a look on the gnu.org site for a list of mirrors, then enter
163 the URL to the base directory. Examples:
165 http://ftp.gnu.org/pub/gnu
166 http://mirror.aarnet.edu.au/pub/gnu
168 config BR2_DEBIAN_MIRROR
169 string "Debian Software mirror"
170 default "http://ftp.debian.org"
172 Debian has multiple software mirrors scattered around the world.
173 The following allows you to select your preferred mirror.
175 Usually, just add your country code like XX here:
176 http://ftp.XX.debian.org
181 int "Number of jobs to run simultaneously"
184 Number of jobs to run simultaneously
187 bool "Enable compiler cache"
189 This option will enable the use of ccache, a compiler
190 cache. It will cache the result of previous builds to speed
191 up future builds. The cache is stored in
192 $HOME/.buildroot-ccache.
194 Note that Buildroot does not try to invalidate the cache
195 contents when the compiler changes in an incompatible
196 way. Therefore, if you make a change to the compiler version
197 and/or configuration, you are responsible for purging the
198 ccache cache by removing the $HOME/.buildroot-ccache
201 config BR2_DEPRECATED
202 bool "Show packages that are deprecated or obsolete"
204 This option hides outdated/obsolete versions of packages.
206 config BR2_ENABLE_DEBUG
207 bool "build packages with debugging symbols"
209 Build packages with debugging symbols
214 prompt "gcc debug level"
217 Set the debug level for gcc
222 Debug level 1 produces minimal information, enough
223 for making backtraces in parts of the program that
224 you don't plan to debug. This includes descriptions
225 of functions and external variables, but no information
226 about local variables and no line numbers.
231 The default gcc debug level is 2
236 Level 3 includes extra information, such as all the
237 macro definitions present in the program. Some debuggers
238 support macro expansion when you use -g3.
244 default BR2_STRIP_strip
246 Select whether to strip binaries and libraries for the target
248 strip is the normal strip command
249 sstrip is a strip that discards more than the normal strip
250 none do not strip (only for debugging!)
252 config BR2_STRIP_strip
254 depends on !BR2_ELF2FLT
256 strip is the normal strip command
258 config BR2_STRIP_sstrip
260 select BR2_PACKAGE_SSTRIP_HOST
261 depends on !BR2_ELF2FLT
263 sstrip is a strip that discards more than the normal strip
265 config BR2_STRIP_none
268 none do not strip (only for debugging!)
272 prompt "gcc optimization level"
273 default BR2_OPTIMIZE_S
275 Set the optimization level for gcc
277 config BR2_OPTIMIZE_0
278 bool "optimization level 0"
280 Do not optimize. This is the default.
282 config BR2_OPTIMIZE_1
283 bool "optimization level 1"
285 Optimize. Optimizing compilation takes somewhat more time,
286 and a lot more memory for a large function. With -O, the
287 compiler tries to reduce code size and execution time,
288 without performing any optimizations that take a great deal
289 of compilation time. -O turns on the following optimization
290 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
291 -fcprop-registers -floop-optimize -fif-conversion
292 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
293 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
294 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
295 -O also turns on -fomit-frame-pointer on machines where doing
296 so does not interfere with debugging.
298 config BR2_OPTIMIZE_2
299 bool "optimization level 2"
301 Optimize even more. GCC performs nearly all supported optimizations
302 that do not involve a space-speed tradeoff. The compiler does not
303 perform loop unrolling or function inlining when you specify -O2.
304 As compared to -O, this option increases both compilation time and
305 the performance of the generated code. -O2 turns on all optimization
306 flags specified by -O. It also turns on the following optimization
307 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
308 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
309 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
310 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
311 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
312 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
313 -freorder-functions -falign-functions -falign-jumps -falign-loops
314 -falign-labels -ftree-vrp -ftree-pre
315 Please note the warning under -fgcse about invoking -O2 on programs
316 that use computed gotos.
318 config BR2_OPTIMIZE_3
319 bool "optimization level 3"
321 Optimize yet more. -O3 turns on all optimizations specified by -O2
322 and also turns on the -finline-functions, -funswitch-loops and
323 -fgcse-after-reload options.
325 config BR2_OPTIMIZE_S
326 bool "optimize for size"
328 Optimize for size. -Os enables all -O2 optimizations that do not
329 typically increase code size. It also performs further optimizations
330 designed to reduce code size. -Os disables the following optimization
331 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
332 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
333 -ftree-vect-loop-version
337 config BR2_PREFER_STATIC_LIB
338 bool "prefer static libraries"
340 Where possible, build and use static libraries for the target.
341 This potentially increases your code size and should only be
342 used if you know what you do.
343 The default is to build dynamic libraries and use those on
344 the target filesystem.
346 WARNING: This is highly experimental at the moment.
348 config BR2_HAVE_DOCUMENTATION
349 bool "documentation on the target"
351 Install the documentation, including manual pages and info
352 pages, on the target.
353 If you say n here, your target will not contain any
356 config BR2_HAVE_DEVFILES
357 bool "development files in target filesystem"
359 Install headers and static libraries in the
362 config BR2_PACKAGE_OVERRIDE_FILE
363 string "location of a package override file"
364 default "$(TOPDIR)/local.mk"
366 A package override file is a short makefile that contains
367 variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
368 which allows to tell Buildroot to use an existing directory
369 as the source directory for a particular package. See the
370 Buildroot documentation for more details on this feature.
374 source "toolchain/Config.in"
376 source "target/generic/Config.in"
378 source "package/Config.in"
380 source "package/Config.in.host"
382 source "fs/Config.in"
384 source "boot/Config.in"
386 source "linux/Config.in"