]> Git Repo - buildroot-mgba.git/blob - Config.in
gnutls: requires WCHAR support
[buildroot-mgba.git] / Config.in
1 #
2
3 mainmenu "Buildroot $BR2_VERSION Configuration"
4
5 config BR2_HAVE_DOT_CONFIG
6         bool
7         default y
8
9 config BR2_VERSION
10         string
11         option env="BR2_VERSION_FULL"
12
13 config BR2_HOSTARCH
14         string
15         option env="HOSTARCH"
16
17 source "target/Config.in.arch"
18
19 menu "Build options"
20
21 menu "Commands"
22
23 config BR2_WGET
24         string "Wget command"
25         default "wget --passive-ftp -nd -t 3"
26
27 config BR2_SVN
28         string "Subversion (svn) command"
29         default "svn"
30
31 config BR2_BZR
32         string "Bazaar (bzr) command"
33         default "bzr"
34
35 config BR2_GIT
36         string "Git command"
37         default "git"
38
39 config BR2_LOCALFILES
40         string "Local files retrieval command"
41         default "cp"
42
43 config BR2_SCP
44         string "Secure copy (scp) command"
45         default "scp"
46
47 config BR2_SSH
48         string "Secure shell (ssh) command"
49         default "ssh"
50
51 config BR2_HG
52         string "Mercurial (hg) command"
53         default "hg"
54
55 config BR2_ZCAT
56         string "zcat command"
57         default "gzip -d -c"
58         help
59           Command to be used to extract a gzip'ed file to stdout.
60           zcat is identical to gunzip -c except that the former may
61           not be available on your system.
62           Default is "gzip -d -c"
63           Other possible values include "gunzip -c" or "zcat".
64
65 config BR2_BZCAT
66         string "bzcat command"
67         default "bzcat"
68         help
69           Command to be used to extract a bzip2'ed file to stdout.
70           bzcat is identical to bunzip2 -c except that the former may
71           not be available on your system.
72           Default is "bzcat"
73           Other possible values include "bunzip2 -c" or "bzip2 -d -c".
74
75 config BR2_XZCAT
76         string "xzcat command"
77         default "xzcat"
78         help
79           Command to be used to extract a xz'ed file to stdout.
80           Default is "xzcat"
81
82 config BR2_TAR_OPTIONS
83         string "Tar options"
84         default ""
85         help
86           Options to pass to tar when extracting the sources.
87           E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
88           and to be verbose.
89
90 endmenu
91
92 config BR2_DL_DIR
93         string "Download dir"
94         default "$(TOPDIR)/dl"
95         help
96           Directory to store all the source files that we need to fetch.
97           If the Linux shell environment has defined the BUILDROOT_DL_DIR
98           environment variable, then this overrides this configuration item.
99
100           The default is $(TOPDIR)/dl
101
102 config BR2_HOST_DIR
103         string "Host dir"
104         default "$(BASE_DIR)/host"
105         help
106           Directory to store all the binary files that are built for the host.
107           This includes the cross compilation toolchain when building the
108           internal buildroot toolchain.
109
110           The default is $(BASE_DIR)/host
111
112 menu "Mirrors and Download locations"
113
114 config BR2_PRIMARY_SITE
115         string "Primary download site"
116         default ""
117         help
118           Primary site to download from. If this option is set then buildroot
119           will try to download package source first from this site and try the
120           default if the file is not found.
121           Valid URIs are URIs recognized by $(WGET) and scp URIs of the form
122           scp://[user@]host:path.
123           NOTE: This works for all packages using the central package
124           infrastructure (generic, autotools, cmake, ...)
125
126 config BR2_PRIMARY_SITE_ONLY
127         bool "Only allow downloads from primary download site"
128         depends on BR2_PRIMARY_SITE != ""
129         help
130           If this option is enabled, downloads will only be attempted
131           from the primary download site. Other locations, like the
132           package's official download location or the backup download
133           site, will not be considered. Therefore, if the package is
134           not present on the primary site, the download fails.
135
136           This is useful for project developers who want to ensure
137           that the project can be built even if the upstream tarball
138           locations disappear.
139
140 if !BR2_PRIMARY_SITE_ONLY
141
142 config BR2_BACKUP_SITE
143         string "Backup download site"
144         default "http://sources.buildroot.net/"
145         help
146           Backup site to download from. If this option is set then buildroot
147           will fall back to download package sources from here if the
148           normal location fails.
149
150 config BR2_SOURCEFORGE_MIRROR
151         string "Sourceforge mirror site"
152         default "kent"
153         help
154           Sourceforge has a system of mirror sites.  Some sites may be
155           closer to your location, and sometimes mirror sites go down
156           and are no longer available.  This option allows you to select
157           your preferred Sourceforge mirror site.
158
159           The list of mirrors is available here:
160           http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
161
162 config BR2_KERNEL_MIRROR
163         string "Kernel.org mirror"
164         default "http://www.kernel.org/pub/"
165         help
166           kernel.org is mirrored on a number of servers around the world.
167           The following allows you to select your preferred mirror.
168
169           Have a look on the kernel.org site for a list of mirrors, then enter
170           the URL to the base directory.  Examples:
171
172              http://www.XX.kernel.org/pub (XX = country code)
173              http://mirror.aarnet.edu.au/pub/ftp.kernel.org
174
175 config BR2_GNU_MIRROR
176         string "GNU Software mirror"
177         default "http://ftp.gnu.org/pub/gnu"
178         help
179           GNU has multiple software mirrors scattered around the world.
180           The following allows you to select your preferred mirror.
181
182           Have a look on the gnu.org site for a list of mirrors, then enter
183           the URL to the base directory.  Examples:
184
185              http://ftp.gnu.org/pub/gnu
186              http://mirror.aarnet.edu.au/pub/gnu
187
188 config BR2_DEBIAN_MIRROR
189         string "Debian Software mirror"
190         default "http://ftp.debian.org"
191         help
192           Debian has multiple software mirrors scattered around the world.
193           The following allows you to select your preferred mirror.
194
195           Usually, just add your country code like XX here:
196           http://ftp.XX.debian.org
197
198 endif
199
200 endmenu
201
202 config BR2_JLEVEL
203         int "Number of jobs to run simultaneously (0 for auto)"
204         default "0"
205         help
206           Number of jobs to run simultaneously.  If 0, determine
207           automatically according to number of CPUs on the host
208           system.
209
210 config BR2_CCACHE
211         bool "Enable compiler cache"
212         help
213           This option will enable the use of ccache, a compiler
214           cache. It will cache the result of previous builds to speed
215           up future builds. The cache is stored in
216           $HOME/.buildroot-ccache.
217
218           Note that Buildroot does not try to invalidate the cache
219           contents when the compiler changes in an incompatible
220           way. Therefore, if you make a change to the compiler version
221           and/or configuration, you are responsible for purging the
222           ccache cache by removing the $HOME/.buildroot-ccache
223           directory.
224
225 config BR2_CCACHE_DIR
226         string "Compiler cache location"
227         depends on BR2_CCACHE
228         default "$(HOME)/.buildroot-ccache"
229         help
230           Where ccache should store cached files.
231
232 config BR2_DEPRECATED
233         bool "Show packages that are deprecated or obsolete"
234         help
235           This option hides outdated/obsolete versions of packages.
236
237 config BR2_ENABLE_DEBUG
238         bool "build packages with debugging symbols"
239         help
240           Build packages with debugging symbols enabled. All libraries
241           and binaries in the 'staging' directory will have debugging
242           symbols, which allows remote debugging even if libraries and
243           binaries are stripped on the target. Whether libraries and
244           binaries are stripped on the target is controlled by the
245           BR2_STRIP_* options below.
246
247 if BR2_ENABLE_DEBUG
248 choice
249         prompt "gcc debug level"
250         default BR2_DEBUG_2
251         help
252           Set the debug level for gcc
253
254 config BR2_DEBUG_1
255         bool "debug level 1"
256         help
257           Debug level 1 produces minimal information, enough
258           for making backtraces in parts of the program that
259           you don't plan to debug. This includes descriptions
260           of functions and external variables, but no information
261           about local variables and no line numbers.
262
263 config BR2_DEBUG_2
264         bool "debug level 2"
265         help
266           The default gcc debug level is 2
267
268 config BR2_DEBUG_3
269         bool "debug level 3"
270         help
271           Level 3 includes extra information, such as all the
272           macro definitions present in the program. Some debuggers
273           support macro expansion when you use -g3.
274 endchoice
275 endif
276
277 choice
278         prompt "strip command for binaries on target"
279         default BR2_STRIP_strip
280
281 config BR2_STRIP_strip
282         bool "strip"
283         depends on !BR2_ELF2FLT
284         help
285           Binaries and libraries in the target filesystem will be
286           stripped using the normal 'strip' command. This allows to
287           save space, mainly by removing debugging symbols. Debugging
288           symbols on the target are needed for native debugging, but
289           not when remote debugging is used.
290
291 config BR2_STRIP_sstrip
292         bool "sstrip"
293         select BR2_PACKAGE_SSTRIP_HOST
294         depends on !BR2_ELF2FLT
295         help
296           Binaries and libraries in the target filesystem will be
297           stripped using the 'sstrip' command, which strips a little
298           bit more than the traditional 'strip' command. This allows to
299           save space, mainly by removing debugging symbols. Debugging
300           symbols on the target are needed for native debugging, but
301           not when remote debugging is used.
302
303 config BR2_STRIP_none
304         bool "none"
305         help
306           Do not strip binaries and libraries in the target
307           filesystem.
308 endchoice
309
310 config BR2_STRIP_EXCLUDE_FILES
311         string "executables that should not be stripped"
312         depends on !BR2_STRIP_none
313         default ""
314         help
315           You may specify a space-separated list of binaries and libraries
316           here that should not be stripped on the target.
317
318 config BR2_STRIP_EXCLUDE_DIRS
319         string "directories that should be skipped when stripping"
320         depends on !BR2_STRIP_none
321         default ""
322         help
323           You may specify a space-separated list of directories that should
324           be skipped when stripping. Binaries and libraries in these
325           directories will not be touched.
326           The directories should be specified relative to the target directory,
327           without leading slash.
328
329 choice
330         prompt "gcc optimization level"
331         default BR2_OPTIMIZE_S
332         help
333           Set the optimization level for gcc
334
335 config BR2_OPTIMIZE_0
336         bool "optimization level 0"
337         help
338           Do not optimize. This is the default.
339
340 config BR2_OPTIMIZE_1
341         bool "optimization level 1"
342         help
343           Optimize. Optimizing compilation takes somewhat more time,
344           and a lot more memory for a large function. With -O, the
345           compiler tries to reduce code size and execution time,
346           without performing any optimizations that take a great deal
347           of compilation time. -O turns on the following optimization
348           flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
349           -fcprop-registers -floop-optimize -fif-conversion
350           -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
351           -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
352           -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
353           -O also turns on -fomit-frame-pointer on machines where doing
354           so does not interfere with debugging.
355
356 config BR2_OPTIMIZE_2
357         bool "optimization level 2"
358         help
359           Optimize even more. GCC performs nearly all supported optimizations
360           that do not involve a space-speed tradeoff. The compiler does not
361           perform loop unrolling or function inlining when you specify -O2.
362           As compared to -O, this option increases both compilation time and
363           the performance of the generated code. -O2 turns on all optimization
364           flags specified by -O. It also turns on the following optimization
365           flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
366           -fcse-follow-jumps -fcse-skip-blocks -fgcse  -fgcse-lm
367           -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
368           -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
369           -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
370           -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
371           -freorder-functions -falign-functions -falign-jumps -falign-loops
372           -falign-labels -ftree-vrp -ftree-pre
373           Please note the warning under -fgcse about invoking -O2 on programs
374           that use computed gotos.
375
376 config BR2_OPTIMIZE_3
377         bool "optimization level 3"
378         help
379           Optimize yet more. -O3 turns on all optimizations specified by -O2
380           and also turns on the -finline-functions, -funswitch-loops and
381           -fgcse-after-reload options.
382
383 config BR2_OPTIMIZE_S
384         bool "optimize for size"
385         help
386           Optimize for size. -Os enables all -O2 optimizations that do not
387           typically increase code size. It also performs further optimizations
388           designed to reduce code size. -Os disables the following optimization
389           flags: -falign-functions -falign-jumps -falign-loops -falign-labels
390           -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
391           -ftree-vect-loop-version
392
393 endchoice
394
395 config BR2_PREFER_STATIC_LIB
396         bool "prefer static libraries"
397         help
398           Where possible, build and use static libraries for the target.
399           This potentially increases your code size and should only be
400           used if you know what you do.
401           The default is to build dynamic libraries and use those on
402           the target filesystem.
403
404           WARNING: This is highly experimental at the moment.
405
406 config BR2_HAVE_DOCUMENTATION
407         bool "documentation on the target"
408         help
409           Install the documentation, including manual pages and info
410           pages, on the target.
411           If you say n here, your target will not contain any
412           documentation.
413
414 config BR2_HAVE_DEVFILES
415         bool "development files in target filesystem"
416         help
417           Install headers and static libraries in the
418           target filesystem
419
420 config BR2_PACKAGE_OVERRIDE_FILE
421         string "location of a package override file"
422         default "$(TOPDIR)/local.mk"
423         help
424           A package override file is a short makefile that contains
425           variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
426           which allows to tell Buildroot to use an existing directory
427           as the source directory for a particular package. See the
428           Buildroot documentation for more details on this feature.
429
430 endmenu
431
432 source "toolchain/Config.in"
433
434 source "target/generic/Config.in"
435
436 source "package/Config.in"
437
438 source "package/Config.in.host"
439
440 source "fs/Config.in"
441
442 source "boot/Config.in"
443
444 source "linux/Config.in"
This page took 0.051722 seconds and 4 git commands to generate.