3 mainmenu "Buildroot2 Configuration"
5 config BR2_HAVE_DOT_CONFIG
13 source "target/Config.in.arch"
14 source "target/device/Config.in"
22 default "wget --passive-ftp -nd"
25 string "Subversion (svn) command to download source tree"
29 string "Subversion (svn) command to update source tree"
33 string "Bazaar (bzr) command to download source tree"
37 string "Bazaar (bzr) command to update source tree"
41 string "Git command to download source tree"
48 Command to be used to extract a gzip'ed file to stdout.
49 zcat is identical to gunzip -c except that the former may
50 not be available on your system.
51 Default is "gzip -d -c"
52 Other possible values include "gunzip -c" or "zcat".
55 string "bzcat command"
58 Command to be used to extract a bzip2'ed file to stdout.
59 bzcat is identical to bunzip2 -c except that the former may
60 not be available on your system.
62 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
64 config BR2_TAR_OPTIONS
68 Options to pass to tar when extracting the sources.
69 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
76 default "$(TOPDIR)/dl"
78 Directory to store all the source files that we need to fetch.
79 If the Linux shell environment has defined the BUILDROOT_DL_DIR
80 environment variable, then this overrides this configuration item.
82 The default is $(TOPDIR)/dl
85 string "Copy result to..."
88 Setting this variable will (eventually) override
89 any other copyto configurations in buildroot.
91 config BR2_STAGING_DIR
92 string "Toolchain and header file location?"
93 default "$(BASE_DIR)/staging"
95 This is the location where the toolchain will be installed. The
96 toolchain will not work if it is moved from this location.
97 Therefore, if you wish to package up a uClibc toolchain, it is
98 important that is is set to the final location where the toolchain
101 Most people will leave this set to the default value of
102 "$(BASE_DIR)/staging".
104 source "target/device/Config.in.mirrors"
107 int "Number of jobs to run simultaneously"
110 Number of jobs to run simultaneously
112 config BR2_DEPRECATED
113 bool "Show packages that are deprecated or obsolete"
115 This option hides outdated/obsolete versions of packages.
117 config BR2_ENABLE_DEBUG
118 bool "build packages with debugging symbols"
119 select BR2_PACKAGE_GDB_SERVER
121 Build packages with debugging symbols
126 prompt "gcc debug level"
129 Set the debug level for gcc
134 Debug level 1 produces minimal information, enough
135 for making backtraces in parts of the program that
136 you don't plan to debug. This includes descriptions
137 of functions and external variables, but no information
138 about local variables and no line numbers.
143 The default gcc debug level is 2
148 Level 3 includes extra information, such as all the
149 macro definitions present in the program. Some debuggers
150 support macro expansion when you use -g3.
156 default BR2_STRIP_strip
158 Select whether to strip binaries and libraries for the target
160 strip is the normal strip command
161 sstrip is a strip that discards more than the normal strip
162 none do not strip (only for debugging!)
164 config BR2_STRIP_strip
166 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
168 strip is the normal strip command
170 config BR2_STRIP_sstrip
172 select BR2_PACKAGE_SSTRIP_HOST
173 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
175 sstrip is a strip that discards more than the normal strip
177 config BR2_STRIP_none
180 none do not strip (only for debugging!)
184 prompt "gcc optimization level"
185 default BR2_OPTIMIZE_S
187 Set the optimization level for gcc
189 config BR2_OPTIMIZE_0
190 bool "optimization level 0"
191 depends on !BR2_PACKAGE_LINUX
193 Do not optimize. This is the default.
195 config BR2_OPTIMIZE_1
196 bool "optimization level 1"
197 depends on !BR2_PACKAGE_LINUX
199 Optimize. Optimizing compilation takes somewhat more time,
200 and a lot more memory for a large function. With -O, the
201 compiler tries to reduce code size and execution time,
202 without performing any optimizations that take a great deal
203 of compilation time. -O turns on the following optimization
204 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
205 -fcprop-registers -floop-optimize -fif-conversion
206 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
207 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
208 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
209 -O also turns on -fomit-frame-pointer on machines where doing
210 so does not interfere with debugging.
212 config BR2_OPTIMIZE_2
213 bool "optimization level 2"
215 Optimize even more. GCC performs nearly all supported optimizations
216 that do not involve a space-speed tradeoff. The compiler does not
217 perform loop unrolling or function inlining when you specify -O2.
218 As compared to -O, this option increases both compilation time and
219 the performance of the generated code. -O2 turns on all optimization
220 flags specified by -O. It also turns on the following optimization
221 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
222 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
223 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
224 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
225 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
226 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
227 -freorder-functions -falign-functions -falign-jumps -falign-loops
228 -falign-labels -ftree-vrp -ftree-pre
229 Please note the warning under -fgcse about invoking -O2 on programs
230 that use computed gotos.
232 config BR2_OPTIMIZE_3
233 bool "optimization level 3"
235 Optimize yet more. -O3 turns on all optimizations specified by -O2
236 and also turns on the -finline-functions, -funswitch-loops and
237 -fgcse-after-reload options.
239 config BR2_OPTIMIZE_S
240 bool "optimize for size"
242 Optimize for size. -Os enables all -O2 optimizations that do not
243 typically increase code size. It also performs further optimizations
244 designed to reduce code size. -Os disables the following optimization
245 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
246 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
247 -ftree-vect-loop-version
251 config BR2_PREFER_STATIC_LIB
252 bool "prefer static libraries"
254 Where possible, build and use static libraries for the target.
255 This potentially increases your code size and should only be
256 used if you know what you do.
257 The default is to build dynamic libraries and use those on
258 the target filesystem.
260 WARNING: This is highly experimental at the moment.
262 config BR2_HAVE_DOCUMENTATION
263 bool "documentation on the target"
265 Install the documentation, including manual pages and info
266 pages, on the target.
267 If you say n here, your target will not contain any
270 config BR2_HAVE_DEVFILES
271 bool "development files in target filesystem"
273 Install headers and static libraries in the
278 config BR2_CONFIG_CACHE
279 bool "Use a central configure cache file"
282 This determines if a central config cache is used by
283 packages, reducing the configure time for packages as each
284 one caches its findings.
290 source "toolchain/Config.in"
292 source "package/Config.in"
294 source "fs/Config.in"
296 source "boot/Config.in"
298 source "target/Config.in"