2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(INCLUDE_DIR
)/netfilter.mk
12 $(eval
$(call KMOD_template
,ATM
,atm
,\
13 $(MODULES_DIR
)/kernel
/net
/atm
/atm.ko \
14 $(MODULES_DIR
)/kernel
/net
/atm
/br2684.ko \
15 $(MODULES_DIR
)/kernel
/drivers
/atm
/atmtcp.ko \
18 $(eval
$(call KMOD_template
,GRE
,gre
,\
19 $(MODULES_DIR
)/kernel
/net
/ipv4
/ip_gre.ko \
22 $(eval
$(call KMOD_template
,IPIP
,ipip
,\
23 $(MODULES_DIR
)/kernel
/net
/ipv4
/ipip.ko \
24 ,CONFIG_NET_IPIP
,,60,ipip
))
26 $(eval
$(call KMOD_template
,IPV6
,ipv6
,\
27 $(MODULES_DIR
)/kernel
/net
/ipv6
/ipv6.ko \
28 ,CONFIG_IPV6
,,20,ipv6
))
30 $(eval
$(call KMOD_template
,SCHED
,sched
,\
31 $(MODULES_DIR
)/kernel
/net
/sched
/*.ko \
34 $(eval
$(call KMOD_template
,TUN
,tun
,\
35 $(MODULES_DIR
)/kernel
/drivers
/net
/tun.ko \
40 $(eval
$(call KMOD_template
,LOOP
,loop
,\
41 $(MODULES_DIR
)/kernel
/drivers
/block
/loop.ko \
42 ,CONFIG_BLK_DEV_LOOP
,,20,loop
))
44 $(eval
$(call KMOD_template
,NBD
,nbd
,\
45 $(MODULES_DIR
)/kernel
/drivers
/block
/nbd.ko \
46 ,CONFIG_BLK_DEV_NBD
,,20,nbd
))
50 $(eval
$(call KMOD_template
,FS_CIFS
,fs-cifs
,\
51 $(MODULES_DIR
)/kernel
/fs
/cifs
/cifs.ko \
52 ,CONFIG_CIFS
,kmod-nls-base
,30,cifs
))
54 $(eval
$(call KMOD_template
,FS_MINIX
,fs-minix
,\
55 $(MODULES_DIR
)/kernel
/fs
/minix
/minix.ko \
56 ,CONFIG_MINIX_FS
,,30,minix
))
58 $(eval
$(call KMOD_template
,FS_EXT2
,fs-ext2
,\
59 $(MODULES_DIR
)/kernel
/fs
/ext2
/ext2.ko \
60 ,CONFIG_EXT2_FS
,,30,ext2
))
62 $(eval
$(call KMOD_template
,FS_EXT3
,fs-ext3
,\
63 $(MODULES_DIR
)/kernel
/fs
/ext3
/ext3.ko \
64 $(MODULES_DIR
)/kernel
/fs
/jbd
/jbd.ko \
65 ,CONFIG_EXT3_FS
,,30,jbd ext3
))
67 $(eval
$(call KMOD_template
,FS_HFSPLUS
,fs-hfsplus
,\
68 $(MODULES_DIR
)/kernel
/fs
/hfsplus
/hfsplus.ko \
69 ,CONFIG_HFSPLUS_FS
,kmod-nls-base
,30,hfsplus
))
71 $(eval
$(call KMOD_template
,FS_NFS
,fs-nfs
,\
72 $(MODULES_DIR
)/kernel
/fs
/lockd
/lockd.ko \
73 $(MODULES_DIR
)/kernel
/fs
/nfs
/nfs.ko \
74 $(MODULES_DIR
)/kernel
/net
/sunrpc
/sunrpc.ko \
75 ,CONFIG_NFS_FS
,,30,sunrpc lockd nfs
))
77 $(eval
$(call KMOD_template
,FS_VFAT
,fs-vfat
,\
78 $(MODULES_DIR
)/kernel
/fs
/fat
/fat.ko \
79 $(MODULES_DIR
)/kernel
/fs
/vfat
/vfat.ko \
80 ,CONFIG_VFAT_FS
,kmod-nls-base
,30,fat vfat
))
82 $(eval
$(call KMOD_template
,FS_XFS
,fs-xfs
,\
83 $(MODULES_DIR
)/kernel
/fs
/xfs
/xfs.ko \
84 ,CONFIG_XFS_FS
,,30,xfs
))
89 $(eval
$(call KMOD_template
,PWC
,pwc
,\
90 $(MODULES_DIR
)/kernel
/drivers
/usb
/media
/pwc
/pwc.ko \
91 ,CONFIG_USB_PWC
,kmod-videodev
,63,pwc
))
93 $(eval
$(call KMOD_template
,SOUNDCORE
,soundcore
,\
94 $(MODULES_DIR
)/kernel
/sound
/soundcore.ko \
95 ,CONFIG_SOUND
,,30,soundcore
))
97 $(eval
$(call KMOD_template
,VIDEODEV
,videodev
,\
98 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/v4l1-compat.ko \
99 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/v4l2-common.ko \
100 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/videodev.ko \
101 ,CONFIG_VIDEO_DEV
,,62,videodev
))
106 $(eval
$(call KMOD_template
,NLS_BASE
,nls-base
,\
107 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_base.ko \
108 ,CONFIG_NLS
,,20,nls_base
))
110 $(eval
$(call KMOD_template
,NLS_CP437
,nls-cp437
,\
111 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_cp437.ko \
112 ,CONFIG_NLS_CODEPAGE_437
,,20,nls_cp437
))
114 $(eval
$(call KMOD_template
,NLS_CP850
,nls-cp850
,\
115 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_cp850.ko \
116 ,CONFIG_NLS_CODEPAGE_850
,,20,nls_cp850
))
118 $(eval
$(call KMOD_template
,NLS_ISO8859_1
,nls-iso8859-1
,\
119 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_iso8859-1.ko \
120 ,CONFIG_NLS_ISO8859_1
,,20,nls_iso8859-1
))
122 $(eval
$(call KMOD_template
,NLS_ISO8859_15
,nls-iso8859-15
,\
123 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_iso8859-15.ko \
124 ,CONFIG_NLS_ISO8859_15
,,20,nls_iso8859-15
))
126 $(eval
$(call KMOD_template
,NLS_UTF8
,nls-utf8
,\
127 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_utf8.ko \
128 ,CONFIG_NLS_UTF8
,,20,nls_utf8
))
133 $(eval
$(call KMOD_template
,NET_3C59X
,net-3c59x
,\
134 $(MODULES_DIR
)/kernel
/drivers
/net
/3c59x.ko \
135 ,CONFIG_VORTEX
,,10,3c59x
))
137 $(eval
$(call KMOD_template
,NET_AIRO
,net-airo
,\
138 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/airo.ko \
139 ,CONFIG_AIRO
,,10,airo
))
141 $(eval
$(call KMOD_template
,NET_E100
,net-e100
,\
142 $(MODULES_DIR
)/kernel
/drivers
/net
/e100.ko \
143 ,CONFIG_E100
,,10,e100
))
145 $(eval
$(call KMOD_template
,NET_HERMES
,net-hermes
,\
146 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/hermes.ko \
147 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco.ko \
148 ,CONFIG_HERMES
,,10,hermes orinoco
))
150 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-pci
,\
151 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_pci.ko \
152 ,CONFIG_PCI_HERMES
,kmod-net-hermes
,11,orinoco_pci
))
154 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-plx
,\
155 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_plx.ko \
156 ,CONFIG_PLX_HERMES
,kmod-net-hermes
,11,orinoco_plx
))
158 $(eval
$(call KMOD_template
,NET_PRISM54
,net-prism54
,\
159 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/prism54
/prism54.ko \
160 ,CONFIG_PRISM54
,,10,prism54
))
165 $(eval
$(call KMOD_template
,PCMCIA_CORE
,pcmcia-core
,\
166 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia.ko \
167 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia_core.ko \
168 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/yenta_socket.ko \
169 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/rsrc_nonstatic.ko \
170 ,CONFIG_PCMCIA
,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic
))
172 $(eval
$(call KMOD_template
,PCMCIA_SERIAL
,pcmcia-serial
,\
173 $(MODULES_DIR
)/kernel
/drivers
/serial
/serial_cs.ko \
174 ,CONFIG_SERIAL_8250_CS
))
179 $(eval
$(call KMOD_template
,USB
,usb-core
,\
180 $(MODULES_DIR
)/kernel
/drivers
/usb
/core
/usbcore.ko \
181 ,CONFIG_USB
,,50,usbcore
))
183 $(eval
$(call KMOD_template
,USB_OHCI
,usb-ohci
,\
184 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ohci-hcd.ko \
185 ,CONFIG_USB_OHCI_HCD
,kmod-usb-core
,60,ohci-hcd
))
187 $(eval
$(call KMOD_template
,USB_UHCI
,usb-uhci
,\
188 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci-hcd.ko \
189 ,CONFIG_USB_UHCI_HCD
,kmod-usb-core
,60,uhci-hcd
))
191 $(eval
$(call KMOD_template
,USB2
,usb2
,\
192 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ehci-hcd.ko \
193 ,CONFIG_USB_EHCI_HCD
,kmod-usb-core
,60,ehci-hcd
))
195 $(eval
$(call KMOD_template
,USB_ACM
,usb-acm
,\
196 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/cdc-acm.ko \
199 $(eval
$(call KMOD_template
,USB_AUDIO
,usb-audio
,\
200 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/audio.ko \
201 ,CONFIG_USB_AUDIO
,kmod-soundcore kmod-usb-core
,61,audio
))
203 $(eval
$(call KMOD_template
,USB_PRINTER
,usb-printer
,\
204 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/usblp.ko \
205 ,CONFIG_USB_PRINTER
,kmod-usb-core
,60,usblp
))
207 $(eval
$(call KMOD_template
,USB_SERIAL
,usb-serial
,\
208 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/usbserial.ko \
209 ,CONFIG_USB_SERIAL
,kmod-usb-core
,60,usbserial
))
211 $(eval
$(call KMOD_template
,USB_SERIAL_BELKIN
,usb-serial-belkin
,\
212 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/belkin_sa.ko \
213 ,CONFIG_USB_SERIAL_BELKIN
,kmod-usb-serial
,61,belkin_sa
))
215 $(eval
$(call KMOD_template
,USB_SERIAL_FTDI
,usb-serial-ftdi
,\
216 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/ftdi_sio.ko \
217 ,CONFIG_USB_SERIAL_FTDI_SIO
,kmod-usb-serial
,61,ftdi_sio
))
219 $(eval
$(call KMOD_template
,USB_SERIAL_MCT_U232
,usb-serial-mct-u232
,\
220 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/mct_u232.ko \
221 ,CONFIG_USB_SERIAL_MCT_U232
,kmod-usb-serial
,61,mct_u232
))
223 $(eval
$(call KMOD_template
,USB_SERIAL_PL2303
,usb-serial-pl2303
,\
224 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/pl2303.ko \
225 ,CONFIG_USB_SERIAL_PL2303
,kmod-usb-serial
,61,pl2303
))
227 $(eval
$(call KMOD_template
,USB_SERIAL_VISOR
,usb-serial-visor
,\
228 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/visor.ko \
229 ,CONFIG_USB_SERIAL_VISOR
,kmod-usb-serial
,61,visor
))
231 $(eval
$(call KMOD_template
,USB_STORAGE
,usb-storage
,\
232 $(MODULES_DIR
)/kernel
/drivers
/scsi
/scsi_mod.ko \
233 $(MODULES_DIR
)/kernel
/drivers
/scsi
/sd_mod.ko \
234 $(MODULES_DIR
)/kernel
/drivers
/usb
/storage
/usb-storage.ko \
235 ,CONFIG_USB_STORAGE
,kmod-usb-core
,60,scsi_mod sd_mod usb-storage
))
237 $(eval
$(call KMOD_template
,USB_ATM
,usb-atm
,\
238 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/usbatm.ko \
239 ,CONFIG_USB_ATM
,kmod-usb-atm
,50,usbatm
))
241 $(eval
$(call KMOD_template
,USB_ATM_SPEEDTOUCH
,usb-atm-speedtouch
,\
242 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/speedtch.ko \
243 ,CONFIG_USB_SPEEDTOUCH
,kmod-usb-atm-speedtouch
,50,speedtch
))
247 $(eval
$(call KMOD_template
,AX25
,ax25
,\
248 $(MODULES_DIR
)/kernel
/net
/ax25
/ax25.ko \
249 $(MODULES_DIR
)/kernel
/drivers
/net
/hamradio
/mkiss.ko \
250 ,CONFIG_AX25
,,90,ax25 mkiss
))
252 $(eval
$(call KMOD_template
,BLUETOOTH
,bluetooth
,\
253 $(MODULES_DIR
)/kernel
/net
/bluetooth
/bluetooth.ko \
254 $(MODULES_DIR
)/kernel
/net
/bluetooth
/l2cap.ko \
255 $(MODULES_DIR
)/kernel
/net
/bluetooth
/sco.ko \
256 $(MODULES_DIR
)/kernel
/net
/bluetooth
/rfcomm
/rfcomm.ko \
257 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_uart.ko \
258 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_usb.ko \