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