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