build system cleanup. move shared include files into $(TOPDIR)/include, move lzma...
[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_6_RB532
47         bool "Mikrotik RB532 [2.6]"
48         select mipsel
49         select LINUX_2_6
50         select PCI_SUPPORT
51
52 config LINUX_2_4_AR7
53         bool "TI AR7 [2.4]"
54         select mipsel
55         help
56           Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
57
58 config LINUX_2_4_X86
59         bool "x86 [2.4]"
60         select i386
61         select LINUX_2_4
62         select PCMCIA_SUPPORT
63         help
64           Build firmware images for x86 based boards
65           (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
66
67 config LINUX_2_6_X86
68         bool "x86 [2.6]"
69         select i386
70         select LINUX_2_6
71         select PCMCIA_SUPPORT
72         help
73           Build firmware images for x86 based boards
74           (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
75
76 config LINUX_2_6_AU1000
77         bool "au1000 [2.6]"
78         select mipsel
79         select LINUX_2_6
80         select PCMCIA_SUPPORT
81         help
82           Build firmware for AMD Alchemy 1500 boards
83           (e.g. 4G-Systems Mesh/Access Cube ...)
84
85 if DEVEL
86
87 config LINUX_2_6_ARM
88         bool "UNSUPPORTED little-endian arm platform"
89         select LINUX_2_6
90         select arm
91
92 config LINUX_2_6_ARMEB
93         bool "UNSUPPORTED big-endian arm platform"
94         select LINUX_2_6
95         select BIG_ENDIAN
96         select armeb
97
98 config LINUX_2_6_CRIS
99         bool "UNSUPPORTED cris platform"
100         select LINUX_2_6
101         select cris
102
103 config LINUX_2_6_M68K
104         bool "UNSUPPORTED m68k platform"
105         select LINUX_2_6
106         select m68k
107
108 config LINUX_2_6_PPC
109         bool "UNSUPPORTED powerpc platform"
110         select LINUX_2_6
111         select BIG_ENDIAN
112         select powerpc
113
114 config LINUX_2_6_SH3
115         bool "UNSUPPORTED little-endian sh3 platform"
116         select LINUX_2_6
117         select sh3
118
119 config LINUX_2_6_SH3EB
120         bool "UNSUPPORTED big-endian sh3 platform"
121         select LINUX_2_6
122         select BIG_ENDIAN
123         select sh3eb
124
125 config LINUX_2_6_SH4
126         bool "UNSUPPORTED little-endian sh4 platform"
127         select LINUX_2_6
128         select sh4
129
130 config LINUX_2_6_SH4EB
131         bool "UNSUPPORTED big-endian sh4 platform"
132         select LINUX_2_6
133         select BIG_ENDIAN
134         select sh4eb
135
136 config LINUX_2_6_SPARC
137         bool "UNSUPPORTED sparc platform"
138         select LINUX_2_6
139         select BIG_ENDIAN
140         select sparc
141
142 endif
143
144 endchoice
145
146
147 # Kernel/Hardware features
148
149 config LINUX_2_4
150         bool
151
152 config LINUX_2_6
153         bool
154
155 config PCI_SUPPORT
156         bool
157
158 config PCMCIA_SUPPORT
159         bool
160
161 config BIG_ENDIAN
162         bool
163
164 # Architecture selection
165
166 config i386
167         bool
168         
169 config mips
170         bool
171
172 config mipsel
173         bool
174
175 config arm
176         bool
177
178 config armeb
179         bool
180
181 config cris
182         bool
183
184 config m68k
185         bool
186
187 config powerpc
188         bool
189
190 config sh3
191         bool
192
193 config sh3eb
194         bool
195
196 config sh4
197         bool
198
199 config sh4eb
200         bool
201
202 config sparc
203         bool
204
205 config ARCH
206         string
207         default "arm"     if arm
208         default "armeb"   if armeb
209         default "cris"    if cris
210         default "i386"    if i386
211         default "m68k"    if m68k
212         default "mips"    if mips
213         default "mipsel"  if mipsel || !DEVEL
214         default "powerpc" if powerpc
215         default "sh3"     if sh3
216         default "sh3eb"   if sh3eb
217         default "sh4"     if sh4
218         default "sh4eb"   if sh4eb
219         default "sparc"   if sparc
220
221