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