]> Git Repo - buildroot-mgba.git/blame - Config.in
iproute2: bump to version 2.6.38
[buildroot-mgba.git] / Config.in
CommitLineData
2d523c23
EA
1#
2
6a53b729 3mainmenu "Buildroot $BR2_VERSION Configuration"
2d523c23
EA
4
5config BR2_HAVE_DOT_CONFIG
6 bool
7 default y
8
f5b8cd4a
BRF
9config BR2_VERSION
10 string
56c68bcd 11 option env="BR2_VERSION_FULL"
f5b8cd4a 12
bb9e6a7d 13source "target/Config.in.arch"
7d8a59b4 14
8e5fb3fb
EA
15menu "Build options"
16
15929265
TP
17menu "Commands"
18
2d523c23 19config BR2_WGET
8e5fb3fb 20 string "Wget command"
6871b165 21 default "wget --passive-ftp -nd -t 3"
2d523c23 22
cf71111b
MP
23config BR2_SVN
24 string "Subversion (svn) command"
25 default "svn"
e30cf26c 26
cf71111b
MP
27config BR2_BZR
28 string "Bazaar (bzr) command"
29 default "bzr"
df03cdaf 30
85f54fbe 31config BR2_GIT
cf71111b
MP
32 string "Git command"
33 default "git"
85f54fbe 34
859b9137
BRF
35config BR2_ZCAT
36 string "zcat command"
a9612bfd 37 default "gzip -d -c"
859b9137
BRF
38 help
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.
a9612bfd
BRF
42 Default is "gzip -d -c"
43 Other possible values include "gunzip -c" or "zcat".
6e2823c1
BRF
44
45config BR2_BZCAT
46 string "bzcat command"
47 default "bzcat"
48 help
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.
52 Default is "bzcat"
53 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
859b9137 54
ce90aae1
BRF
55config BR2_TAR_OPTIONS
56 string "Tar options"
7df4de6c
BRF
57 default ""
58 help
59 Options to pass to tar when extracting the sources.
60 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
61 and to be verbose.
ce90aae1 62
15929265
TP
63endmenu
64
59a63a91
MF
65config BR2_DL_DIR
66 string "Download dir"
be695dcc 67 default "$(TOPDIR)/dl"
59a63a91
MF
68 help
69 Directory to store all the source files that we need to fetch.
67050e14
US
70 If the Linux shell environment has defined the BUILDROOT_DL_DIR
71 environment variable, then this overrides this configuration item.
59a63a91 72
be695dcc 73 The default is $(TOPDIR)/dl
4b0d5a80 74
a2b4f7fb
GZ
75config BR2_HOST_DIR
76 string "Host dir"
77 default "$(BASE_DIR)/host"
78 help
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.
82
83 The default is $(BASE_DIR)/host
84
8008007c
TP
85menu "Mirrors and Download locations"
86
87config BR2_PRIMARY_SITE
88 string "Primary download site"
89 default ""
90 help
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
95
96config BR2_BACKUP_SITE
97 string "Backup download site"
98 default "http://sources.buildroot.net/"
99 help
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.
103
104config BR2_SOURCEFORGE_MIRROR
105 string "Sourceforge mirror site"
d0d3502e 106 default "kent"
8008007c
TP
107 help
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.
112
113 The list of mirrors is available here:
d0d3502e 114 http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
8008007c
TP
115
116config BR2_KERNEL_MIRROR
117 string "Kernel.org mirror"
118 default "http://www.kernel.org/pub/"
119 help
120 kernel.org is mirrored on a number of servers around the world.
121 The following allows you to select your preferred mirror.
122
123 Have a look on the kernel.org site for a list of mirrors, then enter
124 the URL to the base directory. Examples:
125
126 http://www.XX.kernel.org/pub (XX = country code)
127 http://mirror.aarnet.edu.au/pub/ftp.kernel.org
128
129config BR2_GNU_MIRROR
130 string "GNU Software mirror"
131 default "http://ftp.gnu.org/pub/gnu"
132 help
133 GNU has multiple software mirrors scattered around the world.
134 The following allows you to select your preferred mirror.
135
136 Have a look on the gnu.org site for a list of mirrors, then enter
137 the URL to the base directory. Examples:
138
139 http://ftp.gnu.org/pub/gnu
140 http://mirror.aarnet.edu.au/pub/gnu
141
142config BR2_DEBIAN_MIRROR
143 string "Debian Software mirror"
144 default "http://ftp.debian.org"
145 help
146 Debian has multiple software mirrors scattered around the world.
147 The following allows you to select your preferred mirror.
148
149 Usually, just add your country code like XX here:
150 http://ftp.XX.debian.org
151
152endmenu
aa41d377 153
8e5fb3fb
EA
154config BR2_JLEVEL
155 int "Number of jobs to run simultaneously"
2bbbe05b 156 default "2"
8e5fb3fb 157 help
93ab6d30
BRF
158 Number of jobs to run simultaneously
159
17b66aff
TP
160config BR2_CCACHE
161 bool "Enable compiler cache"
162 help
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.
167
7779fd74 168config BR2_DEPRECATED
5e1f034b 169 bool "Show packages that are deprecated or obsolete"
7779fd74 170 help
5e1f034b 171 This option hides outdated/obsolete versions of packages.
ba7c48f3 172
41f6b79f
JV
173config BR2_ENABLE_DEBUG
174 bool "build packages with debugging symbols"
809fa27a 175 select BR2_PACKAGE_GDB_SERVER
41f6b79f
JV
176 help
177 Build packages with debugging symbols
178 enabled
179
180if BR2_ENABLE_DEBUG
181choice
182 prompt "gcc debug level"
183 default BR2_DEBUG_2
184 help
185 Set the debug level for gcc
186
187config BR2_DEBUG_1
188 bool "debug level 1"
189 help
02a623dd
PK
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
41f6b79f
JV
193 of functions and external variables, but no information
194 about local variables and no line numbers.
195
196config BR2_DEBUG_2
197 bool "debug level 2"
198 help
199 The default gcc debug level is 2
200
201config BR2_DEBUG_3
202 bool "debug level 3"
203 help
02a623dd 204 Level 3 includes extra information, such as all the
41f6b79f
JV
205 macro definitions present in the program. Some debuggers
206 support macro expansion when you use -g3.
207endchoice
208endif
209
bbd251a0
BRF
210choice
211 prompt "strip"
212 default BR2_STRIP_strip
213 help
214 Select whether to strip binaries and libraries for the target
215 or not.
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!)
219
220config BR2_STRIP_strip
221 bool "strip"
febe322d 222 depends on !BR2_ELF2FLT
bbd251a0
BRF
223 help
224 strip is the normal strip command
85f54fbe 225
bbd251a0
BRF
226config BR2_STRIP_sstrip
227 bool "sstrip"
228 select BR2_PACKAGE_SSTRIP_HOST
febe322d 229 depends on !BR2_ELF2FLT
bbd251a0
BRF
230 help
231 sstrip is a strip that discards more than the normal strip
85f54fbe 232
bbd251a0
BRF
233config BR2_STRIP_none
234 bool "none"
235 help
236 none do not strip (only for debugging!)
237endchoice
238
41f6b79f
JV
239choice
240 prompt "gcc optimization level"
7eb796ba 241 default BR2_OPTIMIZE_S
923f42a3 242 help
41f6b79f
JV
243 Set the optimization level for gcc
244
245config BR2_OPTIMIZE_0
246 bool "optimization level 0"
247 help
02a623dd 248 Do not optimize. This is the default.
41f6b79f
JV
249
250config BR2_OPTIMIZE_1
251 bool "optimization level 1"
252 help
02a623dd
PK
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
41f6b79f 262 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
02a623dd 263 -O also turns on -fomit-frame-pointer on machines where doing
41f6b79f
JV
264 so does not interfere with debugging.
265
266config BR2_OPTIMIZE_2
267 bool "optimization level 2"
268 help
269 Optimize even more. GCC performs nearly all supported optimizations
02a623dd
PK
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
41f6b79f
JV
282 -falign-labels -ftree-vrp -ftree-pre
283 Please note the warning under -fgcse about invoking -O2 on programs
284 that use computed gotos.
285
286config BR2_OPTIMIZE_3
287 bool "optimization level 3"
288 help
02a623dd
PK
289 Optimize yet more. -O3 turns on all optimizations specified by -O2
290 and also turns on the -finline-functions, -funswitch-loops and
41f6b79f
JV
291 -fgcse-after-reload options.
292
293config BR2_OPTIMIZE_S
294 bool "optimize for size"
295 help
02a623dd 296 Optimize for size. -Os enables all -O2 optimizations that do not
41f6b79f 297 typically increase code size. It also performs further optimizations
02a623dd
PK
298 designed to reduce code size. -Os disables the following optimization
299 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
41f6b79f
JV
300 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
301 -ftree-vect-loop-version
02a623dd 302
41f6b79f 303endchoice
923f42a3 304
3096f34d
BRF
305config BR2_PREFER_STATIC_LIB
306 bool "prefer static libraries"
3096f34d 307 help
ece6fe05
BRF
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.
3096f34d
BRF
313
314 WARNING: This is highly experimental at the moment.
315
886b274a
PK
316config BR2_HAVE_DOCUMENTATION
317 bool "documentation on the target"
318 help
b7030660
TP
319 Install the documentation, including manual pages and info
320 pages, on the target.
886b274a
PK
321 If you say n here, your target will not contain any
322 documentation.
323
f5b96fc7
JV
324config BR2_HAVE_DEVFILES
325 bool "development files in target filesystem"
bc67ca29
JV
326 help
327 Install headers and static libraries in the
328 target filesystem
329
8e5fb3fb 330endmenu
2d523c23 331
50100394
BRF
332source "toolchain/Config.in"
333
beb43c7d
TP
334source "target/generic/Config.in"
335
50100394
BRF
336source "package/Config.in"
337
05852415
TP
338source "fs/Config.in"
339
649b5b92
TP
340source "boot/Config.in"
341
487e21cf 342source "linux/Config.in"
This page took 0.240117 seconds and 4 git commands to generate.