blob: 17b1d503e87ff3e5e303b260260ad882fe8e12ec [file] [log] [blame]
Eric Andersen2d523c22004-10-09 01:06:03 +00001#
2
3mainmenu "Buildroot2 Configuration"
4
5config BR2_HAVE_DOT_CONFIG
6 bool
7 default y
8
Bernhard Reutner-Fischerf5b8cd42007-09-25 11:37:31 +00009config BR2_VERSION
10 string
11 default "0.10.0-svn"
12
Bernhard Reutner-Fischerbb9e6a72007-09-28 21:54:36 +000013source "target/Config.in.arch"
Bernhard Reutner-Fischer4b0d5a82007-09-26 21:12:38 +000014source "target/device/Config.in"
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +000015
Eric Andersen8e5fb3f2004-12-11 13:01:10 +000016menu "Build options"
17
Eric Andersen2d523c22004-10-09 01:06:03 +000018config BR2_WGET
Eric Andersen8e5fb3f2004-12-11 13:01:10 +000019 string "Wget command"
Eric Andersenfb1c67c2004-10-15 07:11:54 +000020 default "wget --passive-ftp -nd"
Eric Andersen2d523c22004-10-09 01:06:03 +000021
Bernhard Reutner-Fischerc76e2a92007-09-19 20:22:58 +000022config BR2_SVN_CO
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +000023 string "Subversion (svn) command to download source tree"
Eric Andersen229a7782005-06-09 09:50:11 +000024 default "svn co"
Eric Andersene30cf262005-01-23 11:20:30 +000025
Bernhard Reutner-Fischerc76e2a92007-09-19 20:22:58 +000026config BR2_SVN_UP
27 string "Subversion (svn) command to update source tree"
28 default "svn up"
29
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +000030config BR2_GIT
31 string "Git command to download source tree"
32 default "git clone"
33
Bernhard Reutner-Fischer859b9132006-10-01 15:07:45 +000034config BR2_ZCAT
35 string "zcat command"
Bernhard Reutner-Fischera9612bf2007-03-09 08:26:10 +000036 default "gzip -d -c"
Bernhard Reutner-Fischer859b9132006-10-01 15:07:45 +000037 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.
Bernhard Reutner-Fischera9612bf2007-03-09 08:26:10 +000041 Default is "gzip -d -c"
42 Other possible values include "gunzip -c" or "zcat".
Bernhard Reutner-Fischer6e2823c2006-11-17 15:43:51 +000043
44config 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".
Bernhard Reutner-Fischer859b9132006-10-01 15:07:45 +000053
Bernhard Reutner-Fischerce90aae2005-12-10 14:59:02 +000054config BR2_TAR_OPTIONS
55 string "Tar options"
Bernhard Reutner-Fischer7df4de62005-12-10 15:36:43 +000056 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.
Bernhard Reutner-Fischerce90aae2005-12-10 14:59:02 +000061
Mike Frysinger59a63a92005-10-01 00:35:24 +000062config 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.
Ulf Samuelsson67050e12007-08-21 01:28:12 +000067 If the Linux shell environment has defined the BUILDROOT_DL_DIR
68 environment variable, then this overrides this configuration item.
Mike Frysinger59a63a92005-10-01 00:35:24 +000069
Bernhard Reutner-Fischer4b0d5a82007-09-26 21:12:38 +000070 The default is $(BASE_DIR)/dl
71
Bernhard Reutner-Fischerbb9e6a72007-09-28 21:54:36 +000072source "target/device/Config.in.mirrors"
Bernhard Reutner-Fischer98a7a4c2007-08-28 21:42:44 +000073
Eric Andersenba7c48f2004-12-11 10:25:40 +000074config BR2_STAGING_DIR
75 string "Toolchain and header file location?"
76 default "$(BUILD_DIR)/staging_dir"
77 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +000078 This is the location where the toolchain will be installed. The
79 toolchain will not work if it is moved from this location.
80 Therefore, if you wish to package up a uClibc toolchain, it is
81 important that is is set to the final location where the toolchain
82 will be used.
Eric Andersenba7c48f2004-12-11 10:25:40 +000083
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +000084 Most people will leave this set to the default value of
85 "$(BUILD_DIR)/staging_dir".
Eric Andersenba7c48f2004-12-11 10:25:40 +000086
Ulf Samuelsson3c273912007-10-18 12:38:26 +000087config BR2_FPU_SUFFIX
88 bool "Add '_nofpu' suffix for softfloat toolchains"
89 default n
90 help
91 If the toolchain is configured to use softfloat, then
92 the "_nofpu" suffix will be added to the toolchain build
93 directory name and to any rootfs image name
94
Mike Frysingere4de8b22005-09-18 04:41:57 +000095config BR2_TOPDIR_PREFIX
96 string "Custom build dir prefix"
97 default ""
98 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +000099 Add a custom string to the beginning of the build directories.
Mike Frysingere4de8b22005-09-18 04:41:57 +0000100
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000101 build_ARCH -> [PREFIX]_build_ARCH
102 toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
Mike Frysingere4de8b22005-09-18 04:41:57 +0000103
104config BR2_TOPDIR_SUFFIX
105 string "Custom build dir suffix"
106 default ""
107 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000108 Add a custom string to the end of the build directories.
Mike Frysingere4de8b22005-09-18 04:41:57 +0000109
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000110 build_ARCH -> build_ARCH_[SUFFIX]
Bernhard Reutner-Fischer98a7a4c2007-08-28 21:42:44 +0000111 toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
Mike Frysingere4de8b22005-09-18 04:41:57 +0000112
Ulf Samuelsson79d42d32007-10-07 18:23:01 +0000113config BR2_ROOTFS_PREFIX
114 string "Custom root fs prefix"
115 default "rootfs"
116 help
117 Add a custom string to the beginning of the root file system name.
118
119config BR2_ROOTFS_SUFFIX
120 string "Custom root fs suffix"
121 default "$(DATE)" if BR2_TARGET_ATMEL
122 default "" if !BR2_TARGET_ATMEL
123 help
124 Add a custom string to the end of the root file system name.
125
Mike Frysinger70ea98e2005-12-27 08:42:13 +0000126config BR2_GNU_BUILD_SUFFIX
127 string "GNU build hostname suffix"
128 default "pc-linux-gnu"
129 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000130 The string used to pass to configure scripts via the
131 --build= option. Just specify the suffix here, the leading
132 arch will be filled in automatically.
Mike Frysinger70ea98e2005-12-27 08:42:13 +0000133
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000134 Here's some copy and paste build host options for you:
Mike Frysinger70ea98e2005-12-27 08:42:13 +0000135 linux: pc-linux-gnu
136 cygwin: pc-cygwin
137 os x: apple-darwin7 / apple-darwin8
138
Paul Mundtd56e2b32006-06-05 21:49:44 +0000139config BR2_GNU_TARGET_SUFFIX
140 string "GNU target suffix"
Paul Mundt61aa8052006-06-05 22:11:01 +0000141 default "linux-uclibcgnueabi" if BR2_ARM_EABI
Paul Mundtd56e2b32006-06-05 21:49:44 +0000142 default "linux-uclibc"
143 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000144 The string used to pass to configure scripts via the
145 --target= option. Just specify the suffix here, the leading
146 arch will be filled in automatically.
Paul Mundtd56e2b32006-06-05 21:49:44 +0000147
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000148 Most users will want to stick with the default setting, though
149 other users (most notably ARM EABI) like to add on to this in
150 order to stay in line with gcc conventions.
Paul Mundtd56e2b32006-06-05 21:49:44 +0000151
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000152 Default options are:
Bernhard Reutner-Fischerc3c100b2006-07-04 11:44:32 +0000153 linux-uclibcgnueabi for ARM EABI
154 linux-uclibc for the rest
Bernhard Reutner-Fischer0c16c172007-10-05 11:06:56 +0000155 gnuhurd-uclibc for the hurd
Bernhard Reutner-Fischerc3c100b2006-07-04 11:44:32 +0000156
Eric Andersen8e5fb3f2004-12-11 13:01:10 +0000157config BR2_JLEVEL
158 int "Number of jobs to run simultaneously"
159 default "1"
160 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000161 Number of jobs to run simultaneously
162
163config BR2_PREFER_IMA
164 bool "prefer IMA compiles"
165 default n
166 help
167 Where possible, compile package with Inter Module Analysis.
168 This potentially uses alot of system resources on your compile
169 host with the benefit of creating smaller binaries for the target.
170
171 If unsure, say No.
172
173 WARNING: This is highly experimental at the moment.
174
Bernhard Reutner-Fischer7779fd72007-02-09 13:31:55 +0000175config BR2_DEPRECATED
Bernhard Reutner-Fischer5e1f0342007-02-09 13:35:41 +0000176 bool "Show packages that are deprecated or obsolete"
Bernhard Reutner-Fischer7779fd72007-02-09 13:31:55 +0000177 default n
178 help
Bernhard Reutner-Fischer5e1f0342007-02-09 13:35:41 +0000179 This option hides outdated/obsolete versions of packages.
Eric Andersenba7c48f2004-12-11 10:25:40 +0000180
Ulf Samuelssoncfeb86e2007-10-07 18:29:17 +0000181config BR2_RECENT
182 bool "Show packages that are of the latest major version"
183 default y
184 help
185 This option show recent versions of packages.
186
Bernhard Reutner-Fischerbbd251a2007-07-31 18:06:50 +0000187choice
188 prompt "strip"
189 default BR2_STRIP_strip
190 help
191 Select whether to strip binaries and libraries for the target
192 or not.
193 strip is the normal strip command
194 sstrip is a strip that discards more than the normal strip
195 none do not strip (only for debugging!)
196
197config BR2_STRIP_strip
198 bool "strip"
199 help
200 strip is the normal strip command
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +0000201
Bernhard Reutner-Fischerbbd251a2007-07-31 18:06:50 +0000202config BR2_STRIP_sstrip
203 bool "sstrip"
204 select BR2_PACKAGE_SSTRIP_HOST
205 help
206 sstrip is a strip that discards more than the normal strip
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +0000207
Bernhard Reutner-Fischerbbd251a2007-07-31 18:06:50 +0000208config BR2_STRIP_none
209 bool "none"
210 help
211 none do not strip (only for debugging!)
212endchoice
213
Bernhard Reutner-Fischer3096f342007-06-01 22:16:28 +0000214config BR2_PREFER_STATIC_LIB
215 bool "prefer static libraries"
216 default n
217 help
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000218 Where possible, build and use static libraries for the target.
219 This potentially increases your code size and should only be
220 used if you know what you do.
221 The default is to build dynamic libraries and use those on
222 the target filesystem.
Bernhard Reutner-Fischer3096f342007-06-01 22:16:28 +0000223
224 WARNING: This is highly experimental at the moment.
225
Bernhard Reutner-Fischer57959312007-08-21 14:20:59 +0000226config BR2_HAVE_MANPAGES
227 bool "manpages on the target"
228 default n
229 help
230 Leave the manpages on the target.
231 If you say n here, your target will not contain any
232 manpage.
233
234config BR2_HAVE_INFOPAGES
235 bool "infopages on the target"
236 default n
237 help
238 Leave the infopages on the target.
239 If you say n here, your target will not contain any
240 infopage.
241
John Voltzbc67ca22008-03-10 15:22:43 +0000242config BR2_TARGET_DEV_FILES
243 bool "Development files in target filesystem"
244 default n
245 help
246 Install headers and static libraries in the
247 target filesystem
248
Bernhard Reutner-Fischer57959312007-08-21 14:20:59 +0000249source package/gnuconfig/Config.in
250
Eric Andersen8e5fb3f2004-12-11 13:01:10 +0000251endmenu
Eric Andersen2d523c22004-10-09 01:06:03 +0000252
Bernhard Reutner-Fischer50100392007-09-25 07:55:45 +0000253source "toolchain/Config.in"
254
255source "package/Config.in"
256
257source "target/Config.in"