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"
43 Command to be used to extract a gzip'ed file to stdout.
44 zcat is identical to gunzip -c except that the former may
45 not be available on your system.
46 Default is "gzip -d -c"
47 Other possible values include "gunzip -c" or "zcat".
50 string "bzcat command"
53 Command to be used to extract a bzip2'ed file to stdout.
54 bzcat is identical to bunzip2 -c except that the former may
55 not be available on your system.
57 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
60 string "xzcat command"
63 Command to be used to extract a xz'ed file to stdout.
66 config BR2_TAR_OPTIONS
70 Options to pass to tar when extracting the sources.
71 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
78 default "$(TOPDIR)/dl"
80 Directory to store all the source files that we need to fetch.
81 If the Linux shell environment has defined the BUILDROOT_DL_DIR
82 environment variable, then this overrides this configuration item.
84 The default is $(TOPDIR)/dl
88 default "$(BASE_DIR)/host"
90 Directory to store all the binary files that are built for the host.
91 This includes the cross compilation toolchain when building the
92 internal buildroot toolchain.
94 The default is $(BASE_DIR)/host
96 menu "Mirrors and Download locations"
98 config BR2_PRIMARY_SITE
99 string "Primary download site"
102 Primary site to download from. If this option is set then buildroot
103 will try to download package source first from this site and try the
104 default if the file is not found.
105 NOTE: This only works for packages using the Makefile.autotools.in
107 config BR2_BACKUP_SITE
108 string "Backup download site"
109 default "http://sources.buildroot.net/"
111 Backup site to download from. If this option is set then buildroot
112 will fall back to download package sources from here if the
113 normal location fails.
115 config BR2_SOURCEFORGE_MIRROR
116 string "Sourceforge mirror site"
119 Sourceforge has a system of mirror sites. Some sites may be
120 closer to your location, and sometimes mirror sites go down
121 and are no longer available. This option allows you to select
122 your preferred Sourceforge mirror site.
124 The list of mirrors is available here:
125 http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
127 config BR2_KERNEL_MIRROR
128 string "Kernel.org mirror"
129 default "http://www.kernel.org/pub/"
131 kernel.org is mirrored on a number of servers around the world.
132 The following allows you to select your preferred mirror.
134 Have a look on the kernel.org site for a list of mirrors, then enter
135 the URL to the base directory. Examples:
137 http://www.XX.kernel.org/pub (XX = country code)
138 http://mirror.aarnet.edu.au/pub/ftp.kernel.org
140 config BR2_GNU_MIRROR
141 string "GNU Software mirror"
142 default "http://ftp.gnu.org/pub/gnu"
144 GNU has multiple software mirrors scattered around the world.
145 The following allows you to select your preferred mirror.
147 Have a look on the gnu.org site for a list of mirrors, then enter
148 the URL to the base directory. Examples:
150 http://ftp.gnu.org/pub/gnu
151 http://mirror.aarnet.edu.au/pub/gnu
153 config BR2_DEBIAN_MIRROR
154 string "Debian Software mirror"
155 default "http://ftp.debian.org"
157 Debian has multiple software mirrors scattered around the world.
158 The following allows you to select your preferred mirror.
160 Usually, just add your country code like XX here:
161 http://ftp.XX.debian.org
166 int "Number of jobs to run simultaneously"
169 Number of jobs to run simultaneously
172 bool "Enable compiler cache"
174 This option will enable the use of ccache, a compiler
175 cache. It will cache the result of previous builds to speed
176 up future builds. The cache is stored in
177 $HOME/.buildroot-ccache.
179 config BR2_DEPRECATED
180 bool "Show packages that are deprecated or obsolete"
182 This option hides outdated/obsolete versions of packages.
184 config BR2_ENABLE_DEBUG
185 bool "build packages with debugging symbols"
186 select BR2_PACKAGE_GDB_SERVER
188 Build packages with debugging symbols
193 prompt "gcc debug level"
196 Set the debug level for gcc
201 Debug level 1 produces minimal information, enough
202 for making backtraces in parts of the program that
203 you don't plan to debug. This includes descriptions
204 of functions and external variables, but no information
205 about local variables and no line numbers.
210 The default gcc debug level is 2
215 Level 3 includes extra information, such as all the
216 macro definitions present in the program. Some debuggers
217 support macro expansion when you use -g3.
223 default BR2_STRIP_strip
225 Select whether to strip binaries and libraries for the target
227 strip is the normal strip command
228 sstrip is a strip that discards more than the normal strip
229 none do not strip (only for debugging!)
231 config BR2_STRIP_strip
233 depends on !BR2_ELF2FLT
235 strip is the normal strip command
237 config BR2_STRIP_sstrip
239 select BR2_PACKAGE_SSTRIP_HOST
240 depends on !BR2_ELF2FLT
242 sstrip is a strip that discards more than the normal strip
244 config BR2_STRIP_none
247 none do not strip (only for debugging!)
251 prompt "gcc optimization level"
252 default BR2_OPTIMIZE_S
254 Set the optimization level for gcc
256 config BR2_OPTIMIZE_0
257 bool "optimization level 0"
259 Do not optimize. This is the default.
261 config BR2_OPTIMIZE_1
262 bool "optimization level 1"
264 Optimize. Optimizing compilation takes somewhat more time,
265 and a lot more memory for a large function. With -O, the
266 compiler tries to reduce code size and execution time,
267 without performing any optimizations that take a great deal
268 of compilation time. -O turns on the following optimization
269 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
270 -fcprop-registers -floop-optimize -fif-conversion
271 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
272 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
273 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
274 -O also turns on -fomit-frame-pointer on machines where doing
275 so does not interfere with debugging.
277 config BR2_OPTIMIZE_2
278 bool "optimization level 2"
280 Optimize even more. GCC performs nearly all supported optimizations
281 that do not involve a space-speed tradeoff. The compiler does not
282 perform loop unrolling or function inlining when you specify -O2.
283 As compared to -O, this option increases both compilation time and
284 the performance of the generated code. -O2 turns on all optimization
285 flags specified by -O. It also turns on the following optimization
286 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
287 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
288 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
289 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
290 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
291 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
292 -freorder-functions -falign-functions -falign-jumps -falign-loops
293 -falign-labels -ftree-vrp -ftree-pre
294 Please note the warning under -fgcse about invoking -O2 on programs
295 that use computed gotos.
297 config BR2_OPTIMIZE_3
298 bool "optimization level 3"
300 Optimize yet more. -O3 turns on all optimizations specified by -O2
301 and also turns on the -finline-functions, -funswitch-loops and
302 -fgcse-after-reload options.
304 config BR2_OPTIMIZE_S
305 bool "optimize for size"
307 Optimize for size. -Os enables all -O2 optimizations that do not
308 typically increase code size. It also performs further optimizations
309 designed to reduce code size. -Os disables the following optimization
310 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
311 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
312 -ftree-vect-loop-version
316 config BR2_PREFER_STATIC_LIB
317 bool "prefer static libraries"
319 Where possible, build and use static libraries for the target.
320 This potentially increases your code size and should only be
321 used if you know what you do.
322 The default is to build dynamic libraries and use those on
323 the target filesystem.
325 WARNING: This is highly experimental at the moment.
327 config BR2_HAVE_DOCUMENTATION
328 bool "documentation on the target"
330 Install the documentation, including manual pages and info
331 pages, on the target.
332 If you say n here, your target will not contain any
335 config BR2_HAVE_DEVFILES
336 bool "development files in target filesystem"
338 Install headers and static libraries in the
341 config BR2_PACKAGE_OVERRIDE_FILE
342 string "location of a package override file"
343 default "$(TOPDIR)/local.mk"
345 A package override file is a short makefile that contains
346 variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
347 which allows to tell Buildroot to use an existing directory
348 as the source directory for a particular package. See the
349 Buildroot documentation for more details on this feature.
353 source "toolchain/Config.in"
355 source "target/generic/Config.in"
357 source "package/Config.in"
359 source "fs/Config.in"
361 source "boot/Config.in"
363 source "linux/Config.in"