]> Git Repo - buildroot-mgba.git/blame - Config.in
htop: Bump version to 1.0
[buildroot-mgba.git] / Config.in
CommitLineData
2d523c23
EA
1#
2
6a53b729 3mainmenu "Buildroot $BR2_VERSION Configuration"
2d523c23
EA
4
5config BR2_HAVE_DOT_CONFIG
6 bool
7 default y
8
f5b8cd4a
BRF
9config BR2_VERSION
10 string
56c68bcd 11 option env="BR2_VERSION_FULL"
f5b8cd4a 12
bb9e6a7d 13source "target/Config.in.arch"
7d8a59b4 14
8e5fb3fb
EA
15menu "Build options"
16
15929265
TP
17menu "Commands"
18
2d523c23 19config BR2_WGET
8e5fb3fb 20 string "Wget command"
6871b165 21 default "wget --passive-ftp -nd -t 3"
2d523c23 22
cf71111b
MP
23config BR2_SVN
24 string "Subversion (svn) command"
25 default "svn"
e30cf26c 26
cf71111b
MP
27config BR2_BZR
28 string "Bazaar (bzr) command"
29 default "bzr"
df03cdaf 30
85f54fbe 31config BR2_GIT
cf71111b
MP
32 string "Git command"
33 default "git"
85f54fbe 34
2690e76a
DW
35config BR2_LOCALFILES
36 string "Local files retrieval command"
37 default "cp"
38
859b9137
BRF
39config BR2_ZCAT
40 string "zcat command"
a9612bfd 41 default "gzip -d -c"
859b9137
BRF
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.
a9612bfd
BRF
46 Default is "gzip -d -c"
47 Other possible values include "gunzip -c" or "zcat".
6e2823c1
BRF
48
49config 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".
859b9137 58
177b4b4a
AN
59config 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
ce90aae1
BRF
66config BR2_TAR_OPTIONS
67 string "Tar options"
7df4de6c
BRF
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.
ce90aae1 73
15929265
TP
74endmenu
75
59a63a91
MF
76config BR2_DL_DIR
77 string "Download dir"
be695dcc 78 default "$(TOPDIR)/dl"
59a63a91
MF
79 help
80 Directory to store all the source files that we need to fetch.
67050e14
US
81 If the Linux shell environment has defined the BUILDROOT_DL_DIR
82 environment variable, then this overrides this configuration item.
59a63a91 83
be695dcc 84 The default is $(TOPDIR)/dl
4b0d5a80 85
a2b4f7fb
GZ
86config 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
8008007c
TP
96menu "Mirrors and Download locations"
97
98config 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
107config 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
115config BR2_SOURCEFORGE_MIRROR
116 string "Sourceforge mirror site"
d0d3502e 117 default "kent"
8008007c
TP
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:
d0d3502e 125 http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
8008007c
TP
126
127config 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
140config 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
153config 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
163endmenu
aa41d377 164
8e5fb3fb
EA
165config BR2_JLEVEL
166 int "Number of jobs to run simultaneously"
2bbbe05b 167 default "2"
8e5fb3fb 168 help
93ab6d30
BRF
169 Number of jobs to run simultaneously
170
17b66aff
TP
171config 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
7779fd74 179config BR2_DEPRECATED
5e1f034b 180 bool "Show packages that are deprecated or obsolete"
7779fd74 181 help
5e1f034b 182 This option hides outdated/obsolete versions of packages.
ba7c48f3 183
41f6b79f
JV
184config BR2_ENABLE_DEBUG
185 bool "build packages with debugging symbols"
809fa27a 186 select BR2_PACKAGE_GDB_SERVER
41f6b79f
JV
187 help
188 Build packages with debugging symbols
189 enabled
190
191if BR2_ENABLE_DEBUG
192choice
193 prompt "gcc debug level"
194 default BR2_DEBUG_2
195 help
196 Set the debug level for gcc
197
198config BR2_DEBUG_1
199 bool "debug level 1"
200 help
02a623dd
PK
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
41f6b79f
JV
204 of functions and external variables, but no information
205 about local variables and no line numbers.
206
207config BR2_DEBUG_2
208 bool "debug level 2"
209 help
210 The default gcc debug level is 2
211
212config BR2_DEBUG_3
213 bool "debug level 3"
214 help
02a623dd 215 Level 3 includes extra information, such as all the
41f6b79f
JV
216 macro definitions present in the program. Some debuggers
217 support macro expansion when you use -g3.
218endchoice
219endif
220
bbd251a0
BRF
221choice
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
231config BR2_STRIP_strip
232 bool "strip"
febe322d 233 depends on !BR2_ELF2FLT
bbd251a0
BRF
234 help
235 strip is the normal strip command
85f54fbe 236
bbd251a0
BRF
237config BR2_STRIP_sstrip
238 bool "sstrip"
239 select BR2_PACKAGE_SSTRIP_HOST
febe322d 240 depends on !BR2_ELF2FLT
bbd251a0
BRF
241 help
242 sstrip is a strip that discards more than the normal strip
85f54fbe 243
bbd251a0
BRF
244config BR2_STRIP_none
245 bool "none"
246 help
247 none do not strip (only for debugging!)
248endchoice
249
41f6b79f
JV
250choice
251 prompt "gcc optimization level"
7eb796ba 252 default BR2_OPTIMIZE_S
923f42a3 253 help
41f6b79f
JV
254 Set the optimization level for gcc
255
256config BR2_OPTIMIZE_0
257 bool "optimization level 0"
258 help
02a623dd 259 Do not optimize. This is the default.
41f6b79f
JV
260
261config BR2_OPTIMIZE_1
262 bool "optimization level 1"
263 help
02a623dd
PK
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
41f6b79f 273 -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
02a623dd 274 -O also turns on -fomit-frame-pointer on machines where doing
41f6b79f
JV
275 so does not interfere with debugging.
276
277config BR2_OPTIMIZE_2
278 bool "optimization level 2"
279 help
280 Optimize even more. GCC performs nearly all supported optimizations
02a623dd
PK
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
41f6b79f
JV
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
297config BR2_OPTIMIZE_3
298 bool "optimization level 3"
299 help
02a623dd
PK
300 Optimize yet more. -O3 turns on all optimizations specified by -O2
301 and also turns on the -finline-functions, -funswitch-loops and
41f6b79f
JV
302 -fgcse-after-reload options.
303
304config BR2_OPTIMIZE_S
305 bool "optimize for size"
306 help
02a623dd 307 Optimize for size. -Os enables all -O2 optimizations that do not
41f6b79f 308 typically increase code size. It also performs further optimizations
02a623dd
PK
309 designed to reduce code size. -Os disables the following optimization
310 flags: -falign-functions -falign-jumps -falign-loops -falign-labels
41f6b79f
JV
311 -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
312 -ftree-vect-loop-version
02a623dd 313
41f6b79f 314endchoice
923f42a3 315
3096f34d
BRF
316config BR2_PREFER_STATIC_LIB
317 bool "prefer static libraries"
3096f34d 318 help
ece6fe05
BRF
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.
3096f34d
BRF
324
325 WARNING: This is highly experimental at the moment.
326
886b274a
PK
327config BR2_HAVE_DOCUMENTATION
328 bool "documentation on the target"
329 help
b7030660
TP
330 Install the documentation, including manual pages and info
331 pages, on the target.
886b274a
PK
332 If you say n here, your target will not contain any
333 documentation.
334
f5b96fc7
JV
335config BR2_HAVE_DEVFILES
336 bool "development files in target filesystem"
bc67ca29
JV
337 help
338 Install headers and static libraries in the
339 target filesystem
340
ee0246e1
TP
341config 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
8e5fb3fb 351endmenu
2d523c23 352
50100394
BRF
353source "toolchain/Config.in"
354
beb43c7d
TP
355source "target/generic/Config.in"
356
50100394
BRF
357source "package/Config.in"
358
05852415
TP
359source "fs/Config.in"
360
649b5b92
TP
361source "boot/Config.in"
362
487e21cf 363source "linux/Config.in"
This page took 0.260579 seconds and 4 git commands to generate.