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