]>
Commit | Line | Data |
---|---|---|
2d523c23 EA |
1 | # |
2 | ||
3 | mainmenu "Buildroot2 Configuration" | |
4 | ||
5 | config BR2_HAVE_DOT_CONFIG | |
6 | bool | |
7 | default y | |
8 | ||
9 | choice | |
10 | prompt "Target Architecture" | |
11 | default BR2_i386 | |
12 | help | |
13 | Stuff | |
14 | ||
e763ae97 MF |
15 | config BR2_alpha |
16 | bool "alpha" | |
2d523c23 EA |
17 | config BR2_arm |
18 | bool "arm" | |
2d523c23 EA |
19 | config BR2_armeb |
20 | bool "armeb" | |
2d523c23 EA |
21 | config BR2_cris |
22 | bool "cris" | |
2d523c23 EA |
23 | config BR2_i386 |
24 | bool "i386" | |
2d523c23 EA |
25 | config BR2_m68k |
26 | bool "m68k" | |
2d523c23 EA |
27 | config BR2_mips |
28 | bool "mips" | |
2d523c23 EA |
29 | config BR2_mipsel |
30 | bool "mipsel" | |
e420a887 MF |
31 | config BR2_nios2 |
32 | bool "nios2" | |
2d523c23 EA |
33 | config BR2_powerpc |
34 | bool "powerpc" | |
c5564f7b | 35 | config BR2_sh |
b10bfad6 PM |
36 | bool "superh" |
37 | config BR2_sh64 | |
38 | bool "superh64" | |
c5564f7b PM |
39 | config BR2_sparc |
40 | bool "sparc" | |
e763ae97 MF |
41 | config BR2_x86_64 |
42 | bool "x86_64" | |
c5564f7b PM |
43 | endchoice |
44 | ||
45 | # | |
c3c100b6 | 46 | # Keep the variants separate, there's no need to clutter everything else. |
c5564f7b PM |
47 | # sh is fairly "special" in this regard, as virtually everyone else has |
48 | # things kept down to a _sensible_ number of target variants. No such | |
49 | # luck for sh.. | |
50 | # | |
679fd2f9 MF |
51 | choice |
52 | prompt "Target Architecture Variant" | |
53 | depends BR2_arm || BR2_armeb | |
54 | default BR2_generic_arm | |
55 | config BR2_generic_arm | |
56 | bool "generic_arm" | |
57 | config BR2_arm610 | |
58 | bool "arm610" | |
59 | config BR2_arm710 | |
60 | bool "arm710" | |
61 | config BR2_arm720t | |
62 | bool "arm720t" | |
63 | config BR2_arm920t | |
64 | bool "arm920t" | |
65 | config BR2_arm922t | |
66 | bool "arm922t" | |
67 | config BR2_arm926t | |
68 | bool "arm926t" | |
69 | config BR2_arm1136jf_s | |
70 | bool "arm1136jf_s" | |
71 | config BR2_sa110 | |
72 | bool "sa110" | |
73 | config BR2_sa1100 | |
74 | bool "sa1100" | |
75 | config BR2_xscale | |
76 | bool "xscale" | |
77 | endchoice | |
78 | ||
79 | config BR2_ARM_TYPE | |
80 | string | |
81 | default ARM610 if BR2_arm610 | |
82 | default ARM710 if BR2_arm710 | |
83 | default ARM720T if BR2_arm720t | |
84 | default ARM920T if BR2_arm920t | |
85 | default ARM922T if BR2_arm922t | |
86 | default ARM926T if BR2_arm926t | |
87 | default ARM1136JF_S if BR2_arm1136jf_s | |
88 | default ARM_SA110 if BR2_sa110 | |
89 | default ARM_SA1100 if BR2_sa1100 | |
90 | default ARM_XSCALE if BR2_xscale | |
91 | default GENERIC_ARM if BR2_generic_arm | |
92 | ||
61aa805b PM |
93 | choice |
94 | prompt "Target ABI" | |
95 | depends BR2_arm || BR2_armeb | |
96 | default BR2_ARM_OABI | |
97 | config BR2_ARM_OABI | |
98 | bool "OABI" | |
99 | config BR2_ARM_EABI | |
100 | bool "EABI" | |
101 | endchoice | |
102 | ||
c5564f7b PM |
103 | choice |
104 | prompt "Target Architecture Variant" | |
105 | depends BR2_sh | |
106 | default BR2_sh4 | |
c5564f7b PM |
107 | config BR2_sh2a_nofpueb |
108 | bool "sh2a_nofpueb" | |
d66db536 PM |
109 | config BR2_sh2eb |
110 | bool "sh2eb" | |
070e7c14 EA |
111 | config BR2_sh3 |
112 | bool "sh3" | |
070e7c14 EA |
113 | config BR2_sh3eb |
114 | bool "sh3eb" | |
070e7c14 | 115 | config BR2_sh4 |
2d523c23 | 116 | bool "sh4" |
070e7c14 EA |
117 | config BR2_sh4eb |
118 | bool "sh4eb" | |
6212c19a | 119 | endchoice |
070e7c14 | 120 | |
6212c19a MF |
121 | # |
122 | # gcc builds libstdc++ differently depending on the | |
123 | # host tuplet given to it, so let people choose | |
124 | # | |
125 | choice | |
126 | prompt "Target Architecture Variant" | |
127 | depends BR2_i386 | |
128 | default BR2_x86_i686 | |
129 | config BR2_x86_i386 | |
130 | bool "i386" | |
131 | config BR2_x86_i486 | |
132 | bool "i486" | |
133 | config BR2_x86_i586 | |
134 | bool "i586" | |
135 | config BR2_x86_i686 | |
136 | bool "i686" | |
2d523c23 EA |
137 | endchoice |
138 | ||
139 | config BR2_ARCH | |
140 | string | |
e763ae97 | 141 | default "alpha" if BR2_alpha |
c5564f7b PM |
142 | default "arm" if BR2_arm |
143 | default "armeb" if BR2_armeb | |
144 | default "cris" if BR2_cris | |
6212c19a MF |
145 | default "i386" if BR2_x86_i386 |
146 | default "i486" if BR2_x86_i486 | |
147 | default "i586" if BR2_x86_i586 | |
148 | default "i686" if BR2_x86_i686 | |
c5564f7b PM |
149 | default "m68k" if BR2_m68k |
150 | default "mips" if BR2_mips | |
151 | default "mipsel" if BR2_mipsel | |
e420a887 | 152 | default "nios2" if BR2_nios2 |
c5564f7b PM |
153 | default "powerpc" if BR2_powerpc |
154 | default "sh2a_nofpueb" if BR2_sh2a_nofpueb | |
d66db536 | 155 | default "sh2eb" if BR2_sh2eb |
c5564f7b PM |
156 | default "sh3" if BR2_sh3 |
157 | default "sh3eb" if BR2_sh3eb | |
158 | default "sh4" if BR2_sh4 | |
159 | default "sh4eb" if BR2_sh4eb | |
b10bfad6 | 160 | default "sh64" if BR2_sh64 |
c5564f7b | 161 | default "sparc" if BR2_sparc |
e763ae97 MF |
162 | default "x86_64" if BR2_x86_64 |
163 | ||
164 | config BR2_ENDIAN | |
165 | string | |
166 | default "LITTLE" if BR2_arm || BR2_cris || BR2_i386 || BR2_mipsel || \ | |
b10bfad6 PM |
167 | BR2_sh3 || BR2_sh4 || BR2_x86_64 || BR2_nios2 || \ |
168 | BR2_sh64 | |
e763ae97 MF |
169 | default "BIG" if BR2_alpha || BR2_armeb || BR2_m68k || BR2_mips || \ |
170 | BR2_powerpc || BR2_sh2a_nofpueb || BR2_sh2eb || \ | |
171 | BR2_sh3eb || BR2_sh4eb || BR2_sparc | |
2d523c23 | 172 | |
8e5fb3fb EA |
173 | menu "Build options" |
174 | ||
2d523c23 | 175 | config BR2_WGET |
8e5fb3fb | 176 | string "Wget command" |
fb1c67c1 | 177 | default "wget --passive-ftp -nd" |
2d523c23 | 178 | |
e30cf26c | 179 | config BR2_SVN |
e4de8b2f | 180 | string "Subversion (svn) checkout command" |
229a7784 | 181 | default "svn co" |
e30cf26c | 182 | |
859b9137 BRF |
183 | config BR2_ZCAT |
184 | string "zcat command" | |
185 | default "zcat" | |
186 | help | |
187 | Command to be used to extract a gzip'ed file to stdout. | |
188 | zcat is identical to gunzip -c except that the former may | |
189 | not be available on your system. | |
190 | Default is "zcat" | |
191 | Other possible values include "gunzip -c" | |
192 | ||
ce90aae1 BRF |
193 | config BR2_TAR_OPTIONS |
194 | string "Tar options" | |
7df4de6c BRF |
195 | default "" |
196 | help | |
197 | Options to pass to tar when extracting the sources. | |
198 | E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files | |
199 | and to be verbose. | |
ce90aae1 | 200 | |
59a63a91 MF |
201 | config BR2_DL_DIR |
202 | string "Download dir" | |
203 | default "$(BASE_DIR)/dl" | |
204 | help | |
205 | Directory to store all the source files that we need to fetch. | |
206 | ||
1d63e8a8 | 207 | config BR2_SOURCEFORGE_MIRROR |
e4de8b2f | 208 | string "Sourceforge mirror site" |
0deb9d14 | 209 | default "easynews" |
1d63e8a8 EA |
210 | help |
211 | Sourceforge has a system of mirror sites. Some sites may be closer | |
212 | to your location, and sometimes mirror sites go down and are no longer | |
213 | available. This option allows you to select your preferred Sourceforge | |
214 | mirror site. | |
215 | ||
e4de8b2f MF |
216 | The list of mirrors is available here: |
217 | http://prdownloads.sourceforge.net/index-sf.html?download | |
218 | ||
ba7c48f3 EA |
219 | config BR2_STAGING_DIR |
220 | string "Toolchain and header file location?" | |
221 | default "$(BUILD_DIR)/staging_dir" | |
222 | help | |
de23d7d1 EA |
223 | This is the location where the toolchain will be installed. The |
224 | toolchain will not work if it is moved from this location. | |
225 | Therefore, if you wish to package up a uClibc toolchain, it is | |
226 | important that is is set to the final location where the toolchain | |
227 | will be used. | |
ba7c48f3 EA |
228 | |
229 | Most people will leave this set to the default value of | |
230 | "$(BUILD_DIR)/staging_dir". | |
231 | ||
e4de8b2f MF |
232 | config BR2_TOPDIR_PREFIX |
233 | string "Custom build dir prefix" | |
234 | default "" | |
235 | help | |
236 | Add a custom string to the beginning of the build directories. | |
237 | ||
238 | build_ARCH -> [PREFIX]_build_ARCH | |
239 | toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH | |
240 | ||
241 | config BR2_TOPDIR_SUFFIX | |
242 | string "Custom build dir suffix" | |
243 | default "" | |
244 | help | |
245 | Add a custom string to the end of the build directories. | |
246 | ||
247 | build_ARCH -> build_ARCH_[SUFFIX] | |
248 | toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX] | |
249 | ||
70ea98ef MF |
250 | config BR2_GNU_BUILD_SUFFIX |
251 | string "GNU build hostname suffix" | |
252 | default "pc-linux-gnu" | |
253 | help | |
254 | The string used to pass to configure scripts via the | |
255 | --build= option. Just specify the suffix here, the leading | |
256 | arch will be filled in automatically. | |
257 | ||
258 | Here's some copy and paste build host options for you: | |
259 | linux: pc-linux-gnu | |
260 | cygwin: pc-cygwin | |
261 | os x: apple-darwin7 / apple-darwin8 | |
262 | ||
d56e2b34 PM |
263 | config BR2_GNU_TARGET_SUFFIX |
264 | string "GNU target suffix" | |
61aa805b | 265 | default "linux-uclibcgnueabi" if BR2_ARM_EABI |
d56e2b34 PM |
266 | default "linux-uclibc" |
267 | help | |
268 | The string used to pass to configure scripts via the | |
269 | --target= option. Just specify the suffix here, the leading | |
270 | arch will be filled in automatically. | |
271 | ||
272 | Most users will want to stick with the default setting, though | |
273 | other users (most notably ARM EABI) like to add on to this in | |
274 | order to stay in line with gcc conventions. | |
275 | ||
c3c100b6 BRF |
276 | Default options are: |
277 | linux-uclibcgnueabi for ARM EABI | |
278 | linux-uclibc for the rest | |
279 | ||
8e5fb3fb EA |
280 | config BR2_JLEVEL |
281 | int "Number of jobs to run simultaneously" | |
282 | default "1" | |
283 | help | |
c3c100b6 | 284 | Number of jobs to run simultaneously |
ba7c48f3 | 285 | |
8e5fb3fb | 286 | endmenu |
2d523c23 EA |
287 | |
288 | source "toolchain/Config.in" | |
289 | ||
290 | source "package/Config.in" | |
291 | ||
4c4768b2 | 292 | source "target/Config.in" |