3 mainmenu "Buildroot2 Configuration"
5 config BR2_HAVE_DOT_CONFIG
13 source "target/Config.in.arch"
14 source "target/device/Config.in"
20 default "wget --passive-ftp -nd"
23 string "Subversion (svn) command to download source tree"
27 string "Subversion (svn) command to update source tree"
31 string "Git command to download source tree"
38 Command to be used to extract a gzip'ed file to stdout.
39 zcat is identical to gunzip -c except that the former may
40 not be available on your system.
41 Default is "gzip -d -c"
42 Other possible values include "gunzip -c" or "zcat".
45 string "bzcat command"
48 Command to be used to extract a bzip2'ed file to stdout.
49 bzcat is identical to bunzip2 -c except that the former may
50 not be available on your system.
52 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
54 config BR2_TAR_OPTIONS
58 Options to pass to tar when extracting the sources.
59 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
64 default "$(BASE_DIR)/dl"
66 Directory to store all the source files that we need to fetch.
67 If the Linux shell environment has defined the BUILDROOT_DL_DIR
68 environment variable, then this overrides this configuration item.
70 The default is $(BASE_DIR)/dl
73 string "Copy result to..."
76 Setting this variable will (eventually) override
77 any other copyto configurations in buildroot.
79 source "target/device/Config.in.mirrors"
81 config BR2_STAGING_DIR
82 string "Toolchain and header file location?"
83 default "$(BUILD_DIR)/staging_dir"
85 This is the location where the toolchain will be installed. The
86 toolchain will not work if it is moved from this location.
87 Therefore, if you wish to package up a uClibc toolchain, it is
88 important that is is set to the final location where the toolchain
91 Most people will leave this set to the default value of
92 "$(BUILD_DIR)/staging_dir".
95 bool "Add '_nofpu' suffix for softfloat toolchains"
97 If the toolchain is configured to use softfloat, then
98 the "_nofpu" suffix will be added to the toolchain build
99 directory name and to any rootfs image name
101 config BR2_TOPDIR_PREFIX
102 string "Custom build dir prefix"
105 Add a custom string to the beginning of the build directories.
107 build_ARCH -> [PREFIX]_build_ARCH
108 toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
110 config BR2_TOPDIR_SUFFIX
111 string "Custom build dir suffix"
114 Add a custom string to the end of the build directories.
116 build_ARCH -> build_ARCH_[SUFFIX]
117 toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
119 config BR2_GNU_BUILD_SUFFIX
120 string "GNU build hostname suffix"
121 default "pc-linux-gnu"
123 The string used to pass to configure scripts via the
124 --build= option. Just specify the suffix here, the leading
125 arch will be filled in automatically.
127 Here's some copy and paste build host options for you:
130 os x: apple-darwin7 / apple-darwin8
132 config BR2_GNU_TARGET_SUFFIX
133 string "GNU target suffix"
134 default "linux-uclibcgnueabi" if BR2_ARM_EABI
135 default "linux-uclibc"
137 The string used to pass to configure scripts via the
138 --target= option. Just specify the suffix here, the leading
139 arch will be filled in automatically.
141 Most users will want to stick with the default setting, though
142 other users (most notably ARM EABI) like to add on to this in
143 order to stay in line with gcc conventions.
146 linux-uclibcgnueabi for ARM EABI
147 linux-uclibc for the rest
148 gnuhurd-uclibc for the hurd
151 int "Number of jobs to run simultaneously"
154 Number of jobs to run simultaneously
156 config BR2_PREFER_IMA
157 bool "prefer IMA compiles"
159 Where possible, compile package with Inter Module Analysis.
160 This potentially uses alot of system resources on your compile
161 host with the benefit of creating smaller binaries for the target.
165 WARNING: This is highly experimental at the moment.
167 config BR2_DEPRECATED
168 bool "Show packages that are deprecated or obsolete"
170 This option hides outdated/obsolete versions of packages.
173 bool "Show packages that are of the latest major version"
176 This option show recent versions of packages.
178 config BR2_CONFIG_CACHE
179 bool "Use a central configure cache file"
181 This determines if a central config cache is used by
182 packages, reducing the configure time for packages as each
183 one caches its findings.
185 config BR2_ENABLE_DEBUG
186 bool "build packages with debugging symbols"
187 select BR2_PACKAGE_GDB_SERVER
189 Build packages with debugging symbols
194 prompt "gcc debug level"
197 Set the debug level for gcc
202 Debug level 1 produces minimal information, enough
203 for making backtraces in parts of the program that
204 you don't plan to debug. This includes descriptions
205 of functions and external variables, but no information
206 about local variables and no line numbers.
211 The default gcc debug level is 2
216 Level 3 includes extra information, such as all the
217 macro definitions present in the program. Some debuggers
218 support macro expansion when you use -g3.
224 default BR2_STRIP_strip
226 Select whether to strip binaries and libraries for the target
228 strip is the normal strip command
229 sstrip is a strip that discards more than the normal strip
230 none do not strip (only for debugging!)
232 config BR2_STRIP_strip
234 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
236 strip is the normal strip command
238 config BR2_STRIP_sstrip
240 select BR2_PACKAGE_SSTRIP_HOST
241 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
243 sstrip is a strip that discards more than the normal strip
245 config BR2_STRIP_none
248 none do not strip (only for debugging!)
252 prompt "gcc optimization level"
253 default BR2_OPTIMIZE_S
255 Set the optimization level for gcc
257 config BR2_OPTIMIZE_0
258 bool "optimization level 0"
259 depends on !BR2_PACKAGE_LINUX
261 Do not optimize. This is the default.
263 config BR2_OPTIMIZE_1
264 bool "optimization level 1"
265 depends on !BR2_PACKAGE_LINUX
267 Optimize. Optimizing compilation takes somewhat more time,
268 and a lot more memory for a large function. With -O, the
269 compiler tries to reduce code size and execution time,
270 without performing any optimizations that take a great deal
271 of compilation time. -O turns on the following optimization
272 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
273 -fcprop-registers -floop-optimize -fif-conversion
274 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
275 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
276 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
277 -O also turns on -fomit-frame-pointer on machines where doing
278 so does not interfere with debugging.
280 config BR2_OPTIMIZE_2
281 bool "optimization level 2"
283 Optimize even more. GCC performs nearly all supported optimizations
284 that do not involve a space-speed tradeoff. The compiler does not
285 perform loop unrolling or function inlining when you specify -O2.
286 As compared to -O, this option increases both compilation time and
287 the performance of the generated code. -O2 turns on all optimization
288 flags specified by -O. It also turns on the following optimization
289 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
290 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
291 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
292 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
293 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
294 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
295 -freorder-functions -falign-functions -falign-jumps -falign-loops
296 -falign-labels -ftree-vrp -ftree-pre
297 Please note the warning under -fgcse about invoking -O2 on programs
298 that use computed gotos.
300 config BR2_OPTIMIZE_3
301 bool "optimization level 3"
303 Optimize yet more. -O3 turns on all optimizations specified by -O2
304 and also turns on the -finline-functions, -funswitch-loops and
305 -fgcse-after-reload options.
307 config BR2_OPTIMIZE_S
308 bool "optimize for size"
310 Optimize for size. -Os enables all -O2 optimizations that do not
311 typically increase code size. It also performs further optimizations
312 designed to reduce code size. -Os disables the following optimization
313 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
314 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
315 -ftree-vect-loop-version
319 config BR2_PREFER_STATIC_LIB
320 bool "prefer static libraries"
322 Where possible, build and use static libraries for the target.
323 This potentially increases your code size and should only be
324 used if you know what you do.
325 The default is to build dynamic libraries and use those on
326 the target filesystem.
328 WARNING: This is highly experimental at the moment.
330 config BR2_HAVE_MANPAGES
331 bool "manpages on the target"
333 Leave the manpages on the target.
334 If you say n here, your target will not contain any
337 config BR2_HAVE_INFOPAGES
338 bool "infopages on the target"
340 Leave the infopages on the target.
341 If you say n here, your target will not contain any
344 config BR2_HAVE_DOCUMENTATION
345 bool "documentation on the target"
347 Leave the documentation on the target.
348 If you say n here, your target will not contain any
351 config BR2_HAVE_DEVFILES
352 bool "development files in target filesystem"
354 Install headers and static libraries in the
357 source package/gnuconfig/Config.in
361 source "toolchain/Config.in"
363 source "package/Config.in"
365 source "target/Config.in"