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