]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - Config.in
Config.in: Show BR version in title
[coffee/buildroot.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 source "target/Config.in.arch"
14
15 menu "Build options"
16
17 menu "Commands"
18
19 config BR2_WGET
20         string "Wget command"
21         default "wget --passive-ftp -nd -t 3"
22
23 config BR2_SVN
24         string "Subversion (svn) command"
25         default "svn"
26
27 config BR2_BZR
28         string "Bazaar (bzr) command"
29         default "bzr"
30
31 config BR2_GIT
32         string "Git command"
33         default "git"
34
35 config BR2_ZCAT
36         string "zcat command"
37         default "gzip -d -c"
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.
42           Default is "gzip -d -c"
43           Other possible values include "gunzip -c" or "zcat".
44
45 config 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".
54
55 config BR2_TAR_OPTIONS
56         string "Tar options"
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.
62
63 endmenu
64
65 config BR2_DL_DIR
66         string "Download dir"
67         default "$(TOPDIR)/dl"
68         help
69           Directory to store all the source files that we need to fetch.
70           If the Linux shell environment has defined the BUILDROOT_DL_DIR
71           environment variable, then this overrides this configuration item.
72
73           The default is $(TOPDIR)/dl
74
75 menu "Mirrors and Download locations"
76
77 config BR2_PRIMARY_SITE
78         string "Primary download site"
79         default ""
80         help
81           Primary site to download from. If this option is set then buildroot
82           will try to download package source first from this site and try the
83           default if the file is not found.
84           NOTE: This only works for packages using the Makefile.autotools.in
85
86 config BR2_BACKUP_SITE
87         string "Backup download site"
88         default "http://sources.buildroot.net/"
89         help
90           Backup site to download from. If this option is set then buildroot
91           will fall back to download package sources from here if the
92           normal location fails.
93
94 config BR2_SOURCEFORGE_MIRROR
95         string "Sourceforge mirror site"
96         default "easynews"
97         help
98           Sourceforge has a system of mirror sites.  Some sites may be
99           closer to your location, and sometimes mirror sites go down
100           and are no longer available.  This option allows you to select
101           your preferred Sourceforge mirror site.
102
103           The list of mirrors is available here:
104           http://prdownloads.sourceforge.net/index-sf.html?download
105
106 config BR2_KERNEL_MIRROR
107         string "Kernel.org mirror"
108         default "http://www.kernel.org/pub/"
109         help
110           kernel.org is mirrored on a number of servers around the world.
111           The following allows you to select your preferred mirror.
112
113           Have a look on the kernel.org site for a list of mirrors, then enter
114           the URL to the base directory.  Examples:
115
116              http://www.XX.kernel.org/pub (XX = country code)
117              http://mirror.aarnet.edu.au/pub/ftp.kernel.org
118
119 config BR2_GNU_MIRROR
120         string "GNU Software mirror"
121         default "http://ftp.gnu.org/pub/gnu"
122         help
123           GNU has multiple software mirrors scattered around the world.
124           The following allows you to select your preferred mirror.
125
126           Have a look on the gnu.org site for a list of mirrors, then enter
127           the URL to the base directory.  Examples:
128
129              http://ftp.gnu.org/pub/gnu
130              http://mirror.aarnet.edu.au/pub/gnu
131
132 config BR2_DEBIAN_MIRROR
133         string "Debian Software mirror"
134         default "http://ftp.debian.org"
135         help
136           Debian has multiple software mirrors scattered around the world.
137           The following allows you to select your preferred mirror.
138
139           Usually, just add your country code like XX here:
140           http://ftp.XX.debian.org
141
142 endmenu
143
144 config BR2_JLEVEL
145         int "Number of jobs to run simultaneously"
146         default "2"
147         help
148           Number of jobs to run simultaneously
149
150 config BR2_CCACHE
151         bool "Enable compiler cache"
152         help
153           This option will enable the use of ccache, a compiler
154           cache. It will cache the result of previous builds to speed
155           up future builds. The cache is stored in
156           $HOME/.buildroot-ccache.
157
158 config BR2_DEPRECATED
159         bool "Show packages that are deprecated or obsolete"
160         help
161           This option hides outdated/obsolete versions of packages.
162
163 config BR2_ENABLE_DEBUG
164         bool "build packages with debugging symbols"
165         select BR2_PACKAGE_GDB_SERVER
166         help
167           Build packages with debugging symbols
168           enabled
169
170 if BR2_ENABLE_DEBUG
171 choice
172         prompt "gcc debug level"
173         default BR2_DEBUG_2
174         help
175           Set the debug level for gcc
176
177 config BR2_DEBUG_1
178         bool "debug level 1"
179         help
180           Debug level 1 produces minimal information, enough
181           for making backtraces in parts of the program that
182           you don't plan to debug. This includes descriptions
183           of functions and external variables, but no information
184           about local variables and no line numbers.
185
186 config BR2_DEBUG_2
187         bool "debug level 2"
188         help
189           The default gcc debug level is 2
190
191 config BR2_DEBUG_3
192         bool "debug level 3"
193         help
194           Level 3 includes extra information, such as all the
195           macro definitions present in the program. Some debuggers
196           support macro expansion when you use -g3.
197 endchoice
198 endif
199
200 choice
201         prompt "strip"
202         default BR2_STRIP_strip
203         help
204           Select whether to strip binaries and libraries for the target
205           or not.
206           strip   is the normal strip command
207           sstrip  is a strip that discards more than the normal strip
208           none    do not strip (only for debugging!)
209
210 config BR2_STRIP_strip
211         bool "strip"
212         depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
213         help
214           strip   is the normal strip command
215
216 config BR2_STRIP_sstrip
217         bool "sstrip"
218         select BR2_PACKAGE_SSTRIP_HOST
219         depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
220         help
221           sstrip  is a strip that discards more than the normal strip
222
223 config BR2_STRIP_none
224         bool "none"
225         help
226           none    do not strip (only for debugging!)
227 endchoice
228
229 choice
230         prompt "gcc optimization level"
231         default BR2_OPTIMIZE_S
232         help
233           Set the optimization level for gcc
234
235 config BR2_OPTIMIZE_0
236         bool "optimization level 0"
237         help
238           Do not optimize. This is the default.
239
240 config BR2_OPTIMIZE_1
241         bool "optimization level 1"
242         help
243           Optimize. Optimizing compilation takes somewhat more time,
244           and a lot more memory for a large function. With -O, the
245           compiler tries to reduce code size and execution time,
246           without performing any optimizations that take a great deal
247           of compilation time. -O turns on the following optimization
248           flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
249           -fcprop-registers -floop-optimize -fif-conversion
250           -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
251           -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
252           -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
253           -O also turns on -fomit-frame-pointer on machines where doing
254           so does not interfere with debugging.
255
256 config BR2_OPTIMIZE_2
257         bool "optimization level 2"
258         help
259           Optimize even more. GCC performs nearly all supported optimizations
260           that do not involve a space-speed tradeoff. The compiler does not
261           perform loop unrolling or function inlining when you specify -O2.
262           As compared to -O, this option increases both compilation time and
263           the performance of the generated code. -O2 turns on all optimization
264           flags specified by -O. It also turns on the following optimization
265           flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
266           -fcse-follow-jumps -fcse-skip-blocks -fgcse  -fgcse-lm
267           -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
268           -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
269           -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
270           -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
271           -freorder-functions -falign-functions -falign-jumps -falign-loops
272           -falign-labels -ftree-vrp -ftree-pre
273           Please note the warning under -fgcse about invoking -O2 on programs
274           that use computed gotos.
275
276 config BR2_OPTIMIZE_3
277         bool "optimization level 3"
278         help
279           Optimize yet more. -O3 turns on all optimizations specified by -O2
280           and also turns on the -finline-functions, -funswitch-loops and
281           -fgcse-after-reload options.
282
283 config BR2_OPTIMIZE_S
284         bool "optimize for size"
285         help
286           Optimize for size. -Os enables all -O2 optimizations that do not
287           typically increase code size. It also performs further optimizations
288           designed to reduce code size. -Os disables the following optimization
289           flags: -falign-functions -falign-jumps -falign-loops -falign-labels
290           -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
291           -ftree-vect-loop-version
292
293 endchoice
294
295 config BR2_PREFER_STATIC_LIB
296         bool "prefer static libraries"
297         help
298           Where possible, build and use static libraries for the target.
299           This potentially increases your code size and should only be
300           used if you know what you do.
301           The default is to build dynamic libraries and use those on
302           the target filesystem.
303
304           WARNING: This is highly experimental at the moment.
305
306 config BR2_HAVE_DOCUMENTATION
307         bool "documentation on the target"
308         help
309           Install the documentation, including manual pages and info
310           pages, on the target.
311           If you say n here, your target will not contain any
312           documentation.
313
314 config BR2_HAVE_DEVFILES
315         bool "development files in target filesystem"
316         help
317           Install headers and static libraries in the
318           target filesystem
319
320 endmenu
321
322 source "toolchain/Config.in"
323
324 source "target/generic/Config.in"
325
326 source "package/Config.in"
327
328 source "fs/Config.in"
329
330 source "boot/Config.in"
331
332 source "linux/Config.in"