introduce USB_SUPPORT, clean up some dependencies
[openwrt.git] / target / Config.in
1 choice
2         prompt "Target System"
3         default LINUX_2_4_BRCM
4         
5 config LINUX_2_6_AU1000
6         bool "AMD Alchemy AUxx [2.6]"
7         select mipsel
8         select LINUX_2_6
9         select PCI_SUPPORT
10         select USB_SUPPORT
11         help
12           Build firmware for AMD Alchemy 1500 boards
13           (e.g. 4G-Systems Mesh/Access Cube ...)
14
15 config LINUX_2_6_ARUBA
16         bool "Aruba [2.6]"
17         select mips
18         select LINUX_2_6
19         select PCI_SUPPORT
20         select USB_SUPPORT
21         select BIG_ENDIAN
22         help
23           Build firmware images for Aruba boards 
24
25 config LINUX_2_4_AR531X
26         bool "Atheros AR531x [2.4]"
27         depends BROKEN
28         select mips
29         select LINUX_2_4
30         select BIG_ENDIAN
31         help
32           Build firmware images for Atheros AR531x based boards
33           (e.g. Netgear WGT624, Linksys WRT55AG)
34
35 config LINUX_2_4_BRCM
36         bool "Broadcom BCM47xx/53xx [2.4]"
37         select mipsel
38         select PCI_SUPPORT
39         select USB_SUPPORT
40         select PCMCIA_SUPPORT
41         help
42           Build firmware images for Broadcom based routers
43           (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
44           
45           This one builds the generic .trx images, activate one of the
46           options below for creating device specific files for use 
47           with TFTP client too. 
48
49 config LINUX_2_6_BRCM
50         bool "Broadcom BCM47xx/53xx [2.6]"
51         select mipsel
52         select LINUX_2_6
53         select PCI_SUPPORT
54         select USB_SUPPORT
55         #select PCMCIA_SUPPORT
56         help
57           Build firmware images for Broadcom based routers
58           (e.g. Netgear WGT634u)
59
60 config LINUX_2_6_BRCM63XX
61         bool "Broadcom BCM63xx [2.6]"
62         depends BROKEN
63         select mips
64         select LINUX_2_6
65         select PCI_SUPPORT
66         select USB_SUPPORT
67         select PCMCIA_SUPPORT
68         help
69           Build firmware images for Broadcom based xDSL/routers
70           (e.g. Inventel Livebox, Siemens SE515)
71
72 config LINUX_2_6_XSCALE
73         bool "Intel XScale [2.6]"
74         select armeb
75         select LINUX_2_6
76         select BIG_ENDIAN
77         select PCI_SUPPORT
78         select USB_SUPPORT
79
80 config LINUX_2_6_MAGICBOX
81         bool "Magicbox [2.6]"
82         depends BROKEN
83         select powerpc
84         select LINUX_2_6
85         select BIG_ENDIAN
86         select PCI_SUPPORT
87
88 config LINUX_2_6_RB532
89         bool "Mikrotik RB532 [2.6]"
90         select mipsel
91         select LINUX_2_6
92         select PCI_SUPPORT
93
94 config LINUX_2_4_AR7
95         bool "TI AR7 [2.4]"
96         select mipsel
97         help
98           Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
99
100 config LINUX_2_4_X86
101         bool "x86 [2.4]"
102         select i386
103         select LINUX_2_4
104         select PCI_SUPPORT
105         select USB_SUPPORT
106         select PCMCIA_SUPPORT
107         help
108           Build firmware images for x86 based boards
109           (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
110
111 config LINUX_2_6_X86
112         bool "x86 [2.6]"
113         select i386
114         select LINUX_2_6
115         select PCI_SUPPORT
116         select USB_SUPPORT
117         select PCMCIA_SUPPORT
118         help
119           Build firmware images for x86 based boards
120           (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
121
122 config LINUX_2_6_UML
123         bool "x86 [uml]"
124         select i386
125         select LINUX_2_6
126         help
127           Build uml targetted images
128
129 if DEVEL
130
131 config LINUX_2_6_ARM
132         bool "UNSUPPORTED little-endian arm platform"
133         depends BROKEN
134         select LINUX_2_6
135         select arm
136
137 config LINUX_2_6_CRIS
138         bool "UNSUPPORTED cris platform"
139         depends BROKEN
140         select LINUX_2_6
141         select cris
142
143 config LINUX_2_6_M68K
144         bool "UNSUPPORTED m68k platform"
145         depends BROKEN
146         select LINUX_2_6
147         select m68k
148
149 config LINUX_2_6_SH3
150         bool "UNSUPPORTED little-endian sh3 platform"
151         depends BROKEN
152         select LINUX_2_6
153         select sh3
154
155 config LINUX_2_6_SH3EB
156         bool "UNSUPPORTED big-endian sh3 platform"
157         depends BROKEN
158         select LINUX_2_6
159         select BIG_ENDIAN
160         select sh3eb
161
162 config LINUX_2_6_SH4
163         bool "UNSUPPORTED little-endian sh4 platform"
164         depends BROKEN
165         select LINUX_2_6
166         select sh4
167
168 config LINUX_2_6_SH4EB
169         bool "UNSUPPORTED big-endian sh4 platform"
170         depends BROKEN
171         select LINUX_2_6
172         select BIG_ENDIAN
173         select sh4eb
174
175 config LINUX_2_6_SPARC
176         bool "UNSUPPORTED sparc platform"
177         depends BROKEN
178         select LINUX_2_6
179         select BIG_ENDIAN
180         select sparc
181
182 endif
183
184 endchoice
185
186
187 # Kernel/Hardware features
188
189 config LINUX_2_4
190         bool
191
192 config LINUX_2_6
193         bool
194
195 config PCI_SUPPORT
196         bool
197
198 config PCMCIA_SUPPORT
199         bool
200
201 config USB_SUPPORT
202         bool
203
204 config BIG_ENDIAN
205         bool
206
207 # Architecture selection
208
209 config i386
210         bool
211         
212 config mips
213         bool
214
215 config mipsel
216         bool
217
218 config arm
219         bool
220
221 config armeb
222         bool
223
224 config cris
225         bool
226
227 config m68k
228         bool
229
230 config powerpc
231         bool
232
233 config sh3
234         bool
235
236 config sh3eb
237         bool
238
239 config sh4
240         bool
241
242 config sh4eb
243         bool
244
245 config sparc
246         bool
247
248 config ARCH
249         string
250         default "arm"     if arm
251         default "armeb"   if armeb
252         default "cris"    if cris
253         default "i386"    if i386
254         default "m68k"    if m68k
255         default "mips"    if mips
256         default "mipsel"  if mipsel || !DEVEL
257         default "powerpc" if powerpc
258         default "sh3"     if sh3
259         default "sh3eb"   if sh3eb
260         default "sh4"     if sh4
261         default "sh4eb"   if sh4eb
262         default "sparc"   if sparc
263
264