fix typos (#260)
[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 ,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_MINIX,fs-minix,\
137 $(MODULES_DIR)/kernel/fs/minix/minix.ko \
138 ,CONFIG_MINIX_FS,,30,minix))
139
140 $(eval $(call KMOD_template,FS_EXT2,fs-ext2,\
141 $(MODULES_DIR)/kernel/fs/ext2/ext2.ko \
142 ,CONFIG_EXT2_FS,,30,ext2))
143
144 $(eval $(call KMOD_template,FS_EXT3,fs-ext3,\
145 $(MODULES_DIR)/kernel/fs/ext3/ext3.ko \
146 $(MODULES_DIR)/kernel/fs/jbd/jbd.ko \
147 ,CONFIG_EXT3_FS,,30,jbd ext3))
148
149 $(eval $(call KMOD_template,FS_HFSPLUS,fs-hfsplus,\
150 $(MODULES_DIR)/kernel/fs/hfsplus/hfsplus.ko \
151 ,CONFIG_HFSPLUS_FS,kmod-nls-base,30,hfsplus))
152
153 $(eval $(call KMOD_template,FS_NFS,fs-nfs,\
154 $(MODULES_DIR)/kernel/fs/lockd/lockd.ko \
155 $(MODULES_DIR)/kernel/fs/nfs/nfs.ko \
156 $(MODULES_DIR)/kernel/net/sunrpc/sunrpc.ko \
157 ,CONFIG_NFS_FS,,30,sunrpc lockd nfs))
158
159 $(eval $(call KMOD_template,FS_VFAT,fs-vfat,\
160 $(MODULES_DIR)/kernel/fs/fat/fat.ko \
161 $(MODULES_DIR)/kernel/fs/vfat/vfat.ko \
162 ,CONFIG_VFAT_FS,kmod-nls-base,30,fat vfat))
163
164 $(eval $(call KMOD_template,FS_XFS,fs-xfs,\
165 $(MODULES_DIR)/kernel/fs/xfs/xfs.ko \
166 ,CONFIG_XFS_FS,,30,xfs))
167
168
169 # Multimedia
170
171 $(eval $(call KMOD_template,PWC,pwc,\
172 $(MODULES_DIR)/kernel/drivers/usb/media/pwc/pwc.ko \
173 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
174
175 $(eval $(call KMOD_template,SOUNDCORE,soundcore,\
176 $(MODULES_DIR)/kernel/sound/soundcore.ko \
177 ,CONFIG_SOUND,,30,soundcore))
178
179 $(eval $(call KMOD_template,VIDEODEV,videodev,\
180 $(MODULES_DIR)/kernel/drivers/media/video/v4l1-compat.ko \
181 $(MODULES_DIR)/kernel/drivers/media/video/v4l2-common.ko \
182 $(MODULES_DIR)/kernel/drivers/media/video/videodev.ko \
183 ,CONFIG_VIDEO_DEV,,62,videodev))
184
185
186 # NLS
187
188 $(eval $(call KMOD_template,NLS_BASE,nls-base,\
189 $(MODULES_DIR)/kernel/fs/nls/nls_base.ko \
190 ,CONFIG_NLS,,20,nls_base))
191
192 $(eval $(call KMOD_template,NLS_CP437,nls-cp437,\
193 $(MODULES_DIR)/kernel/fs/nls/nls_cp437.ko \
194 ,CONFIG_NLS_CODEPAGE_437,,20,nls_cp437))
195
196 $(eval $(call KMOD_template,NLS_CP850,nls-cp850,\
197 $(MODULES_DIR)/kernel/fs/nls/nls_cp850.ko \
198 ,CONFIG_NLS_CODEPAGE_850,,20,nls_cp850))
199
200 $(eval $(call KMOD_template,NLS_ISO8859_1,nls-iso8859-1,\
201 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-1.ko \
202 ,CONFIG_NLS_ISO8859_1,,20,nls_iso8859-1))
203
204 $(eval $(call KMOD_template,NLS_ISO8859_15,nls-iso8859-15,\
205 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-15.ko \
206 ,CONFIG_NLS_ISO8859_15,,20,nls_iso8859-15))
207
208 $(eval $(call KMOD_template,NLS_UTF8,nls-utf8,\
209 $(MODULES_DIR)/kernel/fs/nls/nls_utf8.ko \
210 ,CONFIG_NLS_UTF8,,20,nls_utf8))
211
212
213 # Network devices
214
215 $(eval $(call KMOD_template,NET_3C59X,net-3c59x,\
216 $(MODULES_DIR)/kernel/drivers/net/3c59x.ko \
217 ,CONFIG_VORTEX,,10,3c59x))
218
219 $(eval $(call KMOD_template,NET_8139TOO,net-8139too,\
220 $(MODULES_DIR)/kernel/drivers/net/8139too.ko \
221 ,CONFIG_8139TOO,,10,8139too))
222
223 $(eval $(call KMOD_template,NET_AIRO,net-airo,\
224 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.ko \
225 ,CONFIG_AIRO,,10,airo))
226
227 $(eval $(call KMOD_template,NET_E100,net-e100,\
228 $(MODULES_DIR)/kernel/drivers/net/e100.ko \
229 ,CONFIG_E100,,10,e100))
230
231 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\
232 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.ko \
233 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.ko \
234 ,CONFIG_HERMES,,10,hermes orinoco))
235
236 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\
237 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.ko \
238 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))
239
240 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\
241 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.ko \
242 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))
243
244 $(eval $(call KMOD_template,NET_NATSEMI,net-natsemi,\
245 $(MODULES_DIR)/kernel/drivers/net/natsemi.ko \
246 ,CONFIG_NATSEMI,,10,natsemi))
247
248 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\
249 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.ko \
250 ,CONFIG_PRISM54,,10,prism54))
251
252
253 # PCMCIA/CardBus
254
255 $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\
256 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.ko \
257 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.ko \
258 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.ko \
259 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.ko \
260 ,CONFIG_PCMCIA,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic))
261
262 $(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\
263 $(MODULES_DIR)/kernel/drivers/serial/serial_cs.ko \
264 ,CONFIG_SERIAL_8250_CS))
265
266
267 # USB
268
269 $(eval $(call KMOD_template,USB,usb-core,\
270 $(MODULES_DIR)/kernel/drivers/usb/core/usbcore.ko \
271 ,CONFIG_USB,,50,usbcore))
272
273 $(eval $(call KMOD_template,USB_OHCI,usb-ohci,\
274 $(MODULES_DIR)/kernel/drivers/usb/host/ohci-hcd.ko \
275 ,CONFIG_USB_OHCI_HCD,kmod-usb-core,60,ohci-hcd))
276
277 $(eval $(call KMOD_template,USB_UHCI,usb-uhci,\
278 $(MODULES_DIR)/kernel/drivers/usb/host/uhci-hcd.ko \
279 ,CONFIG_USB_UHCI_HCD,kmod-usb-core,60,uhci-hcd))
280
281 $(eval $(call KMOD_template,USB2,usb2,\
282 $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd.ko \
283 ,CONFIG_USB_EHCI_HCD,kmod-usb-core,60,ehci-hcd))
284
285 $(eval $(call KMOD_template,USB_ACM,usb-acm,\
286 $(MODULES_DIR)/kernel/drivers/usb/class/cdc-acm.ko \
287 ,CONFIG_USB_ACM))
288
289 $(eval $(call KMOD_template,USB_AUDIO,usb-audio,\
290 $(MODULES_DIR)/kernel/drivers/usb/class/audio.ko \
291 ,CONFIG_USB_AUDIO,kmod-soundcore kmod-usb-core,61,audio))
292
293 $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\
294 $(MODULES_DIR)/kernel/drivers/usb/class/usblp.ko \
295 ,CONFIG_USB_PRINTER,kmod-usb-core,60,usblp))
296
297 $(eval $(call KMOD_template,USB_SERIAL,usb-serial,\
298 $(MODULES_DIR)/kernel/drivers/usb/serial/usbserial.ko \
299 ,CONFIG_USB_SERIAL,kmod-usb-core,60,usbserial))
300
301 $(eval $(call KMOD_template,USB_SERIAL_BELKIN,usb-serial-belkin,\
302 $(MODULES_DIR)/kernel/drivers/usb/serial/belkin_sa.ko \
303 ,CONFIG_USB_SERIAL_BELKIN,kmod-usb-serial,61,belkin_sa))
304
305 $(eval $(call KMOD_template,USB_SERIAL_FTDI,usb-serial-ftdi,\
306 $(MODULES_DIR)/kernel/drivers/usb/serial/ftdi_sio.ko \
307 ,CONFIG_USB_SERIAL_FTDI_SIO,kmod-usb-serial,61,ftdi_sio))
308
309 $(eval $(call KMOD_template,USB_SERIAL_MCT_U232,usb-serial-mct-u232,\
310 $(MODULES_DIR)/kernel/drivers/usb/serial/mct_u232.ko \
311 ,CONFIG_USB_SERIAL_MCT_U232,kmod-usb-serial,61,mct_u232))
312
313 $(eval $(call KMOD_template,USB_SERIAL_PL2303,usb-serial-pl2303,\
314 $(MODULES_DIR)/kernel/drivers/usb/serial/pl2303.ko \
315 ,CONFIG_USB_SERIAL_PL2303,kmod-usb-serial,61,pl2303))
316
317 $(eval $(call KMOD_template,USB_SERIAL_VISOR,usb-serial-visor,\
318 $(MODULES_DIR)/kernel/drivers/usb/serial/visor.ko \
319 ,CONFIG_USB_SERIAL_VISOR,kmod-usb-serial,61,visor))
320
321 $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\
322 $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.ko \
323 $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.ko \
324 $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.ko \
325 ,CONFIG_USB_STORAGE,kmod-usb-core,60,scsi_mod sd_mod usb-storage))
326
327 $(eval $(call KMOD_template,USB_ATM,usb-atm,\
328 $(MODULES_DIR)/kernel/drivers/usb/atm/usbatm.ko \
329 ,CONFIG_USB_ATM,kmod-usb-atm,50,usb-atm))
330
331 # Misc. devices
332
333 $(eval $(call KMOD_template,AX25,ax25,\
334 $(MODULES_DIR)/kernel/net/ax25/ax25.ko \
335 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.ko \
336 ,CONFIG_AX25,,90,ax25 mkiss))
337
338 $(eval $(call KMOD_template,BLUETOOTH,bluetooth,\
339 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.ko \
340 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.ko \
341 $(MODULES_DIR)/kernel/net/bluetooth/sco.ko \
342 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.ko \
343 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.ko \
344 ,CONFIG_BLUEZ))
345
346
This page took 0.053406 seconds and 5 git commands to generate.