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