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 \
20 $(eval
$(call KMOD_template
,LOOP
,loop
,\
21 $(MODULES_DIR
)/kernel
/drivers
/block
/loop.ko \
22 ,CONFIG_BLK_DEV_LOOP
,,20,loop
))
24 $(eval
$(call KMOD_template
,NBD
,nbd
,\
25 $(MODULES_DIR
)/kernel
/drivers
/block
/nbd.ko \
26 ,CONFIG_BLK_DEV_NBD
,,20,nbd
))
30 $(eval
$(call KMOD_template
,FS_CIFS
,fs-cifs
,\
31 $(MODULES_DIR
)/kernel
/fs
/cifs
/cifs.ko \
32 ,CONFIG_CIFS
,kmod-nls-base
,30,cifs
))
34 $(eval
$(call KMOD_template
,FS_MINIX
,fs-minix
,\
35 $(MODULES_DIR
)/kernel
/fs
/minix
/minix.ko \
36 ,CONFIG_MINIX_FS
,,30,minix
))
38 $(eval
$(call KMOD_template
,FS_EXT2
,fs-ext2
,\
39 $(MODULES_DIR
)/kernel
/fs
/ext2
/ext2.ko \
40 ,CONFIG_EXT2_FS
,,30,ext2
))
42 $(eval
$(call KMOD_template
,FS_EXT3
,fs-ext3
,\
43 $(MODULES_DIR
)/kernel
/fs
/ext3
/ext3.ko \
44 $(MODULES_DIR
)/kernel
/fs
/jbd
/jbd.ko \
45 ,CONFIG_EXT3_FS
,,30,jbd ext3
))
47 $(eval
$(call KMOD_template
,FS_HFSPLUS
,fs-hfsplus
,\
48 $(MODULES_DIR
)/kernel
/fs
/hfsplus
/hfsplus.ko \
49 ,CONFIG_HFSPLUS_FS
,kmod-nls-base
,30,hfsplus
))
51 $(eval
$(call KMOD_template
,FS_NFS
,fs-nfs
,\
52 $(MODULES_DIR
)/kernel
/fs
/lockd
/lockd.ko \
53 $(MODULES_DIR
)/kernel
/fs
/nfs
/nfs.ko \
54 $(MODULES_DIR
)/kernel
/net
/sunrpc
/sunrpc.ko \
55 ,CONFIG_NFS_FS
,,30,sunrpc lockd nfs
))
57 $(eval
$(call KMOD_template
,FS_VFAT
,fs-vfat
,\
58 $(MODULES_DIR
)/kernel
/fs
/fat
/fat.ko \
59 $(MODULES_DIR
)/kernel
/fs
/vfat
/vfat.ko \
60 ,CONFIG_VFAT_FS
,kmod-nls-base
,30,fat vfat
))
62 $(eval
$(call KMOD_template
,FS_XFS
,fs-xfs
,\
63 $(MODULES_DIR
)/kernel
/fs
/xfs
/xfs.ko \
64 ,CONFIG_XFS_FS
,,30,xfs
))
69 $(eval
$(call KMOD_template
,PWC
,pwc
,\
70 $(MODULES_DIR
)/kernel
/drivers
/usb
/media
/pwc
/pwc.ko \
71 ,CONFIG_USB_PWC
,kmod-videodev
,63,pwc
))
73 $(eval
$(call KMOD_template
,SOUNDCORE
,soundcore
,\
74 $(MODULES_DIR
)/kernel
/sound
/soundcore.ko \
75 ,CONFIG_SOUND
,,30,soundcore
))
77 $(eval
$(call KMOD_template
,VIDEODEV
,videodev
,\
78 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/v4l1-compat.ko \
79 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/v4l2-common.ko \
80 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/videodev.ko \
81 ,CONFIG_VIDEO_DEV
,,62,videodev
))
86 $(eval
$(call KMOD_template
,NLS_BASE
,nls-base
,\
87 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_base.ko \
88 ,CONFIG_NLS
,,20,nls_base
))
90 $(eval
$(call KMOD_template
,NLS_CP437
,nls-cp437
,\
91 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_cp437.ko \
92 ,CONFIG_NLS_CODEPAGE_437
,,20,nls_cp437
))
94 $(eval
$(call KMOD_template
,NLS_CP850
,nls-cp850
,\
95 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_cp850.ko \
96 ,CONFIG_NLS_CODEPAGE_850
,,20,nls_cp850
))
98 $(eval
$(call KMOD_template
,NLS_ISO8859_1
,nls-iso8859-1
,\
99 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_iso8859-1.ko \
100 ,CONFIG_NLS_ISO8859_1
,,20,nls_iso8859-1
))
102 $(eval
$(call KMOD_template
,NLS_ISO8859_15
,nls-iso8859-15
,\
103 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_iso8859-15.ko \
104 ,CONFIG_NLS_ISO8859_15
,,20,nls_iso8859-15
))
106 $(eval
$(call KMOD_template
,NLS_UTF8
,nls-utf8
,\
107 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_utf8.ko \
108 ,CONFIG_NLS_UTF8
,,20,nls_utf8
))
113 $(eval
$(call KMOD_template
,NET_AIRO
,net-airo
,\
114 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/airo.ko \
115 ,CONFIG_AIRO
,,10,airo
))
117 $(eval
$(call KMOD_template
,NET_HERMES
,net-hermes
,\
118 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/hermes.ko \
119 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco.ko \
120 ,CONFIG_HERMES
,,10,hermes orinoco
))
122 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-pci
,\
123 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_pci.ko \
124 ,CONFIG_PCI_HERMES
,kmod-net-hermes
,11,orinoco_pci
))
126 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-plx
,\
127 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_plx.ko \
128 ,CONFIG_PLX_HERMES
,kmod-net-hermes
,11,orinoco_plx
))
130 $(eval
$(call KMOD_template
,NET_PRISM54
,net-prism54
,\
131 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/prism54
/prism54.ko \
132 ,CONFIG_PRISM54
,,10,prism54
))
137 $(eval
$(call KMOD_template
,PCMCIA_CORE
,pcmcia-core
,\
138 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia.ko \
139 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia_core.ko \
140 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/yenta_socket.ko \
141 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/rsrc_nonstatic.ko \
142 ,CONFIG_PCMCIA
,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic
))
144 $(eval
$(call KMOD_template
,PCMCIA_SERIAL
,pcmcia-serial
,\
145 $(MODULES_DIR
)/kernel
/drivers
/serial
/serial_cs.ko \
146 ,CONFIG_SERIAL_8250_CS
))
151 $(eval
$(call KMOD_template
,USB
,usb-core
,\
152 $(MODULES_DIR
)/kernel
/drivers
/usb
/core
/usbcore.ko \
153 ,CONFIG_USB
,,50,usbcore
))
155 $(eval
$(call KMOD_template
,USB_OHCI
,usb-ohci
,\
156 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ohci-hcd.ko \
157 ,CONFIG_USB_OHCI_HCD
,kmod-usb-core
,60,ohci-hcd
))
159 $(eval
$(call KMOD_template
,USB_UHCI
,usb-uhci
,\
160 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci-hcd.ko \
161 ,CONFIG_USB_UHCI_HCD
,kmod-usb-core
,60,uhci-hcd
))
163 $(eval
$(call KMOD_template
,USB2
,usb2
,\
164 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ehci-hcd.ko \
165 ,CONFIG_USB_EHCI_HCD
,kmod-usb-core
,60,ehci-hcd
))
167 $(eval
$(call KMOD_template
,USB_ACM
,usb-acm
,\
168 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/cdc-acm.ko \
171 $(eval
$(call KMOD_template
,USB_AUDIO
,usb-audio
,\
172 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/audio.ko \
173 ,CONFIG_USB_AUDIO
,kmod-soundcore kmod-usb-core
,61,audio
))
175 $(eval
$(call KMOD_template
,USB_PRINTER
,usb-printer
,\
176 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/usblp.ko \
177 ,CONFIG_USB_PRINTER
,kmod-usb-core
,60,usblp
))
179 $(eval
$(call KMOD_template
,USB_SERIAL
,usb-serial
,\
180 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/usbserial.ko \
181 ,CONFIG_USB_SERIAL
,kmod-usb-core
,60,usbserial
))
183 $(eval
$(call KMOD_template
,USB_SERIAL_BELKIN
,usb-serial-belkin
,\
184 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/belkin_sa.ko \
185 ,CONFIG_USB_SERIAL_BELKIN
,kmod-usb-serial
,61,belkin_sa
))
187 $(eval
$(call KMOD_template
,USB_SERIAL_FTDI
,usb-serial-ftdi
,\
188 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/ftdi_sio.ko \
189 ,CONFIG_USB_SERIAL_FTDI_SIO
,kmod-usb-serial
,61,ftdi_sio
))
191 $(eval
$(call KMOD_template
,USB_SERIAL_MCT_U232
,usb-serial-mct-u232
,\
192 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/mct_u232.ko \
193 ,CONFIG_USB_SERIAL_MCT_U232
,kmod-usb-serial
,61,mct_u232
))
195 $(eval
$(call KMOD_template
,USB_SERIAL_PL2303
,usb-serial-pl2303
,\
196 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/pl2303.ko \
197 ,CONFIG_USB_SERIAL_PL2303
,kmod-usb-serial
,61,pl2303
))
199 $(eval
$(call KMOD_template
,USB_SERIAL_VISOR
,usb-serial-visor
,\
200 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/visor.ko \
201 ,CONFIG_USB_SERIAL_VISOR
,kmod-usb-serial
,61,visor
))
203 $(eval
$(call KMOD_template
,USB_STORAGE
,usb-storage
,\
204 $(MODULES_DIR
)/kernel
/drivers
/scsi
/scsi_mod.ko \
205 $(MODULES_DIR
)/kernel
/drivers
/scsi
/sd_mod.ko \
206 $(MODULES_DIR
)/kernel
/drivers
/usb
/storage
/usb-storage.ko \
207 ,CONFIG_USB_STORAGE
,kmod-usb-core
,60,scsi_mod sd_mod usb-storage
))
209 $(eval
$(call KMOD_template
,USB_ATM
,usb-atm
,\
210 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/usbatm.ko \
211 ,CONFIG_USB_ATM
,kmod-usb-atm
,50,usbatm
))
213 $(eval
$(call KMOD_template
,USB_ATM_SPEEDTOUCH
,usb-atm-speedtouch
,\
214 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/speedtch.ko \
215 ,CONFIG_USB_SPEEDTOUCH
,kmod-usb-atm-speedtouch
,50,speedtch
))
219 $(eval
$(call KMOD_template
,AX25
,ax25
,\
220 $(MODULES_DIR
)/kernel
/net
/ax25
/ax25.ko \
221 $(MODULES_DIR
)/kernel
/drivers
/net
/hamradio
/mkiss.ko \
222 ,CONFIG_AX25
,,90,ax25 mkiss
))
224 $(eval
$(call KMOD_template
,BLUETOOTH
,bluetooth
,\
225 $(MODULES_DIR
)/kernel
/net
/bluetooth
/bluetooth.ko \
226 $(MODULES_DIR
)/kernel
/net
/bluetooth
/l2cap.ko \
227 $(MODULES_DIR
)/kernel
/net
/bluetooth
/sco.ko \
228 $(MODULES_DIR
)/kernel
/net
/bluetooth
/rfcomm
/rfcomm.ko \
229 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_uart.ko \
230 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_usb.ko \