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