]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - Config.in
Bring the three path-related options together
[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         default "2010.05-git"
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"
23
24 config BR2_SVN_CO
25         string "Subversion (svn) command to download source tree"
26         default "svn co"
27
28 config BR2_SVN_UP
29         string "Subversion (svn) command to update source tree"
30         default "svn up"
31
32 config BR2_BZR_CO
33         string "Bazaar (bzr) command to download source tree"
34         default "bzr co"
35
36 config BR2_BZR_UP
37         string "Bazaar (bzr) command to update source tree"
38         default "bzr up"
39
40 config BR2_GIT
41         string "Git command to download source tree"
42         default "git clone"
43
44 config BR2_ZCAT
45         string "zcat command"
46         default "gzip -d -c"
47         help
48           Command to be used to extract a gzip'ed file to stdout.
49           zcat is identical to gunzip -c except that the former may
50           not be available on your system.
51           Default is "gzip -d -c"
52           Other possible values include "gunzip -c" or "zcat".
53
54 config BR2_BZCAT
55         string "bzcat command"
56         default "bzcat"
57         help
58           Command to be used to extract a bzip2'ed file to stdout.
59           bzcat is identical to bunzip2 -c except that the former may
60           not be available on your system.
61           Default is "bzcat"
62           Other possible values include "bunzip2 -c" or "bzip2 -d -c".
63
64 config BR2_TAR_OPTIONS
65         string "Tar options"
66         default ""
67         help
68           Options to pass to tar when extracting the sources.
69           E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
70           and to be verbose.
71
72 endmenu
73
74 config BR2_DL_DIR
75         string "Download dir"
76         default "$(TOPDIR)/dl"
77         help
78           Directory to store all the source files that we need to fetch.
79           If the Linux shell environment has defined the BUILDROOT_DL_DIR
80           environment variable, then this overrides this configuration item.
81
82           The default is $(TOPDIR)/dl
83
84 config BR2_COPYTO
85         string "Copy result to..."
86         default ""
87         help
88           Setting this variable will (eventually) override 
89           any other copyto configurations in buildroot.
90
91 config BR2_STAGING_DIR
92         string "Toolchain and header file location?"
93         default "$(BASE_DIR)/staging"
94         help
95           This is the location where the toolchain will be installed.  The
96           toolchain will not work if it is moved from this location.
97           Therefore, if you wish to package up a uClibc toolchain, it is
98           important that is is set to the final location where the toolchain
99           will be used.
100
101           Most people will leave this set to the default value of
102           "$(BASE_DIR)/staging".
103
104 source  "target/device/Config.in.mirrors"
105
106 config BR2_GNU_BUILD_SUFFIX
107         string "GNU build hostname suffix"
108         default "pc-linux-gnu"
109         help
110           The string used to pass to configure scripts via the
111           --build= option.  Just specify the suffix here, the leading
112           arch will be filled in automatically.
113
114           Here's some copy and paste build host options for you:
115               linux:   pc-linux-gnu
116               cygwin:  pc-cygwin
117               os x:    apple-darwin7 / apple-darwin8
118
119 config BR2_GNU_TARGET_SUFFIX
120         string "GNU target suffix"
121         default "linux-uclibcgnueabi" if BR2_ARM_EABI
122         default "linux-uclibc"
123         help
124           The string used to pass to configure scripts via the
125           --target= option.  Just specify the suffix here, the leading
126           arch will be filled in automatically.
127
128           Most users will want to stick with the default setting, though
129           other users (most notably ARM EABI) like to add on to this in
130           order to stay in line with gcc conventions.
131
132           Default options are:
133               linux-uclibcgnueabi for ARM EABI
134               linux-uclibc for the rest
135               gnuhurd-uclibc for the hurd
136
137 config BR2_JLEVEL
138         int "Number of jobs to run simultaneously"
139         default "2"
140         help
141           Number of jobs to run simultaneously
142
143 config BR2_DEPRECATED
144         bool "Show packages that are deprecated or obsolete"
145         help
146           This option hides outdated/obsolete versions of packages.
147
148 config BR2_RECENT
149         bool "Show packages that are of the latest major version"
150         default y
151         help
152           This option show recent versions of packages.
153
154 config BR2_CONFIG_CACHE
155         bool "Use a central configure cache file"
156         default y
157         help
158           This determines if a central config cache is used by
159           packages, reducing the configure time for packages as each
160           one caches its findings.
161
162 config BR2_ENABLE_DEBUG
163         bool "build packages with debugging symbols"
164         select BR2_PACKAGE_GDB_SERVER
165         help
166           Build packages with debugging symbols
167           enabled
168
169 if BR2_ENABLE_DEBUG
170 choice
171         prompt "gcc debug level"
172         default BR2_DEBUG_2
173         help
174           Set the debug level for gcc
175
176 config BR2_DEBUG_1
177         bool "debug level 1"
178         help
179           Debug level 1 produces minimal information, enough
180           for making backtraces in parts of the program that
181           you don't plan to debug. This includes descriptions
182           of functions and external variables, but no information
183           about local variables and no line numbers.
184
185 config BR2_DEBUG_2
186         bool "debug level 2"
187         help
188           The default gcc debug level is 2
189
190 config BR2_DEBUG_3
191         bool "debug level 3"
192         help
193           Level 3 includes extra information, such as all the
194           macro definitions present in the program. Some debuggers
195           support macro expansion when you use -g3.
196 endchoice
197 endif
198
199 choice
200         prompt "strip"
201         default BR2_STRIP_strip
202         help
203           Select whether to strip binaries and libraries for the target
204           or not.
205           strip   is the normal strip command
206           sstrip  is a strip that discards more than the normal strip
207           none    do not strip (only for debugging!)
208
209 config BR2_STRIP_strip
210         bool "strip"
211         depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
212         help
213           strip   is the normal strip command
214
215 config BR2_STRIP_sstrip
216         bool "sstrip"
217         select BR2_PACKAGE_SSTRIP_HOST
218         depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
219         help
220           sstrip  is a strip that discards more than the normal strip
221
222 config BR2_STRIP_none
223         bool "none"
224         help
225           none    do not strip (only for debugging!)
226 endchoice
227
228 choice
229         prompt "gcc optimization level"
230         default BR2_OPTIMIZE_S
231         help
232           Set the optimization level for gcc
233
234 config BR2_OPTIMIZE_0
235         bool "optimization level 0"
236         depends on !BR2_PACKAGE_LINUX
237         help
238           Do not optimize. This is the default.
239
240 config BR2_OPTIMIZE_1
241         bool "optimization level 1"
242         depends on !BR2_PACKAGE_LINUX
243         help
244           Optimize. Optimizing compilation takes somewhat more time,
245           and a lot more memory for a large function. With -O, the
246           compiler tries to reduce code size and execution time,
247           without performing any optimizations that take a great deal
248           of compilation time. -O turns on the following optimization
249           flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
250           -fcprop-registers -floop-optimize -fif-conversion
251           -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
252           -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
253           -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
254           -O also turns on -fomit-frame-pointer on machines where doing
255           so does not interfere with debugging.
256
257 config BR2_OPTIMIZE_2
258         bool "optimization level 2"
259         help
260           Optimize even more. GCC performs nearly all supported optimizations
261           that do not involve a space-speed tradeoff. The compiler does not
262           perform loop unrolling or function inlining when you specify -O2.
263           As compared to -O, this option increases both compilation time and
264           the performance of the generated code. -O2 turns on all optimization
265           flags specified by -O. It also turns on the following optimization
266           flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
267           -fcse-follow-jumps -fcse-skip-blocks -fgcse  -fgcse-lm
268           -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
269           -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
270           -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
271           -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
272           -freorder-functions -falign-functions -falign-jumps -falign-loops
273           -falign-labels -ftree-vrp -ftree-pre
274           Please note the warning under -fgcse about invoking -O2 on programs
275           that use computed gotos.
276
277 config BR2_OPTIMIZE_3
278         bool "optimization level 3"
279         help
280           Optimize yet more. -O3 turns on all optimizations specified by -O2
281           and also turns on the -finline-functions, -funswitch-loops and
282           -fgcse-after-reload options.
283
284 config BR2_OPTIMIZE_S
285         bool "optimize for size"
286         help
287           Optimize for size. -Os enables all -O2 optimizations that do not
288           typically increase code size. It also performs further optimizations
289           designed to reduce code size. -Os disables the following optimization
290           flags: -falign-functions -falign-jumps -falign-loops -falign-labels
291           -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
292           -ftree-vect-loop-version
293
294 endchoice
295
296 config BR2_PREFER_STATIC_LIB
297         bool "prefer static libraries"
298         help
299           Where possible, build and use static libraries for the target.
300           This potentially increases your code size and should only be
301           used if you know what you do.
302           The default is to build dynamic libraries and use those on
303           the target filesystem.
304
305           WARNING: This is highly experimental at the moment.
306
307 config BR2_HAVE_DOCUMENTATION
308         bool "documentation on the target"
309         help
310           Install the documentation, including manual pages and info
311           pages, on the target.
312           If you say n here, your target will not contain any
313           documentation.
314
315 config BR2_HAVE_DEVFILES
316         bool "development files in target filesystem"
317         help
318           Install headers and static libraries in the
319           target filesystem
320
321 endmenu
322
323 source "toolchain/Config.in"
324
325 source "package/Config.in"
326
327 source "fs/Config.in"
328
329 source "target/Config.in"