3 mainmenu "Buildroot2 Configuration"
5 config BR2_HAVE_DOT_CONFIG
11 option env="BR2_VERSION_FULL"
13 source "target/Config.in.arch"
14 source "target/device/Config.in"
22 default "wget --passive-ftp -nd -t 3"
25 string "Subversion (svn) command"
29 string "Bazaar (bzr) command"
40 Command to be used to extract a gzip'ed file to stdout.
41 zcat is identical to gunzip -c except that the former may
42 not be available on your system.
43 Default is "gzip -d -c"
44 Other possible values include "gunzip -c" or "zcat".
47 string "bzcat command"
50 Command to be used to extract a bzip2'ed file to stdout.
51 bzcat is identical to bunzip2 -c except that the former may
52 not be available on your system.
54 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
56 config BR2_TAR_OPTIONS
60 Options to pass to tar when extracting the sources.
61 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
68 default "$(TOPDIR)/dl"
70 Directory to store all the source files that we need to fetch.
71 If the Linux shell environment has defined the BUILDROOT_DL_DIR
72 environment variable, then this overrides this configuration item.
74 The default is $(TOPDIR)/dl
76 config BR2_STAGING_DIR
77 string "Toolchain and header file location?"
78 default "$(BASE_DIR)/staging"
80 This is the location where the toolchain will be installed. The
81 toolchain will not work if it is moved from this location.
82 Therefore, if you wish to package up a uClibc toolchain, it is
83 important that is is set to the final location where the toolchain
86 Most people will leave this set to the default value of
87 "$(BASE_DIR)/staging".
89 menu "Mirrors and Download locations"
91 config BR2_PRIMARY_SITE
92 string "Primary download site"
95 Primary site to download from. If this option is set then buildroot
96 will try to download package source first from this site and try the
97 default if the file is not found.
98 NOTE: This only works for packages using the Makefile.autotools.in
100 config BR2_BACKUP_SITE
101 string "Backup download site"
102 default "http://sources.buildroot.net/"
104 Backup site to download from. If this option is set then buildroot
105 will fall back to download package sources from here if the
106 normal location fails.
108 config BR2_SOURCEFORGE_MIRROR
109 string "Sourceforge mirror site"
112 Sourceforge has a system of mirror sites. Some sites may be
113 closer to your location, and sometimes mirror sites go down
114 and are no longer available. This option allows you to select
115 your preferred Sourceforge mirror site.
117 The list of mirrors is available here:
118 http://prdownloads.sourceforge.net/index-sf.html?download
120 config BR2_KERNEL_MIRROR
121 string "Kernel.org mirror"
122 default "http://www.kernel.org/pub/"
124 kernel.org is mirrored on a number of servers around the world.
125 The following allows you to select your preferred mirror.
127 Have a look on the kernel.org site for a list of mirrors, then enter
128 the URL to the base directory. Examples:
130 http://www.XX.kernel.org/pub (XX = country code)
131 http://mirror.aarnet.edu.au/pub/ftp.kernel.org
133 config BR2_GNU_MIRROR
134 string "GNU Software mirror"
135 default "http://ftp.gnu.org/pub/gnu"
137 GNU has multiple software mirrors scattered around the world.
138 The following allows you to select your preferred mirror.
140 Have a look on the gnu.org site for a list of mirrors, then enter
141 the URL to the base directory. Examples:
143 http://ftp.gnu.org/pub/gnu
144 http://mirror.aarnet.edu.au/pub/gnu
146 config BR2_DEBIAN_MIRROR
147 string "Debian Software mirror"
148 default "http://ftp.debian.org"
150 Debian has multiple software mirrors scattered around the world.
151 The following allows you to select your preferred mirror.
153 Usually, just add your country code like XX here:
154 http://ftp.XX.debian.org
159 int "Number of jobs to run simultaneously"
162 Number of jobs to run simultaneously
165 bool "Enable compiler cache"
167 This option will enable the use of ccache, a compiler
168 cache. It will cache the result of previous builds to speed
169 up future builds. The cache is stored in
170 $HOME/.buildroot-ccache.
172 config BR2_DEPRECATED
173 bool "Show packages that are deprecated or obsolete"
175 This option hides outdated/obsolete versions of packages.
177 config BR2_ENABLE_DEBUG
178 bool "build packages with debugging symbols"
179 select BR2_PACKAGE_GDB_SERVER
181 Build packages with debugging symbols
186 prompt "gcc debug level"
189 Set the debug level for gcc
194 Debug level 1 produces minimal information, enough
195 for making backtraces in parts of the program that
196 you don't plan to debug. This includes descriptions
197 of functions and external variables, but no information
198 about local variables and no line numbers.
203 The default gcc debug level is 2
208 Level 3 includes extra information, such as all the
209 macro definitions present in the program. Some debuggers
210 support macro expansion when you use -g3.
216 default BR2_STRIP_strip
218 Select whether to strip binaries and libraries for the target
220 strip is the normal strip command
221 sstrip is a strip that discards more than the normal strip
222 none do not strip (only for debugging!)
224 config BR2_STRIP_strip
226 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
228 strip is the normal strip command
230 config BR2_STRIP_sstrip
232 select BR2_PACKAGE_SSTRIP_HOST
233 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
235 sstrip is a strip that discards more than the normal strip
237 config BR2_STRIP_none
240 none do not strip (only for debugging!)
244 prompt "gcc optimization level"
245 default BR2_OPTIMIZE_S
247 Set the optimization level for gcc
249 config BR2_OPTIMIZE_0
250 bool "optimization level 0"
252 Do not optimize. This is the default.
254 config BR2_OPTIMIZE_1
255 bool "optimization level 1"
257 Optimize. Optimizing compilation takes somewhat more time,
258 and a lot more memory for a large function. With -O, the
259 compiler tries to reduce code size and execution time,
260 without performing any optimizations that take a great deal
261 of compilation time. -O turns on the following optimization
262 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
263 -fcprop-registers -floop-optimize -fif-conversion
264 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
265 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
266 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
267 -O also turns on -fomit-frame-pointer on machines where doing
268 so does not interfere with debugging.
270 config BR2_OPTIMIZE_2
271 bool "optimization level 2"
273 Optimize even more. GCC performs nearly all supported optimizations
274 that do not involve a space-speed tradeoff. The compiler does not
275 perform loop unrolling or function inlining when you specify -O2.
276 As compared to -O, this option increases both compilation time and
277 the performance of the generated code. -O2 turns on all optimization
278 flags specified by -O. It also turns on the following optimization
279 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
280 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
281 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
282 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
283 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
284 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
285 -freorder-functions -falign-functions -falign-jumps -falign-loops
286 -falign-labels -ftree-vrp -ftree-pre
287 Please note the warning under -fgcse about invoking -O2 on programs
288 that use computed gotos.
290 config BR2_OPTIMIZE_3
291 bool "optimization level 3"
293 Optimize yet more. -O3 turns on all optimizations specified by -O2
294 and also turns on the -finline-functions, -funswitch-loops and
295 -fgcse-after-reload options.
297 config BR2_OPTIMIZE_S
298 bool "optimize for size"
300 Optimize for size. -Os enables all -O2 optimizations that do not
301 typically increase code size. It also performs further optimizations
302 designed to reduce code size. -Os disables the following optimization
303 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
304 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
305 -ftree-vect-loop-version
309 config BR2_PREFER_STATIC_LIB
310 bool "prefer static libraries"
312 Where possible, build and use static libraries for the target.
313 This potentially increases your code size and should only be
314 used if you know what you do.
315 The default is to build dynamic libraries and use those on
316 the target filesystem.
318 WARNING: This is highly experimental at the moment.
320 config BR2_HAVE_DOCUMENTATION
321 bool "documentation on the target"
323 Install the documentation, including manual pages and info
324 pages, on the target.
325 If you say n here, your target will not contain any
328 config BR2_HAVE_DEVFILES
329 bool "development files in target filesystem"
331 Install headers and static libraries in the
336 source "toolchain/Config.in"
338 source "package/Config.in"
340 source "fs/Config.in"
342 source "boot/Config.in"
344 source "linux/Config.in"