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"
39 Command to be used to extract a gzip'ed file to stdout.
40 zcat is identical to gunzip -c except that the former may
41 not be available on your system.
42 Default is "gzip -d -c"
43 Other possible values include "gunzip -c" or "zcat".
46 string "bzcat command"
49 Command to be used to extract a bzip2'ed file to stdout.
50 bzcat is identical to bunzip2 -c except that the former may
51 not be available on your system.
53 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
55 config BR2_TAR_OPTIONS
59 Options to pass to tar when extracting the sources.
60 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
67 default "$(TOPDIR)/dl"
69 Directory to store all the source files that we need to fetch.
70 If the Linux shell environment has defined the BUILDROOT_DL_DIR
71 environment variable, then this overrides this configuration item.
73 The default is $(TOPDIR)/dl
77 default "$(BASE_DIR)/host"
79 Directory to store all the binary files that are built for the host.
80 This includes the cross compilation toolchain when building the
81 internal buildroot toolchain.
83 The default is $(BASE_DIR)/host
85 menu "Mirrors and Download locations"
87 config BR2_PRIMARY_SITE
88 string "Primary download site"
91 Primary site to download from. If this option is set then buildroot
92 will try to download package source first from this site and try the
93 default if the file is not found.
94 NOTE: This only works for packages using the Makefile.autotools.in
96 config BR2_BACKUP_SITE
97 string "Backup download site"
98 default "http://sources.buildroot.net/"
100 Backup site to download from. If this option is set then buildroot
101 will fall back to download package sources from here if the
102 normal location fails.
104 config BR2_SOURCEFORGE_MIRROR
105 string "Sourceforge mirror site"
108 Sourceforge has a system of mirror sites. Some sites may be
109 closer to your location, and sometimes mirror sites go down
110 and are no longer available. This option allows you to select
111 your preferred Sourceforge mirror site.
113 The list of mirrors is available here:
114 http://prdownloads.sourceforge.net/index-sf.html?download
116 config BR2_KERNEL_MIRROR
117 string "Kernel.org mirror"
118 default "http://www.kernel.org/pub/"
120 kernel.org is mirrored on a number of servers around the world.
121 The following allows you to select your preferred mirror.
123 Have a look on the kernel.org site for a list of mirrors, then enter
124 the URL to the base directory. Examples:
126 http://www.XX.kernel.org/pub (XX = country code)
127 http://mirror.aarnet.edu.au/pub/ftp.kernel.org
129 config BR2_GNU_MIRROR
130 string "GNU Software mirror"
131 default "http://ftp.gnu.org/pub/gnu"
133 GNU has multiple software mirrors scattered around the world.
134 The following allows you to select your preferred mirror.
136 Have a look on the gnu.org site for a list of mirrors, then enter
137 the URL to the base directory. Examples:
139 http://ftp.gnu.org/pub/gnu
140 http://mirror.aarnet.edu.au/pub/gnu
142 config BR2_DEBIAN_MIRROR
143 string "Debian Software mirror"
144 default "http://ftp.debian.org"
146 Debian has multiple software mirrors scattered around the world.
147 The following allows you to select your preferred mirror.
149 Usually, just add your country code like XX here:
150 http://ftp.XX.debian.org
155 int "Number of jobs to run simultaneously"
158 Number of jobs to run simultaneously
161 bool "Enable compiler cache"
163 This option will enable the use of ccache, a compiler
164 cache. It will cache the result of previous builds to speed
165 up future builds. The cache is stored in
166 $HOME/.buildroot-ccache.
168 config BR2_DEPRECATED
169 bool "Show packages that are deprecated or obsolete"
171 This option hides outdated/obsolete versions of packages.
173 config BR2_ENABLE_DEBUG
174 bool "build packages with debugging symbols"
175 select BR2_PACKAGE_GDB_SERVER
177 Build packages with debugging symbols
182 prompt "gcc debug level"
185 Set the debug level for gcc
190 Debug level 1 produces minimal information, enough
191 for making backtraces in parts of the program that
192 you don't plan to debug. This includes descriptions
193 of functions and external variables, but no information
194 about local variables and no line numbers.
199 The default gcc debug level is 2
204 Level 3 includes extra information, such as all the
205 macro definitions present in the program. Some debuggers
206 support macro expansion when you use -g3.
212 default BR2_STRIP_strip
214 Select whether to strip binaries and libraries for the target
216 strip is the normal strip command
217 sstrip is a strip that discards more than the normal strip
218 none do not strip (only for debugging!)
220 config BR2_STRIP_strip
222 depends on !BR2_ELF2FLT
224 strip is the normal strip command
226 config BR2_STRIP_sstrip
228 select BR2_PACKAGE_SSTRIP_HOST
229 depends on !BR2_ELF2FLT
231 sstrip is a strip that discards more than the normal strip
233 config BR2_STRIP_none
236 none do not strip (only for debugging!)
240 prompt "gcc optimization level"
241 default BR2_OPTIMIZE_S
243 Set the optimization level for gcc
245 config BR2_OPTIMIZE_0
246 bool "optimization level 0"
248 Do not optimize. This is the default.
250 config BR2_OPTIMIZE_1
251 bool "optimization level 1"
253 Optimize. Optimizing compilation takes somewhat more time,
254 and a lot more memory for a large function. With -O, the
255 compiler tries to reduce code size and execution time,
256 without performing any optimizations that take a great deal
257 of compilation time. -O turns on the following optimization
258 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
259 -fcprop-registers -floop-optimize -fif-conversion
260 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
261 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
262 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
263 -O also turns on -fomit-frame-pointer on machines where doing
264 so does not interfere with debugging.
266 config BR2_OPTIMIZE_2
267 bool "optimization level 2"
269 Optimize even more. GCC performs nearly all supported optimizations
270 that do not involve a space-speed tradeoff. The compiler does not
271 perform loop unrolling or function inlining when you specify -O2.
272 As compared to -O, this option increases both compilation time and
273 the performance of the generated code. -O2 turns on all optimization
274 flags specified by -O. It also turns on the following optimization
275 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
276 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
277 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
278 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
279 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
280 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
281 -freorder-functions -falign-functions -falign-jumps -falign-loops
282 -falign-labels -ftree-vrp -ftree-pre
283 Please note the warning under -fgcse about invoking -O2 on programs
284 that use computed gotos.
286 config BR2_OPTIMIZE_3
287 bool "optimization level 3"
289 Optimize yet more. -O3 turns on all optimizations specified by -O2
290 and also turns on the -finline-functions, -funswitch-loops and
291 -fgcse-after-reload options.
293 config BR2_OPTIMIZE_S
294 bool "optimize for size"
296 Optimize for size. -Os enables all -O2 optimizations that do not
297 typically increase code size. It also performs further optimizations
298 designed to reduce code size. -Os disables the following optimization
299 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
300 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
301 -ftree-vect-loop-version
305 config BR2_PREFER_STATIC_LIB
306 bool "prefer static libraries"
308 Where possible, build and use static libraries for the target.
309 This potentially increases your code size and should only be
310 used if you know what you do.
311 The default is to build dynamic libraries and use those on
312 the target filesystem.
314 WARNING: This is highly experimental at the moment.
316 config BR2_HAVE_DOCUMENTATION
317 bool "documentation on the target"
319 Install the documentation, including manual pages and info
320 pages, on the target.
321 If you say n here, your target will not contain any
324 config BR2_HAVE_DEVFILES
325 bool "development files in target filesystem"
327 Install headers and static libraries in the
332 source "toolchain/Config.in"
334 source "target/generic/Config.in"
336 source "package/Config.in"
338 source "fs/Config.in"
340 source "boot/Config.in"
342 source "linux/Config.in"