2004-10-09 03:06:03 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
mainmenu "Buildroot2 Configuration"
|
|
|
|
|
|
|
|
config BR2_HAVE_DOT_CONFIG
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-09-25 13:37:31 +02:00
|
|
|
config BR2_VERSION
|
|
|
|
string
|
2010-02-09 16:54:30 +01:00
|
|
|
default "2010.02-rc1"
|
2007-09-25 13:37:31 +02:00
|
|
|
|
2007-09-28 23:54:36 +02:00
|
|
|
source "target/Config.in.arch"
|
2007-09-26 23:12:38 +02:00
|
|
|
source "target/device/Config.in"
|
2007-07-08 18:28:54 +02:00
|
|
|
|
2004-12-11 14:01:10 +01:00
|
|
|
menu "Build options"
|
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
config BR2_WGET
|
2004-12-11 14:01:10 +01:00
|
|
|
string "Wget command"
|
2004-10-15 09:11:54 +02:00
|
|
|
default "wget --passive-ftp -nd"
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2007-09-19 22:22:58 +02:00
|
|
|
config BR2_SVN_CO
|
2007-08-24 07:31:07 +02:00
|
|
|
string "Subversion (svn) command to download source tree"
|
2005-06-09 11:50:11 +02:00
|
|
|
default "svn co"
|
2005-01-23 12:20:30 +01:00
|
|
|
|
2007-09-19 22:22:58 +02:00
|
|
|
config BR2_SVN_UP
|
|
|
|
string "Subversion (svn) command to update source tree"
|
|
|
|
default "svn up"
|
|
|
|
|
2009-08-07 11:57:54 +02:00
|
|
|
config BR2_BZR_CO
|
|
|
|
string "Bazaar (bzr) command to download source tree"
|
|
|
|
default "bzr co"
|
|
|
|
|
|
|
|
config BR2_BZR_UP
|
|
|
|
string "Bazaar (bzr) command to update source tree"
|
|
|
|
default "bzr up"
|
|
|
|
|
2007-08-24 07:31:07 +02:00
|
|
|
config BR2_GIT
|
|
|
|
string "Git command to download source tree"
|
|
|
|
default "git clone"
|
|
|
|
|
2006-10-01 17:07:45 +02:00
|
|
|
config BR2_ZCAT
|
|
|
|
string "zcat command"
|
2007-03-09 09:26:10 +01:00
|
|
|
default "gzip -d -c"
|
2006-10-01 17:07:45 +02:00
|
|
|
help
|
|
|
|
Command to be used to extract a gzip'ed file to stdout.
|
|
|
|
zcat is identical to gunzip -c except that the former may
|
|
|
|
not be available on your system.
|
2007-03-09 09:26:10 +01:00
|
|
|
Default is "gzip -d -c"
|
|
|
|
Other possible values include "gunzip -c" or "zcat".
|
2006-11-17 16:43:51 +01:00
|
|
|
|
|
|
|
config BR2_BZCAT
|
|
|
|
string "bzcat command"
|
|
|
|
default "bzcat"
|
|
|
|
help
|
|
|
|
Command to be used to extract a bzip2'ed file to stdout.
|
|
|
|
bzcat is identical to bunzip2 -c except that the former may
|
|
|
|
not be available on your system.
|
|
|
|
Default is "bzcat"
|
|
|
|
Other possible values include "bunzip2 -c" or "bzip2 -d -c".
|
2006-10-01 17:07:45 +02:00
|
|
|
|
2005-12-10 15:59:02 +01:00
|
|
|
config BR2_TAR_OPTIONS
|
|
|
|
string "Tar options"
|
2005-12-10 16:36:43 +01:00
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Options to pass to tar when extracting the sources.
|
|
|
|
E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
|
|
|
|
and to be verbose.
|
2005-12-10 15:59:02 +01:00
|
|
|
|
2005-10-01 02:35:24 +02:00
|
|
|
config BR2_DL_DIR
|
|
|
|
string "Download dir"
|
2009-09-23 08:46:52 +02:00
|
|
|
default "$(TOPDIR)/dl"
|
2005-10-01 02:35:24 +02:00
|
|
|
help
|
|
|
|
Directory to store all the source files that we need to fetch.
|
2007-08-21 03:28:12 +02:00
|
|
|
If the Linux shell environment has defined the BUILDROOT_DL_DIR
|
|
|
|
environment variable, then this overrides this configuration item.
|
2005-10-01 02:35:24 +02:00
|
|
|
|
2009-09-23 08:46:52 +02:00
|
|
|
The default is $(TOPDIR)/dl
|
2007-09-26 23:12:38 +02:00
|
|
|
|
2009-01-27 00:52:31 +01:00
|
|
|
config BR2_COPYTO
|
|
|
|
string "Copy result to..."
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Setting this variable will (eventually) override
|
|
|
|
any other copyto configurations in buildroot.
|
|
|
|
|
2007-09-28 23:54:36 +02:00
|
|
|
source "target/device/Config.in.mirrors"
|
2007-08-28 23:42:44 +02:00
|
|
|
|
2004-12-11 11:25:40 +01:00
|
|
|
config BR2_STAGING_DIR
|
|
|
|
string "Toolchain and header file location?"
|
2009-07-31 10:31:39 +02:00
|
|
|
default "$(BASE_DIR)/staging"
|
2004-12-11 11:25:40 +01:00
|
|
|
help
|
2007-01-28 13:03:58 +01:00
|
|
|
This is the location where the toolchain will be installed. The
|
|
|
|
toolchain will not work if it is moved from this location.
|
|
|
|
Therefore, if you wish to package up a uClibc toolchain, it is
|
|
|
|
important that is is set to the final location where the toolchain
|
|
|
|
will be used.
|
2004-12-11 11:25:40 +01:00
|
|
|
|
2007-01-28 13:03:58 +01:00
|
|
|
Most people will leave this set to the default value of
|
2009-07-31 10:31:39 +02:00
|
|
|
"$(BASE_DIR)/staging".
|
2004-12-11 11:25:40 +01:00
|
|
|
|
2005-12-27 09:42:13 +01:00
|
|
|
config BR2_GNU_BUILD_SUFFIX
|
|
|
|
string "GNU build hostname suffix"
|
|
|
|
default "pc-linux-gnu"
|
|
|
|
help
|
2007-01-28 13:03:58 +01:00
|
|
|
The string used to pass to configure scripts via the
|
|
|
|
--build= option. Just specify the suffix here, the leading
|
|
|
|
arch will be filled in automatically.
|
2005-12-27 09:42:13 +01:00
|
|
|
|
2007-01-28 13:03:58 +01:00
|
|
|
Here's some copy and paste build host options for you:
|
2005-12-27 09:42:13 +01:00
|
|
|
linux: pc-linux-gnu
|
|
|
|
cygwin: pc-cygwin
|
|
|
|
os x: apple-darwin7 / apple-darwin8
|
|
|
|
|
2006-06-05 23:49:44 +02:00
|
|
|
config BR2_GNU_TARGET_SUFFIX
|
|
|
|
string "GNU target suffix"
|
2006-06-06 00:11:01 +02:00
|
|
|
default "linux-uclibcgnueabi" if BR2_ARM_EABI
|
2006-06-05 23:49:44 +02:00
|
|
|
default "linux-uclibc"
|
|
|
|
help
|
2007-01-28 13:03:58 +01:00
|
|
|
The string used to pass to configure scripts via the
|
|
|
|
--target= option. Just specify the suffix here, the leading
|
|
|
|
arch will be filled in automatically.
|
2006-06-05 23:49:44 +02:00
|
|
|
|
2007-01-28 13:03:58 +01:00
|
|
|
Most users will want to stick with the default setting, though
|
|
|
|
other users (most notably ARM EABI) like to add on to this in
|
|
|
|
order to stay in line with gcc conventions.
|
2006-06-05 23:49:44 +02:00
|
|
|
|
2007-01-28 13:03:58 +01:00
|
|
|
Default options are:
|
2006-07-04 13:44:32 +02:00
|
|
|
linux-uclibcgnueabi for ARM EABI
|
|
|
|
linux-uclibc for the rest
|
2007-10-05 13:06:56 +02:00
|
|
|
gnuhurd-uclibc for the hurd
|
2006-07-04 13:44:32 +02:00
|
|
|
|
2004-12-11 14:01:10 +01:00
|
|
|
config BR2_JLEVEL
|
|
|
|
int "Number of jobs to run simultaneously"
|
|
|
|
default "1"
|
|
|
|
help
|
2007-01-28 13:03:58 +01:00
|
|
|
Number of jobs to run simultaneously
|
|
|
|
|
|
|
|
config BR2_PREFER_IMA
|
|
|
|
bool "prefer IMA compiles"
|
|
|
|
help
|
|
|
|
Where possible, compile package with Inter Module Analysis.
|
|
|
|
This potentially uses alot of system resources on your compile
|
|
|
|
host with the benefit of creating smaller binaries for the target.
|
|
|
|
|
|
|
|
If unsure, say No.
|
|
|
|
|
|
|
|
WARNING: This is highly experimental at the moment.
|
|
|
|
|
2007-02-09 14:31:55 +01:00
|
|
|
config BR2_DEPRECATED
|
2007-02-09 14:35:41 +01:00
|
|
|
bool "Show packages that are deprecated or obsolete"
|
2007-02-09 14:31:55 +01:00
|
|
|
help
|
2007-02-09 14:35:41 +01:00
|
|
|
This option hides outdated/obsolete versions of packages.
|
2004-12-11 11:25:40 +01:00
|
|
|
|
2007-10-07 20:29:17 +02:00
|
|
|
config BR2_RECENT
|
|
|
|
bool "Show packages that are of the latest major version"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option show recent versions of packages.
|
|
|
|
|
2008-11-28 15:20:47 +01:00
|
|
|
config BR2_CONFIG_CACHE
|
|
|
|
bool "Use a central configure cache file"
|
2009-10-07 22:08:36 +02:00
|
|
|
default y
|
2008-11-28 15:20:47 +01:00
|
|
|
help
|
|
|
|
This determines if a central config cache is used by
|
|
|
|
packages, reducing the configure time for packages as each
|
|
|
|
one caches its findings.
|
|
|
|
|
2008-03-12 14:07:10 +01:00
|
|
|
config BR2_ENABLE_DEBUG
|
|
|
|
bool "build packages with debugging symbols"
|
2008-03-12 14:11:29 +01:00
|
|
|
select BR2_PACKAGE_GDB_SERVER
|
2008-03-12 14:07:10 +01:00
|
|
|
help
|
|
|
|
Build packages with debugging symbols
|
|
|
|
enabled
|
|
|
|
|
|
|
|
if BR2_ENABLE_DEBUG
|
|
|
|
choice
|
|
|
|
prompt "gcc debug level"
|
|
|
|
default BR2_DEBUG_2
|
|
|
|
help
|
|
|
|
Set the debug level for gcc
|
|
|
|
|
|
|
|
config BR2_DEBUG_1
|
|
|
|
bool "debug level 1"
|
|
|
|
help
|
2008-08-04 21:07:05 +02:00
|
|
|
Debug level 1 produces minimal information, enough
|
|
|
|
for making backtraces in parts of the program that
|
|
|
|
you don't plan to debug. This includes descriptions
|
2008-03-12 14:07:10 +01:00
|
|
|
of functions and external variables, but no information
|
|
|
|
about local variables and no line numbers.
|
|
|
|
|
|
|
|
config BR2_DEBUG_2
|
|
|
|
bool "debug level 2"
|
|
|
|
help
|
|
|
|
The default gcc debug level is 2
|
|
|
|
|
|
|
|
config BR2_DEBUG_3
|
|
|
|
bool "debug level 3"
|
|
|
|
help
|
2008-08-04 21:07:05 +02:00
|
|
|
Level 3 includes extra information, such as all the
|
2008-03-12 14:07:10 +01:00
|
|
|
macro definitions present in the program. Some debuggers
|
|
|
|
support macro expansion when you use -g3.
|
|
|
|
endchoice
|
|
|
|
endif
|
|
|
|
|
2007-07-31 20:06:50 +02:00
|
|
|
choice
|
|
|
|
prompt "strip"
|
|
|
|
default BR2_STRIP_strip
|
|
|
|
help
|
|
|
|
Select whether to strip binaries and libraries for the target
|
|
|
|
or not.
|
|
|
|
strip is the normal strip command
|
|
|
|
sstrip is a strip that discards more than the normal strip
|
|
|
|
none do not strip (only for debugging!)
|
|
|
|
|
|
|
|
config BR2_STRIP_strip
|
|
|
|
bool "strip"
|
2009-01-28 08:59:48 +01:00
|
|
|
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
2007-07-31 20:06:50 +02:00
|
|
|
help
|
|
|
|
strip is the normal strip command
|
2007-08-24 07:31:07 +02:00
|
|
|
|
2007-07-31 20:06:50 +02:00
|
|
|
config BR2_STRIP_sstrip
|
|
|
|
bool "sstrip"
|
|
|
|
select BR2_PACKAGE_SSTRIP_HOST
|
2009-01-28 07:32:39 +01:00
|
|
|
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
2007-07-31 20:06:50 +02:00
|
|
|
help
|
|
|
|
sstrip is a strip that discards more than the normal strip
|
2007-08-24 07:31:07 +02:00
|
|
|
|
2007-07-31 20:06:50 +02:00
|
|
|
config BR2_STRIP_none
|
|
|
|
bool "none"
|
|
|
|
help
|
|
|
|
none do not strip (only for debugging!)
|
|
|
|
endchoice
|
|
|
|
|
2008-03-12 14:07:10 +01:00
|
|
|
choice
|
|
|
|
prompt "gcc optimization level"
|
2008-03-16 14:26:14 +01:00
|
|
|
default BR2_OPTIMIZE_S
|
2008-03-12 12:23:11 +01:00
|
|
|
help
|
2008-03-12 14:07:10 +01:00
|
|
|
Set the optimization level for gcc
|
|
|
|
|
|
|
|
config BR2_OPTIMIZE_0
|
|
|
|
bool "optimization level 0"
|
2008-03-30 23:49:16 +02:00
|
|
|
depends on !BR2_PACKAGE_LINUX
|
2008-03-12 14:07:10 +01:00
|
|
|
help
|
2008-08-04 21:07:05 +02:00
|
|
|
Do not optimize. This is the default.
|
2008-03-12 14:07:10 +01:00
|
|
|
|
|
|
|
config BR2_OPTIMIZE_1
|
|
|
|
bool "optimization level 1"
|
2008-03-30 23:49:16 +02:00
|
|
|
depends on !BR2_PACKAGE_LINUX
|
2008-03-12 14:07:10 +01:00
|
|
|
help
|
2008-08-04 21:07:05 +02:00
|
|
|
Optimize. Optimizing compilation takes somewhat more time,
|
|
|
|
and a lot more memory for a large function. With -O, the
|
|
|
|
compiler tries to reduce code size and execution time,
|
|
|
|
without performing any optimizations that take a great deal
|
|
|
|
of compilation time. -O turns on the following optimization
|
|
|
|
flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
|
|
|
|
-fcprop-registers -floop-optimize -fif-conversion
|
|
|
|
-fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
|
|
|
|
-ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
|
2008-03-12 14:07:10 +01:00
|
|
|
-ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants
|
2008-08-04 21:07:05 +02:00
|
|
|
-O also turns on -fomit-frame-pointer on machines where doing
|
2008-03-12 14:07:10 +01:00
|
|
|
so does not interfere with debugging.
|
|
|
|
|
|
|
|
config BR2_OPTIMIZE_2
|
|
|
|
bool "optimization level 2"
|
|
|
|
help
|
|
|
|
Optimize even more. GCC performs nearly all supported optimizations
|
2008-08-04 21:07:05 +02:00
|
|
|
that do not involve a space-speed tradeoff. The compiler does not
|
|
|
|
perform loop unrolling or function inlining when you specify -O2.
|
|
|
|
As compared to -O, this option increases both compilation time and
|
|
|
|
the performance of the generated code. -O2 turns on all optimization
|
|
|
|
flags specified by -O. It also turns on the following optimization
|
|
|
|
flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls
|
|
|
|
-fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
|
|
|
|
-fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
|
|
|
|
-frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns
|
|
|
|
-fschedule-insns2 -fsched-interblock -fsched-spec -fregmove
|
|
|
|
-fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks
|
|
|
|
-freorder-functions -falign-functions -falign-jumps -falign-loops
|
2008-03-12 14:07:10 +01:00
|
|
|
-falign-labels -ftree-vrp -ftree-pre
|
|
|
|
Please note the warning under -fgcse about invoking -O2 on programs
|
|
|
|
that use computed gotos.
|
|
|
|
|
|
|
|
config BR2_OPTIMIZE_3
|
|
|
|
bool "optimization level 3"
|
|
|
|
help
|
2008-08-04 21:07:05 +02:00
|
|
|
Optimize yet more. -O3 turns on all optimizations specified by -O2
|
|
|
|
and also turns on the -finline-functions, -funswitch-loops and
|
2008-03-12 14:07:10 +01:00
|
|
|
-fgcse-after-reload options.
|
|
|
|
|
|
|
|
config BR2_OPTIMIZE_S
|
|
|
|
bool "optimize for size"
|
|
|
|
help
|
2008-08-04 21:07:05 +02:00
|
|
|
Optimize for size. -Os enables all -O2 optimizations that do not
|
2008-03-12 14:07:10 +01:00
|
|
|
typically increase code size. It also performs further optimizations
|
2008-08-04 21:07:05 +02:00
|
|
|
designed to reduce code size. -Os disables the following optimization
|
|
|
|
flags: -falign-functions -falign-jumps -falign-loops -falign-labels
|
2008-03-12 14:07:10 +01:00
|
|
|
-freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays
|
|
|
|
-ftree-vect-loop-version
|
2008-08-04 21:07:05 +02:00
|
|
|
|
2008-03-12 14:07:10 +01:00
|
|
|
endchoice
|
2008-03-12 12:23:11 +01:00
|
|
|
|
2007-06-02 00:16:28 +02:00
|
|
|
config BR2_PREFER_STATIC_LIB
|
|
|
|
bool "prefer static libraries"
|
|
|
|
help
|
2007-06-02 18:36:43 +02:00
|
|
|
Where possible, build and use static libraries for the target.
|
|
|
|
This potentially increases your code size and should only be
|
|
|
|
used if you know what you do.
|
|
|
|
The default is to build dynamic libraries and use those on
|
|
|
|
the target filesystem.
|
2007-06-02 00:16:28 +02:00
|
|
|
|
|
|
|
WARNING: This is highly experimental at the moment.
|
|
|
|
|
2007-08-21 16:20:59 +02:00
|
|
|
config BR2_HAVE_MANPAGES
|
|
|
|
bool "manpages on the target"
|
|
|
|
help
|
|
|
|
Leave the manpages on the target.
|
|
|
|
If you say n here, your target will not contain any
|
|
|
|
manpage.
|
|
|
|
|
|
|
|
config BR2_HAVE_INFOPAGES
|
|
|
|
bool "infopages on the target"
|
|
|
|
help
|
|
|
|
Leave the infopages on the target.
|
|
|
|
If you say n here, your target will not contain any
|
|
|
|
infopage.
|
|
|
|
|
2008-10-20 13:32:25 +02:00
|
|
|
config BR2_HAVE_DOCUMENTATION
|
|
|
|
bool "documentation on the target"
|
|
|
|
help
|
|
|
|
Leave the documentation on the target.
|
|
|
|
If you say n here, your target will not contain any
|
|
|
|
documentation.
|
|
|
|
|
2008-03-10 17:34:19 +01:00
|
|
|
config BR2_HAVE_DEVFILES
|
|
|
|
bool "development files in target filesystem"
|
2008-03-10 16:22:43 +01:00
|
|
|
help
|
|
|
|
Install headers and static libraries in the
|
|
|
|
target filesystem
|
|
|
|
|
2007-08-21 16:20:59 +02:00
|
|
|
source package/gnuconfig/Config.in
|
|
|
|
|
2004-12-11 14:01:10 +01:00
|
|
|
endmenu
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2007-09-25 09:55:45 +02:00
|
|
|
source "toolchain/Config.in"
|
|
|
|
|
|
|
|
source "package/Config.in"
|
|
|
|
|
|
|
|
source "target/Config.in"
|