]> Git Repo - buildroot-mgba.git/blame - Config.in
ubifs: fix lzo typo
[buildroot-mgba.git] / Config.in
CommitLineData
2d523c23
EA
1#
2
3mainmenu "Buildroot2 Configuration"
4
5config BR2_HAVE_DOT_CONFIG
6 bool
7 default y
8
f5b8cd4a
BRF
9config BR2_VERSION
10 string
dc5e22ee 11 default "2010.08-git"
f5b8cd4a 12
bb9e6a7d 13source "target/Config.in.arch"
4b0d5a80 14source "target/device/Config.in"
7d8a59b4 15
8e5fb3fb
EA
16menu "Build options"
17
15929265
TP
18menu "Commands"
19
2d523c23 20config BR2_WGET
8e5fb3fb 21 string "Wget command"
fb1c67c1 22 default "wget --passive-ftp -nd"
2d523c23 23
c76e2a97 24config BR2_SVN_CO
85f54fbe 25 string "Subversion (svn) command to download source tree"
229a7784 26 default "svn co"
e30cf26c 27
c76e2a97
BRF
28config BR2_SVN_UP
29 string "Subversion (svn) command to update source tree"
30 default "svn up"
31
df03cdaf
SN
32config BR2_BZR_CO
33 string "Bazaar (bzr) command to download source tree"
34 default "bzr co"
35
36config BR2_BZR_UP
37 string "Bazaar (bzr) command to update source tree"
38 default "bzr up"
39
85f54fbe
US
40config BR2_GIT
41 string "Git command to download source tree"
42 default "git clone"
43
859b9137
BRF
44config BR2_ZCAT
45 string "zcat command"
a9612bfd 46 default "gzip -d -c"
859b9137
BRF
47 help
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.
a9612bfd
BRF
51 Default is "gzip -d -c"
52 Other possible values include "gunzip -c" or "zcat".
6e2823c1
BRF
53
54config BR2_BZCAT
55 string "bzcat command"
56 default "bzcat"
57 help
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.
61 Default is "bzcat"
62 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
859b9137 63
ce90aae1
BRF
64config BR2_TAR_OPTIONS
65 string "Tar options"
7df4de6c
BRF
66 default ""
67 help
68 Options to pass to tar when extracting the sources.
69 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
70 and to be verbose.
ce90aae1 71
15929265
TP
72endmenu
73
59a63a91
MF
74config BR2_DL_DIR
75 string "Download dir"
be695dcc 76 default "$(TOPDIR)/dl"
59a63a91
MF
77 help
78 Directory to store all the source files that we need to fetch.
67050e14
US
79 If the Linux shell environment has defined the BUILDROOT_DL_DIR
80 environment variable, then this overrides this configuration item.
59a63a91 81
be695dcc 82 The default is $(TOPDIR)/dl
4b0d5a80 83
ba7c48f3
EA
84config BR2_STAGING_DIR
85 string "Toolchain and header file location?"
3b2a803d 86 default "$(BASE_DIR)/staging"
ba7c48f3 87 help
93ab6d30
BRF
88 This is the location where the toolchain will be installed. The
89 toolchain will not work if it is moved from this location.
90 Therefore, if you wish to package up a uClibc toolchain, it is
91 important that is is set to the final location where the toolchain
92 will be used.
ba7c48f3 93
93ab6d30 94 Most people will leave this set to the default value of
3b2a803d 95 "$(BASE_DIR)/staging".
ba7c48f3 96
aa41d377
TP
97source "target/device/Config.in.mirrors"
98
8e5fb3fb
EA
99config BR2_JLEVEL
100 int "Number of jobs to run simultaneously"
2bbbe05b 101 default "2"
8e5fb3fb 102 help
93ab6d30
BRF
103 Number of jobs to run simultaneously
104
7779fd74 105config BR2_DEPRECATED
5e1f034b 106 bool "Show packages that are deprecated or obsolete"
7779fd74 107 help
5e1f034b 108 This option hides outdated/obsolete versions of packages.
ba7c48f3 109
41f6b79f
JV
110config BR2_ENABLE_DEBUG
111 bool "build packages with debugging symbols"
809fa27a 112 select BR2_PACKAGE_GDB_SERVER
41f6b79f
JV
113 help
114 Build packages with debugging symbols
115 enabled
116
117if BR2_ENABLE_DEBUG
118choice
119 prompt "gcc debug level"
120 default BR2_DEBUG_2
121 help
122 Set the debug level for gcc
123
124config BR2_DEBUG_1
125 bool "debug level 1"
126 help
02a623dd
PK
127 Debug level 1 produces minimal information, enough
128 for making backtraces in parts of the program that
129 you don't plan to debug. This includes descriptions
41f6b79f
JV
130 of functions and external variables, but no information
131 about local variables and no line numbers.
132
133config BR2_DEBUG_2
134 bool "debug level 2"
135 help
136 The default gcc debug level is 2
137
138config BR2_DEBUG_3
139 bool "debug level 3"
140 help
02a623dd 141 Level 3 includes extra information, such as all the
41f6b79f
JV
142 macro definitions present in the program. Some debuggers
143 support macro expansion when you use -g3.
144endchoice
145endif
146
bbd251a0
BRF
147choice
148 prompt "strip"
149 default BR2_STRIP_strip
150 help
151 Select whether to strip binaries and libraries for the target
152 or not.
153 strip is the normal strip command
154 sstrip is a strip that discards more than the normal strip
155 none do not strip (only for debugging!)
156
157config BR2_STRIP_strip
158 bool "strip"
b99fffde 159 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
bbd251a0
BRF
160 help
161 strip is the normal strip command
85f54fbe 162
bbd251a0
BRF
163config BR2_STRIP_sstrip
164 bool "sstrip"
165 select BR2_PACKAGE_SSTRIP_HOST
378f8993 166 depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
bbd251a0
BRF
167 help
168 sstrip is a strip that discards more than the normal strip
85f54fbe 169
bbd251a0
BRF
170config BR2_STRIP_none
171 bool "none"
172 help
173 none do not strip (only for debugging!)
174endchoice
175
41f6b79f
JV
176choice
177 prompt "gcc optimization level"
7eb796ba 178 default BR2_OPTIMIZE_S
923f42a3 179 help
41f6b79f
JV
180 Set the optimization level for gcc
181
182config BR2_OPTIMIZE_0
183 bool "optimization level 0"
184 help
02a623dd 185 Do not optimize. This is the default.
41f6b79f
JV
186
187config BR2_OPTIMIZE_1
188 bool "optimization level 1"
189 help
02a623dd
PK
190 Optimize. Optimizing compilation takes somewhat more time,
191 and a lot more memory for a large function. With -O, the
192 compiler tries to reduce code size and execution time,
193 without performing any optimizations that take a great deal
194 of compilation time. -O turns on the following optimization
195 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
196 -fcprop-registers -floop-optimize -fif-conversion
197 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
198 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
41f6b79f 199 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
02a623dd 200 -O also turns on -fomit-frame-pointer on machines where doing
41f6b79f
JV
201 so does not interfere with debugging.
202
203config BR2_OPTIMIZE_2
204 bool "optimization level 2"
205 help
206 Optimize even more. GCC performs nearly all supported optimizations
02a623dd
PK
207 that do not involve a space-speed tradeoff. The compiler does not
208 perform loop unrolling or function inlining when you specify -O2.
209 As compared to -O, this option increases both compilation time and
210 the performance of the generated code. -O2 turns on all optimization
211 flags specified by -O. It also turns on the following optimization
212 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
213 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
214 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
215 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
216 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
217 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
218 -freorder-functions -falign-functions -falign-jumps -falign-loops
41f6b79f
JV
219 -falign-labels -ftree-vrp -ftree-pre
220 Please note the warning under -fgcse about invoking -O2 on programs
221 that use computed gotos.
222
223config BR2_OPTIMIZE_3
224 bool "optimization level 3"
225 help
02a623dd
PK
226 Optimize yet more. -O3 turns on all optimizations specified by -O2
227 and also turns on the -finline-functions, -funswitch-loops and
41f6b79f
JV
228 -fgcse-after-reload options.
229
230config BR2_OPTIMIZE_S
231 bool "optimize for size"
232 help
02a623dd 233 Optimize for size. -Os enables all -O2 optimizations that do not
41f6b79f 234 typically increase code size. It also performs further optimizations
02a623dd
PK
235 designed to reduce code size. -Os disables the following optimization
236 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
41f6b79f
JV
237 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
238 -ftree-vect-loop-version
02a623dd 239
41f6b79f 240endchoice
923f42a3 241
3096f34d
BRF
242config BR2_PREFER_STATIC_LIB
243 bool "prefer static libraries"
3096f34d 244 help
ece6fe05
BRF
245 Where possible, build and use static libraries for the target.
246 This potentially increases your code size and should only be
247 used if you know what you do.
248 The default is to build dynamic libraries and use those on
249 the target filesystem.
3096f34d
BRF
250
251 WARNING: This is highly experimental at the moment.
252
886b274a
PK
253config BR2_HAVE_DOCUMENTATION
254 bool "documentation on the target"
255 help
b7030660
TP
256 Install the documentation, including manual pages and info
257 pages, on the target.
886b274a
PK
258 If you say n here, your target will not contain any
259 documentation.
260
f5b96fc7
JV
261config BR2_HAVE_DEVFILES
262 bool "development files in target filesystem"
bc67ca29
JV
263 help
264 Install headers and static libraries in the
265 target filesystem
266
bc59823b
TP
267menu "Advanced"
268
269config BR2_CONFIG_CACHE
270 bool "Use a central configure cache file"
271 default y
272 help
273 This determines if a central config cache is used by
274 packages, reducing the configure time for packages as each
275 one caches its findings.
276
277endmenu
278
8e5fb3fb 279endmenu
2d523c23 280
50100394
BRF
281source "toolchain/Config.in"
282
283source "package/Config.in"
284
05852415
TP
285source "fs/Config.in"
286
649b5b92
TP
287source "boot/Config.in"
288
487e21cf 289source "linux/Config.in"
This page took 0.22103 seconds and 4 git commands to generate.