3 mainmenu "Buildroot2 Configuration"
5 config BR2_HAVE_DOT_CONFIG
11 option env="BR2_VERSION"
13 source "target/Config.in.arch"
14 source "target/device/Config.in"
22 default "wget --passive-ftp -nd"
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 source "target/device/Config.in.mirrors"
92 int "Number of jobs to run simultaneously"
95 Number of jobs to run simultaneously
98 bool "Show packages that are deprecated or obsolete"
100 This option hides outdated/obsolete versions of packages.
102 config BR2_ENABLE_DEBUG
103 bool "build packages with debugging symbols"
104 select BR2_PACKAGE_GDB_SERVER
106 Build packages with debugging symbols
111 prompt "gcc debug level"
114 Set the debug level for gcc
119 Debug level 1 produces minimal information, enough
120 for making backtraces in parts of the program that
121 you don't plan to debug. This includes descriptions
122 of functions and external variables, but no information
123 about local variables and no line numbers.
128 The default gcc debug level is 2
133 Level 3 includes extra information, such as all the
134 macro definitions present in the program. Some debuggers
135 support macro expansion when you use -g3.
141 default BR2_STRIP_strip
143 Select whether to strip binaries and libraries for the target
145 strip is the normal strip command
146 sstrip is a strip that discards more than the normal strip
147 none do not strip (only for debugging!)
149 config BR2_STRIP_strip
151 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
153 strip is the normal strip command
155 config BR2_STRIP_sstrip
157 select BR2_PACKAGE_SSTRIP_HOST
158 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
160 sstrip is a strip that discards more than the normal strip
162 config BR2_STRIP_none
165 none do not strip (only for debugging!)
169 prompt "gcc optimization level"
170 default BR2_OPTIMIZE_S
172 Set the optimization level for gcc
174 config BR2_OPTIMIZE_0
175 bool "optimization level 0"
177 Do not optimize. This is the default.
179 config BR2_OPTIMIZE_1
180 bool "optimization level 1"
182 Optimize. Optimizing compilation takes somewhat more time,
183 and a lot more memory for a large function. With -O, the
184 compiler tries to reduce code size and execution time,
185 without performing any optimizations that take a great deal
186 of compilation time. -O turns on the following optimization
187 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
188 -fcprop-registers -floop-optimize -fif-conversion
189 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
190 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
191 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
192 -O also turns on -fomit-frame-pointer on machines where doing
193 so does not interfere with debugging.
195 config BR2_OPTIMIZE_2
196 bool "optimization level 2"
198 Optimize even more. GCC performs nearly all supported optimizations
199 that do not involve a space-speed tradeoff. The compiler does not
200 perform loop unrolling or function inlining when you specify -O2.
201 As compared to -O, this option increases both compilation time and
202 the performance of the generated code. -O2 turns on all optimization
203 flags specified by -O. It also turns on the following optimization
204 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
205 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
206 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
207 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
208 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
209 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
210 -freorder-functions -falign-functions -falign-jumps -falign-loops
211 -falign-labels -ftree-vrp -ftree-pre
212 Please note the warning under -fgcse about invoking -O2 on programs
213 that use computed gotos.
215 config BR2_OPTIMIZE_3
216 bool "optimization level 3"
218 Optimize yet more. -O3 turns on all optimizations specified by -O2
219 and also turns on the -finline-functions, -funswitch-loops and
220 -fgcse-after-reload options.
222 config BR2_OPTIMIZE_S
223 bool "optimize for size"
225 Optimize for size. -Os enables all -O2 optimizations that do not
226 typically increase code size. It also performs further optimizations
227 designed to reduce code size. -Os disables the following optimization
228 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
229 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
230 -ftree-vect-loop-version
234 config BR2_PREFER_STATIC_LIB
235 bool "prefer static libraries"
237 Where possible, build and use static libraries for the target.
238 This potentially increases your code size and should only be
239 used if you know what you do.
240 The default is to build dynamic libraries and use those on
241 the target filesystem.
243 WARNING: This is highly experimental at the moment.
245 config BR2_HAVE_DOCUMENTATION
246 bool "documentation on the target"
248 Install the documentation, including manual pages and info
249 pages, on the target.
250 If you say n here, your target will not contain any
253 config BR2_HAVE_DEVFILES
254 bool "development files in target filesystem"
256 Install headers and static libraries in the
261 config BR2_CONFIG_CACHE
262 bool "Use a central configure cache file (EXPERIMENTAL)"
264 Notice: This is experimental and known to break with certain
265 package combinations.
267 This determines if a central config cache is used by
268 packages, reducing the configure time for packages as each
269 one caches its findings.
275 source "toolchain/Config.in"
277 source "package/Config.in"
279 source "fs/Config.in"
281 source "boot/Config.in"
283 source "linux/Config.in"