upgrade madwifi-ng to r1394-20060113
[openwrt.git] / openwrt / target / linux / generic-2.6 / modules.mk
1 include ../netfilter.mk
2
3 # Networking
4
5 $(eval $(call KMOD_template,ATM,atm,\
6 $(MODULES_DIR)/kernel/net/atm/atm.ko \
7 $(MODULES_DIR)/kernel/net/atm/br2684.ko \
8 $(MODULES_DIR)/kernel/drivers/atm/atmtcp.ko \
9 ,CONFIG_ATM,,50,atm))
10
11 $(eval $(call KMOD_template,GRE,gre,\
12 $(MODULES_DIR)/kernel/net/ipv4/ip_gre.ko \
13 ,CONFIG_NET_IPGRE))
14
15 $(eval $(call KMOD_template,IMQ,imq,\
16 $(MODULES_DIR)/kernel/net/*/netfilter/*IMQ*.ko \
17 $(MODULES_DIR)/kernel/drivers/net/imq.ko \
18 ))
19
20 $(eval $(call KMOD_template,IPV6,ipv6,\
21 $(MODULES_DIR)/kernel/net/ipv6/ipv6.ko \
22 ,CONFIG_IPV6,,20,ipv6))
23
24 $(eval $(call KMOD_template,PPP,ppp,\
25 $(MODULES_DIR)/kernel/drivers/net/ppp_async.ko \
26 $(MODULES_DIR)/kernel/drivers/net/ppp_generic.ko \
27 $(MODULES_DIR)/kernel/drivers/net/slhc.ko \
28 ,CONFIG_PPP))
29
30 #$(eval $(call KMOD_template,MPPE,mppe,\
31 # $(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.ko \
32 #,CONFIG_PPP_MPPE_MPPC))
33
34 $(eval $(call KMOD_template,PPPOATM,pppoatm,\
35 $(MODULES_DIR)/kernel/net/atm/pppoatm.ko \
36 ,CONFIG_PPPOATM))
37
38 $(eval $(call KMOD_template,PPPOE,pppoe,\
39 $(MODULES_DIR)/kernel/drivers/net/pppoe.ko \
40 $(MODULES_DIR)/kernel/drivers/net/pppox.ko \
41 ,CONFIG_PPPOE))
42
43 $(eval $(call KMOD_template,SCHED,sched,\
44 $(MODULES_DIR)/kernel/net/sched/*.ko \
45 ))
46
47 $(eval $(call KMOD_template,TUN,tun,\
48 $(MODULES_DIR)/kernel/drivers/net/tun.ko \
49 ,CONFIG_TUN,,20,tun))
50
51
52 # Filtering / Firewalling
53
54 $(eval $(call KMOD_template,ARPTABLES,arptables,\
55 $(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.ko \
56 ,CONFIG_IP_NF_ARPTABLES))
57
58 $(eval $(call KMOD_template,EBTABLES,ebtables,\
59 $(MODULES_DIR)/kernel/net/bridge/netfilter/*.ko \
60 ,CONFIG_BRIDGE_NF_EBTABLES))
61
62 # metapackage for compatibility ...
63 $(eval $(call KMOD_template,IPTABLES_EXTRA,iptables-extra,\
64 ,,kmod-ipt-conntrack kmod-ipt-extra kmod-ipt-filter kmod-ipt-ipopt kmod-ipt-ipsec kmod-ipt-nat kmod-ipt-nat-extra kmod-ipt-queue kmod-ipt-ulogd))
65
66 $(eval $(call KMOD_template,IPT_CONNTRACK,ipt-conntrack,\
67 $(foreach mod,$(IPT_CONNTRACK-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
68 ))
69
70 $(eval $(call KMOD_template,IPT_EXTRA,ipt-extra,\
71 $(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
72 ))
73
74 $(eval $(call KMOD_template,IPT_FILTER,ipt-filter,\
75 $(foreach mod,$(IPT_FILTER-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
76 ))
77
78 $(eval $(call KMOD_template,IPT_IPOPT,ipt-ipopt,\
79 $(foreach mod,$(IPT_IPOPT-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
80 ))
81
82 $(eval $(call KMOD_template,IPT_IPSEC,ipt-ipsec,\
83 $(foreach mod,$(IPT_IPSEC-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
84 ))
85
86 $(eval $(call KMOD_template,IPT_NAT,ipt-nat,\
87 $(foreach mod,$(IPT_NAT-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
88 ))
89
90 $(eval $(call KMOD_template,IPT_NAT_EXTRA,ipt-nat-extra,\
91 $(foreach mod,$(IPT_NAT_EXTRA-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
92 ,,,40,$(IPT_NAT_EXTRA-m)))
93
94 $(eval $(call KMOD_template,IPT_QUEUE,ipt-queue,\
95 $(foreach mod,$(IPT_QUEUE-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
96 ))
97
98 $(eval $(call KMOD_template,IPT_ULOG,ipt-ulog,\
99 $(foreach mod,$(IPT_ULOG-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).ko) \
100 ))
101
102 $(eval $(call KMOD_template,IP6TABLES,ip6tables,\
103 $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.ko \
104 ,CONFIG_IP6_NF_IPTABLES,kmod-ipv6))
105
106
107 # Block devices
108
109 $(eval $(call KMOD_template,IDE,ide,\
110 $(MODULES_DIR)/kernel/drivers/ide/*.ko \
111 $(MODULES_DIR)/kernel/drivers/ide/*/*.ko \
112 ,CONFIG_IDE))
113
114 $(eval $(call KMOD_template,LOOP,loop,\
115 $(MODULES_DIR)/kernel/drivers/block/loop.ko \
116 ,CONFIG_BLK_DEV_LOOP,,20,loop))
117
118 $(eval $(call KMOD_template,NBD,nbd,\
119 $(MODULES_DIR)/kernel/drivers/block/nbd.ko \
120 ,CONFIG_BLK_DEV_NBD,,20,nbd))
121
122
123 # Crypto
124
125 $(eval $(call KMOD_template,CRYPTO,crypto,\
126 $(MODULES_DIR)/kernel/crypto/*.ko \
127 ))
128
129
130 # Filesystems
131
132 $(eval $(call KMOD_template,FS_CIFS,fs-cifs,\
133 $(MODULES_DIR)/kernel/fs/cifs/cifs.ko \
134 ,CONFIG_CIFS,kmod-nls-base,30,cifs))
135
136 $(eval $(call KMOD_template,FS_EXT2,fs-ext2,\
137 $(MODULES_DIR)/kernel/fs/ext2/ext2.ko \
138 ,CONFIG_EXT2_FS,,30,ext2))
139
140 $(eval $(call KMOD_template,FS_EXT3,fs-ext3,\
141 $(MODULES_DIR)/kernel/fs/ext3/ext3.ko \
142 $(MODULES_DIR)/kernel/fs/jbd/jbd.ko \
143 ,CONFIG_EXT3_FS,,30,jbd ext3))
144
145 $(eval $(call KMOD_template,FS_HFSPLUS,fs-hfsplus,\
146 $(MODULES_DIR)/kernel/fs/hfsplus/hfsplus.ko \
147 ,CONFIG_HFSPLUS_FS,kmod-nls-base,30,hfsplus))
148
149 $(eval $(call KMOD_template,FS_NFS,fs-nfs,\
150 $(MODULES_DIR)/kernel/fs/lockd/lockd.ko \
151 $(MODULES_DIR)/kernel/fs/nfs/nfs.ko \
152 $(MODULES_DIR)/kernel/net/sunrpc/sunrpc.ko \
153 ,CONFIG_NFS_FS,,30,sunrpc lockd nfs))
154
155 $(eval $(call KMOD_template,FS_VFAT,fs-vfat,\
156 $(MODULES_DIR)/kernel/fs/fat/fat.ko \
157 $(MODULES_DIR)/kernel/fs/vfat/vfat.ko \
158 ,CONFIG_VFAT_FS,kmod-nls-base,30,fat vfat))
159
160 $(eval $(call KMOD_template,FS_XFS,fs-xfs,\
161 $(MODULES_DIR)/kernel/fs/xfs/xfs.ko \
162 ,CONFIG_XFS_FS,,30,xfs))
163
164
165 # Multimedia
166
167 $(eval $(call KMOD_template,PWC,pwc,\
168 $(MODULES_DIR)/kernel/drivers/usb/media/pwc/pwc.ko \
169 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
170
171 $(eval $(call KMOD_template,SOUNDCORE,soundcore,\
172 $(MODULES_DIR)/kernel/sound/soundcore.ko \
173 ,CONFIG_SOUND,,30,soundcore))
174
175 $(eval $(call KMOD_template,VIDEODEV,videodev,\
176 $(MODULES_DIR)/kernel/drivers/media/video/v4l1-compat.ko \
177 $(MODULES_DIR)/kernel/drivers/media/video/v4l2-common.ko \
178 $(MODULES_DIR)/kernel/drivers/media/video/videodev.ko \
179 ,CONFIG_VIDEO_DEV,,62,videodev))
180
181
182 # NLS
183
184 $(eval $(call KMOD_template,NLS_BASE,nls-base,\
185 $(MODULES_DIR)/kernel/fs/nls/nls_base.ko \
186 ,CONFIG_NLS,,20,nls_base))
187
188 $(eval $(call KMOD_template,NLS_CP437,nls-cp437,\
189 $(MODULES_DIR)/kernel/fs/nls/nls_cp437.ko \
190 ,CONFIG_NLS_CODEPAGE_437,,20,nls_cp437))
191
192 $(eval $(call KMOD_template,NLS_CP850,nls-cp850,\
193 $(MODULES_DIR)/kernel/fs/nls/nls_cp850.ko \
194 ,CONFIG_NLS_CODEPAGE_850,,20,nls_cp850))
195
196 $(eval $(call KMOD_template,NLS_ISO8859_1,nls-iso8859-1,\
197 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-1.ko \
198 ,CONFIG_NLS_ISO8859_1,,20,nls_iso8859-1))
199
200 $(eval $(call KMOD_template,NLS_ISO8859_15,nls-iso8859-15,\
201 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-15.ko \
202 ,CONFIG_NLS_ISO8859_15,,20,nls_iso8859-15))
203
204 $(eval $(call KMOD_template,NLS_UTF8,nls-utf8,\
205 $(MODULES_DIR)/kernel/fs/nls/nls_utf8.ko \
206 ,CONFIG_NLS_UTF8,,20,nls_utf8))
207
208
209 # Network devices
210
211 $(eval $(call KMOD_template,NET_3C59X,net-3c59x,\
212 $(MODULES_DIR)/kernel/drivers/net/3c59x.ko \
213 ,CONFIG_VORTEX,,10,3c59x))
214
215 $(eval $(call KMOD_template,NET_8139TOO,net-8139too,\
216 $(MODULES_DIR)/kernel/drivers/net/8139too.ko \
217 ,CONFIG_8139TOO,,10,8139too))
218
219 $(eval $(call KMOD_template,NET_AIRO,net-airo,\
220 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.ko \
221 ,CONFIG_AIRO,,10,airo))
222
223 $(eval $(call KMOD_template,NET_E100,net-e100,\
224 $(MODULES_DIR)/kernel/drivers/net/e100.ko \
225 ,CONFIG_E100,,10,e100))
226
227 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\
228 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.ko \
229 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.ko \
230 ,CONFIG_HERMES,,10,hermes orinoco))
231
232 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\
233 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.ko \
234 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))
235
236 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\
237 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.ko \
238 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))
239
240 $(eval $(call KMOD_template,NET_NATSEMI,net-natsemi,\
241 $(MODULES_DIR)/kernel/drivers/net/natsemi.ko \
242 ,CONFIG_NATSEMI,,10,natsemi))
243
244 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\
245 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.ko \
246 ,CONFIG_PRISM54,,10,prism54))
247
248
249 # PCMCIA/CardBus
250
251 $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\
252 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.ko \
253 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.ko \
254 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.ko \
255 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.ko \
256 ,CONFIG_PCMCIA,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic))
257
258 $(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\
259 $(MODULES_DIR)/kernel/drivers/serial/serial_cs.ko \
260 ,CONFIG_SERIAL_8250_CS))
261
262
263 # USB
264
265 $(eval $(call KMOD_template,USB,usb-core,\
266 $(MODULES_DIR)/kernel/drivers/usb/core/usbcore.ko \
267 ,CONFIG_USB,,50,usbcore))
268
269 $(eval $(call KMOD_template,USB_OHCI,usb-ohci,\
270 $(MODULES_DIR)/kernel/drivers/usb/host/ohci-hcd.ko \
271 ,CONFIG_USB_OHCI_HCD,kmod-usb-core,60,ohci-hcd))
272
273 $(eval $(call KMOD_template,USB_UHCI,usb-uhci,\
274 $(MODULES_DIR)/kernel/drivers/usb/host/uhci.ko \
275 ,CONFIG_USB_UHCI_ALT,kmod-usb-core,60,uhci))
276
277 $(eval $(call KMOD_template,USB2,usb2,\
278 $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd.ko \
279 ,CONFIG_USB_EHCI_HCD,kmod-usb-core,60,ehci-hcd))
280
281 $(eval $(call KMOD_template,USB_ACM,usb-acm,\
282 $(MODULES_DIR)/kernel/drivers/usb/class/cdc-acm.ko \
283 ,CONFIG_USB_ACM))
284
285 #$(eval $(call KMOD_template,USB_AUDIO,usb-audio,\
286 # $(MODULES_DIR)/kernel/drivers/usb/class/audio.ko \
287 #,CONFIG_USB_AUDIO,kmod-soundcore kmod-usb-core,61,audio))
288
289 $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\
290 $(MODULES_DIR)/kernel/drivers/usb/class/usblp.ko \
291 ,CONFIG_USB_PRINTER,kmod-usb-core,60,usblp))
292
293 $(eval $(call KMOD_template,USB_SERIAL,usb-serial,\
294 $(MODULES_DIR)/kernel/drivers/usb/serial/usbserial.ko \
295 ,CONFIG_USB_SERIAL,kmod-usb-core,60,usbserial))
296
297 $(eval $(call KMOD_template,USB_SERIAL_BELKIN,usb-serial-belkin,\
298 $(MODULES_DIR)/kernel/drivers/usb/serial/belkin_sa.ko \
299 ,CONFIG_USB_SERIAL_BELKIN,kmod-usb-serial,61,belkin_sa))
300
301 $(eval $(call KMOD_template,USB_SERIAL_FTDI,usb-serial-ftdi,\
302 $(MODULES_DIR)/kernel/drivers/usb/serial/ftdi_sio.ko \
303 ,CONFIG_USB_SERIAL_FTDI_SIO,kmod-usb-serial,61,ftdi_sio))
304
305 $(eval $(call KMOD_template,USB_SERIAL_MCT_U232,usb-serial-mct-u232,\
306 $(MODULES_DIR)/kernel/drivers/usb/serial/mct_u232.ko \
307 ,CONFIG_USB_SERIAL_MCT_U232,kmod-usb-serial,61,mct_u232))
308
309 $(eval $(call KMOD_template,USB_SERIAL_PL2303,usb-serial-pl2303,\
310 $(MODULES_DIR)/kernel/drivers/usb/serial/pl2303.ko \
311 ,CONFIG_USB_SERIAL_PL2303,kmod-usb-serial,61,pl2303))
312
313 $(eval $(call KMOD_template,USB_SERIAL_VISOR,usb-serial-visor,\
314 $(MODULES_DIR)/kernel/drivers/usb/serial/visor.ko \
315 ,CONFIG_USB_SERIAL_VISOR,kmod-usb-serial,61,visor))
316
317 $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\
318 $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.ko \
319 $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.ko \
320 $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.ko \
321 ,CONFIG_USB_STORAGE,kmod-usb-core,60,scsi_mod sd_mod usb-storage))
322
323 $(eval $(call KMOD_template,USB_ATM,usb-atm,\
324 $(MODULES_DIR)/kernel/drivers/usb/atm/usbatm.ko \
325 ,CONFIG_USB_ATM,kmod-usb-atm,50,usb-atm))
326
327 # Misc. devices
328
329 $(eval $(call KMOD_template,AX25,ax25,\
330 $(MODULES_DIR)/kernel/net/ax25/ax25.ko \
331 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.ko \
332 ,CONFIG_AX25,,90,ax25 mkiss))
333
334 $(eval $(call KMOD_template,BLUETOOTH,bluetooth,\
335 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.ko \
336 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.ko \
337 $(MODULES_DIR)/kernel/net/bluetooth/sco.ko \
338 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.ko \
339 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.ko \
340 ,CONFIG_BLUEZ))
341
342
This page took 0.059804 seconds and 5 git commands to generate.