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"
51 Command to be used to extract a gzip'ed file to stdout.
52 zcat is identical to gunzip -c except that the former may
53 not be available on your system.
54 Default is "gzip -d -c"
55 Other possible values include "gunzip -c" or "zcat".
58 string "bzcat command"
61 Command to be used to extract a bzip2'ed file to stdout.
62 bzcat is identical to bunzip2 -c except that the former may
63 not be available on your system.
65 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
68 string "xzcat command"
71 Command to be used to extract a xz'ed file to stdout.
74 config BR2_TAR_OPTIONS
78 Options to pass to tar when extracting the sources.
79 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
86 default "$(TOPDIR)/dl"
88 Directory to store all the source files that we need to fetch.
89 If the Linux shell environment has defined the BUILDROOT_DL_DIR
90 environment variable, then this overrides this configuration item.
92 The default is $(TOPDIR)/dl
96 default "$(BASE_DIR)/host"
98 Directory to store all the binary files that are built for the host.
99 This includes the cross compilation toolchain when building the
100 internal buildroot toolchain.
102 The default is $(BASE_DIR)/host
104 menu "Mirrors and Download locations"
106 config BR2_PRIMARY_SITE
107 string "Primary download site"
110 Primary site to download from. If this option is set then buildroot
111 will try to download package source first from this site and try the
112 default if the file is not found.
113 Valid URIs are URIs recognized by $(WGET) and scp URIs of the form
114 scp://[user@]host:path.
115 NOTE: This works for all packages using the central package
116 infrastructure (generic, autotools, cmake, ...)
118 config BR2_BACKUP_SITE
119 string "Backup download site"
120 default "http://sources.buildroot.net/"
122 Backup site to download from. If this option is set then buildroot
123 will fall back to download package sources from here if the
124 normal location fails.
126 config BR2_SOURCEFORGE_MIRROR
127 string "Sourceforge mirror site"
130 Sourceforge has a system of mirror sites. Some sites may be
131 closer to your location, and sometimes mirror sites go down
132 and are no longer available. This option allows you to select
133 your preferred Sourceforge mirror site.
135 The list of mirrors is available here:
136 http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
138 config BR2_KERNEL_MIRROR
139 string "Kernel.org mirror"
140 default "http://www.kernel.org/pub/"
142 kernel.org is mirrored on a number of servers around the world.
143 The following allows you to select your preferred mirror.
145 Have a look on the kernel.org site for a list of mirrors, then enter
146 the URL to the base directory. Examples:
148 http://www.XX.kernel.org/pub (XX = country code)
149 http://mirror.aarnet.edu.au/pub/ftp.kernel.org
151 config BR2_GNU_MIRROR
152 string "GNU Software mirror"
153 default "http://ftp.gnu.org/pub/gnu"
155 GNU has multiple software mirrors scattered around the world.
156 The following allows you to select your preferred mirror.
158 Have a look on the gnu.org site for a list of mirrors, then enter
159 the URL to the base directory. Examples:
161 http://ftp.gnu.org/pub/gnu
162 http://mirror.aarnet.edu.au/pub/gnu
164 config BR2_DEBIAN_MIRROR
165 string "Debian Software mirror"
166 default "http://ftp.debian.org"
168 Debian has multiple software mirrors scattered around the world.
169 The following allows you to select your preferred mirror.
171 Usually, just add your country code like XX here:
172 http://ftp.XX.debian.org
177 int "Number of jobs to run simultaneously"
180 Number of jobs to run simultaneously
183 bool "Enable compiler cache"
185 This option will enable the use of ccache, a compiler
186 cache. It will cache the result of previous builds to speed
187 up future builds. The cache is stored in
188 $HOME/.buildroot-ccache.
190 config BR2_DEPRECATED
191 bool "Show packages that are deprecated or obsolete"
193 This option hides outdated/obsolete versions of packages.
195 config BR2_ENABLE_DEBUG
196 bool "build packages with debugging symbols"
197 select BR2_PACKAGE_GDB_SERVER
199 Build packages with debugging symbols
204 prompt "gcc debug level"
207 Set the debug level for gcc
212 Debug level 1 produces minimal information, enough
213 for making backtraces in parts of the program that
214 you don't plan to debug. This includes descriptions
215 of functions and external variables, but no information
216 about local variables and no line numbers.
221 The default gcc debug level is 2
226 Level 3 includes extra information, such as all the
227 macro definitions present in the program. Some debuggers
228 support macro expansion when you use -g3.
234 default BR2_STRIP_strip
236 Select whether to strip binaries and libraries for the target
238 strip is the normal strip command
239 sstrip is a strip that discards more than the normal strip
240 none do not strip (only for debugging!)
242 config BR2_STRIP_strip
244 depends on !BR2_ELF2FLT
246 strip is the normal strip command
248 config BR2_STRIP_sstrip
250 select BR2_PACKAGE_SSTRIP_HOST
251 depends on !BR2_ELF2FLT
253 sstrip is a strip that discards more than the normal strip
255 config BR2_STRIP_none
258 none do not strip (only for debugging!)
262 prompt "gcc optimization level"
263 default BR2_OPTIMIZE_S
265 Set the optimization level for gcc
267 config BR2_OPTIMIZE_0
268 bool "optimization level 0"
270 Do not optimize. This is the default.
272 config BR2_OPTIMIZE_1
273 bool "optimization level 1"
275 Optimize. Optimizing compilation takes somewhat more time,
276 and a lot more memory for a large function. With -O, the
277 compiler tries to reduce code size and execution time,
278 without performing any optimizations that take a great deal
279 of compilation time. -O turns on the following optimization
280 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
281 -fcprop-registers -floop-optimize -fif-conversion
282 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
283 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
284 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
285 -O also turns on -fomit-frame-pointer on machines where doing
286 so does not interfere with debugging.
288 config BR2_OPTIMIZE_2
289 bool "optimization level 2"
291 Optimize even more. GCC performs nearly all supported optimizations
292 that do not involve a space-speed tradeoff. The compiler does not
293 perform loop unrolling or function inlining when you specify -O2.
294 As compared to -O, this option increases both compilation time and
295 the performance of the generated code. -O2 turns on all optimization
296 flags specified by -O. It also turns on the following optimization
297 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
298 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
299 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
300 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
301 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
302 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
303 -freorder-functions -falign-functions -falign-jumps -falign-loops
304 -falign-labels -ftree-vrp -ftree-pre
305 Please note the warning under -fgcse about invoking -O2 on programs
306 that use computed gotos.
308 config BR2_OPTIMIZE_3
309 bool "optimization level 3"
311 Optimize yet more. -O3 turns on all optimizations specified by -O2
312 and also turns on the -finline-functions, -funswitch-loops and
313 -fgcse-after-reload options.
315 config BR2_OPTIMIZE_S
316 bool "optimize for size"
318 Optimize for size. -Os enables all -O2 optimizations that do not
319 typically increase code size. It also performs further optimizations
320 designed to reduce code size. -Os disables the following optimization
321 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
322 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
323 -ftree-vect-loop-version
327 config BR2_PREFER_STATIC_LIB
328 bool "prefer static libraries"
330 Where possible, build and use static libraries for the target.
331 This potentially increases your code size and should only be
332 used if you know what you do.
333 The default is to build dynamic libraries and use those on
334 the target filesystem.
336 WARNING: This is highly experimental at the moment.
338 config BR2_HAVE_DOCUMENTATION
339 bool "documentation on the target"
341 Install the documentation, including manual pages and info
342 pages, on the target.
343 If you say n here, your target will not contain any
346 config BR2_HAVE_DEVFILES
347 bool "development files in target filesystem"
349 Install headers and static libraries in the
352 config BR2_PACKAGE_OVERRIDE_FILE
353 string "location of a package override file"
354 default "$(TOPDIR)/local.mk"
356 A package override file is a short makefile that contains
357 variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
358 which allows to tell Buildroot to use an existing directory
359 as the source directory for a particular package. See the
360 Buildroot documentation for more details on this feature.
364 source "toolchain/Config.in"
366 source "target/generic/Config.in"
368 source "package/Config.in"
370 source "fs/Config.in"
372 source "boot/Config.in"
374 source "linux/Config.in"