]> Git Repo - buildroot-mgba.git/blame - Config.in
package: remove useless arguments from CMAKETARGETS
[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
177b4b4a
AN
55config BR2_XZCAT
56 string "xzcat command"
57 default "xzcat"
58 help
59 Command to be used to extract a xz'ed file to stdout.
60 Default is "xzcat"
61
ce90aae1
BRF
62config BR2_TAR_OPTIONS
63 string "Tar options"
7df4de6c
BRF
64 default ""
65 help
66 Options to pass to tar when extracting the sources.
67 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
68 and to be verbose.
ce90aae1 69
15929265
TP
70endmenu
71
59a63a91
MF
72config BR2_DL_DIR
73 string "Download dir"
be695dcc 74 default "$(TOPDIR)/dl"
59a63a91
MF
75 help
76 Directory to store all the source files that we need to fetch.
67050e14
US
77 If the Linux shell environment has defined the BUILDROOT_DL_DIR
78 environment variable, then this overrides this configuration item.
59a63a91 79
be695dcc 80 The default is $(TOPDIR)/dl
4b0d5a80 81
a2b4f7fb
GZ
82config BR2_HOST_DIR
83 string "Host dir"
84 default "$(BASE_DIR)/host"
85 help
86 Directory to store all the binary files that are built for the host.
87 This includes the cross compilation toolchain when building the
88 internal buildroot toolchain.
89
90 The default is $(BASE_DIR)/host
91
8008007c
TP
92menu "Mirrors and Download locations"
93
94config BR2_PRIMARY_SITE
95 string "Primary download site"
96 default ""
97 help
98 Primary site to download from. If this option is set then buildroot
99 will try to download package source first from this site and try the
100 default if the file is not found.
101 NOTE: This only works for packages using the Makefile.autotools.in
102
103config BR2_BACKUP_SITE
104 string "Backup download site"
105 default "http://sources.buildroot.net/"
106 help
107 Backup site to download from. If this option is set then buildroot
108 will fall back to download package sources from here if the
109 normal location fails.
110
111config BR2_SOURCEFORGE_MIRROR
112 string "Sourceforge mirror site"
d0d3502e 113 default "kent"
8008007c
TP
114 help
115 Sourceforge has a system of mirror sites. Some sites may be
116 closer to your location, and sometimes mirror sites go down
117 and are no longer available. This option allows you to select
118 your preferred Sourceforge mirror site.
119
120 The list of mirrors is available here:
d0d3502e 121 http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
8008007c
TP
122
123config BR2_KERNEL_MIRROR
124 string "Kernel.org mirror"
125 default "http://www.kernel.org/pub/"
126 help
127 kernel.org is mirrored on a number of servers around the world.
128 The following allows you to select your preferred mirror.
129
130 Have a look on the kernel.org site for a list of mirrors, then enter
131 the URL to the base directory. Examples:
132
133 http://www.XX.kernel.org/pub (XX = country code)
134 http://mirror.aarnet.edu.au/pub/ftp.kernel.org
135
136config BR2_GNU_MIRROR
137 string "GNU Software mirror"
138 default "http://ftp.gnu.org/pub/gnu"
139 help
140 GNU has multiple software mirrors scattered around the world.
141 The following allows you to select your preferred mirror.
142
143 Have a look on the gnu.org site for a list of mirrors, then enter
144 the URL to the base directory. Examples:
145
146 http://ftp.gnu.org/pub/gnu
147 http://mirror.aarnet.edu.au/pub/gnu
148
149config BR2_DEBIAN_MIRROR
150 string "Debian Software mirror"
151 default "http://ftp.debian.org"
152 help
153 Debian has multiple software mirrors scattered around the world.
154 The following allows you to select your preferred mirror.
155
156 Usually, just add your country code like XX here:
157 http://ftp.XX.debian.org
158
159endmenu
aa41d377 160
8e5fb3fb
EA
161config BR2_JLEVEL
162 int "Number of jobs to run simultaneously"
2bbbe05b 163 default "2"
8e5fb3fb 164 help
93ab6d30
BRF
165 Number of jobs to run simultaneously
166
17b66aff
TP
167config BR2_CCACHE
168 bool "Enable compiler cache"
169 help
170 This option will enable the use of ccache, a compiler
171 cache. It will cache the result of previous builds to speed
172 up future builds. The cache is stored in
173 $HOME/.buildroot-ccache.
174
7779fd74 175config BR2_DEPRECATED
5e1f034b 176 bool "Show packages that are deprecated or obsolete"
7779fd74 177 help
5e1f034b 178 This option hides outdated/obsolete versions of packages.
ba7c48f3 179
41f6b79f
JV
180config BR2_ENABLE_DEBUG
181 bool "build packages with debugging symbols"
809fa27a 182 select BR2_PACKAGE_GDB_SERVER
41f6b79f
JV
183 help
184 Build packages with debugging symbols
185 enabled
186
187if BR2_ENABLE_DEBUG
188choice
189 prompt "gcc debug level"
190 default BR2_DEBUG_2
191 help
192 Set the debug level for gcc
193
194config BR2_DEBUG_1
195 bool "debug level 1"
196 help
02a623dd
PK
197 Debug level 1 produces minimal information, enough
198 for making backtraces in parts of the program that
199 you don't plan to debug. This includes descriptions
41f6b79f
JV
200 of functions and external variables, but no information
201 about local variables and no line numbers.
202
203config BR2_DEBUG_2
204 bool "debug level 2"
205 help
206 The default gcc debug level is 2
207
208config BR2_DEBUG_3
209 bool "debug level 3"
210 help
02a623dd 211 Level 3 includes extra information, such as all the
41f6b79f
JV
212 macro definitions present in the program. Some debuggers
213 support macro expansion when you use -g3.
214endchoice
215endif
216
bbd251a0
BRF
217choice
218 prompt "strip"
219 default BR2_STRIP_strip
220 help
221 Select whether to strip binaries and libraries for the target
222 or not.
223 strip is the normal strip command
224 sstrip is a strip that discards more than the normal strip
225 none do not strip (only for debugging!)
226
227config BR2_STRIP_strip
228 bool "strip"
febe322d 229 depends on !BR2_ELF2FLT
bbd251a0
BRF
230 help
231 strip is the normal strip command
85f54fbe 232
bbd251a0
BRF
233config BR2_STRIP_sstrip
234 bool "sstrip"
235 select BR2_PACKAGE_SSTRIP_HOST
febe322d 236 depends on !BR2_ELF2FLT
bbd251a0
BRF
237 help
238 sstrip is a strip that discards more than the normal strip
85f54fbe 239
bbd251a0
BRF
240config BR2_STRIP_none
241 bool "none"
242 help
243 none do not strip (only for debugging!)
244endchoice
245
41f6b79f
JV
246choice
247 prompt "gcc optimization level"
7eb796ba 248 default BR2_OPTIMIZE_S
923f42a3 249 help
41f6b79f
JV
250 Set the optimization level for gcc
251
252config BR2_OPTIMIZE_0
253 bool "optimization level 0"
254 help
02a623dd 255 Do not optimize. This is the default.
41f6b79f
JV
256
257config BR2_OPTIMIZE_1
258 bool "optimization level 1"
259 help
02a623dd
PK
260 Optimize. Optimizing compilation takes somewhat more time,
261 and a lot more memory for a large function. With -O, the
262 compiler tries to reduce code size and execution time,
263 without performing any optimizations that take a great deal
264 of compilation time. -O turns on the following optimization
265 flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
266 -fcprop-registers -floop-optimize -fif-conversion
267 -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
268 -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
41f6b79f 269 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
02a623dd 270 -O also turns on -fomit-frame-pointer on machines where doing
41f6b79f
JV
271 so does not interfere with debugging.
272
273config BR2_OPTIMIZE_2
274 bool "optimization level 2"
275 help
276 Optimize even more. GCC performs nearly all supported optimizations
02a623dd
PK
277 that do not involve a space-speed tradeoff. The compiler does not
278 perform loop unrolling or function inlining when you specify -O2.
279 As compared to -O, this option increases both compilation time and
280 the performance of the generated code. -O2 turns on all optimization
281 flags specified by -O. It also turns on the following optimization
282 flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
283 -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
284 -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
285 -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
286 -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
287 -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
288 -freorder-functions -falign-functions -falign-jumps -falign-loops
41f6b79f
JV
289 -falign-labels -ftree-vrp -ftree-pre
290 Please note the warning under -fgcse about invoking -O2 on programs
291 that use computed gotos.
292
293config BR2_OPTIMIZE_3
294 bool "optimization level 3"
295 help
02a623dd
PK
296 Optimize yet more. -O3 turns on all optimizations specified by -O2
297 and also turns on the -finline-functions, -funswitch-loops and
41f6b79f
JV
298 -fgcse-after-reload options.
299
300config BR2_OPTIMIZE_S
301 bool "optimize for size"
302 help
02a623dd 303 Optimize for size. -Os enables all -O2 optimizations that do not
41f6b79f 304 typically increase code size. It also performs further optimizations
02a623dd
PK
305 designed to reduce code size. -Os disables the following optimization
306 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
41f6b79f
JV
307 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
308 -ftree-vect-loop-version
02a623dd 309
41f6b79f 310endchoice
923f42a3 311
3096f34d
BRF
312config BR2_PREFER_STATIC_LIB
313 bool "prefer static libraries"
3096f34d 314 help
ece6fe05
BRF
315 Where possible, build and use static libraries for the target.
316 This potentially increases your code size and should only be
317 used if you know what you do.
318 The default is to build dynamic libraries and use those on
319 the target filesystem.
3096f34d
BRF
320
321 WARNING: This is highly experimental at the moment.
322
886b274a
PK
323config BR2_HAVE_DOCUMENTATION
324 bool "documentation on the target"
325 help
b7030660
TP
326 Install the documentation, including manual pages and info
327 pages, on the target.
886b274a
PK
328 If you say n here, your target will not contain any
329 documentation.
330
f5b96fc7
JV
331config BR2_HAVE_DEVFILES
332 bool "development files in target filesystem"
bc67ca29
JV
333 help
334 Install headers and static libraries in the
335 target filesystem
336
ee0246e1
TP
337config BR2_PACKAGE_OVERRIDE_FILE
338 string "location of a package override file"
339 default "$(TOPDIR)/local.mk"
340 help
341 A package override file is a short makefile that contains
342 variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
343 which allows to tell Buildroot to use an existing directory
344 as the source directory for a particular package. See the
345 Buildroot documentation for more details on this feature.
346
8e5fb3fb 347endmenu
2d523c23 348
50100394
BRF
349source "toolchain/Config.in"
350
beb43c7d
TP
351source "target/generic/Config.in"
352
50100394
BRF
353source "package/Config.in"
354
05852415
TP
355source "fs/Config.in"
356
649b5b92
TP
357source "boot/Config.in"
358
487e21cf 359source "linux/Config.in"
This page took 0.245015 seconds and 4 git commands to generate.