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