950ff56786da370fb2f199cb5e286341c8d8f37c
[openwrt/openwrt.git] / openwrt / include / modules-2.6.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 NF_2_6:=1
8 include $(INCLUDE_DIR)/netfilter.mk
9
10 # Networking
11
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 \
16 ,CONFIG_ATM,,50,atm))
17
18 $(eval $(call KMOD_template,IPIP,ipip,\
19 $(MODULES_DIR)/kernel/net/ipv4/ipip.ko \
20 ,CONFIG_NET_IPIP,,60,ipip))
21
22 # Block devices
23
24 $(eval $(call KMOD_template,LOOP,loop,\
25 $(MODULES_DIR)/kernel/drivers/block/loop.ko \
26 ,CONFIG_BLK_DEV_LOOP,,20,loop))
27
28 $(eval $(call KMOD_template,NBD,nbd,\
29 $(MODULES_DIR)/kernel/drivers/block/nbd.ko \
30 ,CONFIG_BLK_DEV_NBD,,20,nbd))
31
32 # Filesystems
33
34 $(eval $(call KMOD_template,FS_CIFS,fs-cifs,\
35 $(MODULES_DIR)/kernel/fs/cifs/cifs.ko \
36 ,CONFIG_CIFS,kmod-nls-base,30,cifs))
37
38 $(eval $(call KMOD_template,FS_MINIX,fs-minix,\
39 $(MODULES_DIR)/kernel/fs/minix/minix.ko \
40 ,CONFIG_MINIX_FS,,30,minix))
41
42 $(eval $(call KMOD_template,FS_EXT2,fs-ext2,\
43 $(MODULES_DIR)/kernel/fs/ext2/ext2.ko \
44 ,CONFIG_EXT2_FS,,30,ext2))
45
46 $(eval $(call KMOD_template,FS_EXT3,fs-ext3,\
47 $(MODULES_DIR)/kernel/fs/ext3/ext3.ko \
48 $(MODULES_DIR)/kernel/fs/jbd/jbd.ko \
49 ,CONFIG_EXT3_FS,,30,jbd ext3))
50
51 $(eval $(call KMOD_template,FS_HFSPLUS,fs-hfsplus,\
52 $(MODULES_DIR)/kernel/fs/hfsplus/hfsplus.ko \
53 ,CONFIG_HFSPLUS_FS,kmod-nls-base,30,hfsplus))
54
55 $(eval $(call KMOD_template,FS_NFS,fs-nfs,\
56 $(MODULES_DIR)/kernel/fs/lockd/lockd.ko \
57 $(MODULES_DIR)/kernel/fs/nfs/nfs.ko \
58 $(MODULES_DIR)/kernel/net/sunrpc/sunrpc.ko \
59 ,CONFIG_NFS_FS,,30,sunrpc lockd nfs))
60
61 $(eval $(call KMOD_template,FS_VFAT,fs-vfat,\
62 $(MODULES_DIR)/kernel/fs/fat/fat.ko \
63 $(MODULES_DIR)/kernel/fs/vfat/vfat.ko \
64 ,CONFIG_VFAT_FS,kmod-nls-base,30,fat vfat))
65
66 $(eval $(call KMOD_template,FS_XFS,fs-xfs,\
67 $(MODULES_DIR)/kernel/fs/xfs/xfs.ko \
68 ,CONFIG_XFS_FS,,30,xfs))
69
70
71 # Multimedia
72
73 $(eval $(call KMOD_template,PWC,pwc,\
74 $(MODULES_DIR)/kernel/drivers/usb/media/pwc/pwc.ko \
75 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
76
77 $(eval $(call KMOD_template,SOUNDCORE,soundcore,\
78 $(MODULES_DIR)/kernel/sound/soundcore.ko \
79 ,CONFIG_SOUND,,30,soundcore))
80
81 $(eval $(call KMOD_template,VIDEODEV,videodev,\
82 $(MODULES_DIR)/kernel/drivers/media/video/v4l1-compat.ko \
83 $(MODULES_DIR)/kernel/drivers/media/video/v4l2-common.ko \
84 $(MODULES_DIR)/kernel/drivers/media/video/videodev.ko \
85 ,CONFIG_VIDEO_DEV,,62,videodev))
86
87
88 # NLS
89
90 $(eval $(call KMOD_template,NLS_BASE,nls-base,\
91 $(MODULES_DIR)/kernel/fs/nls/nls_base.ko \
92 ,CONFIG_NLS,,20,nls_base))
93
94 $(eval $(call KMOD_template,NLS_CP437,nls-cp437,\
95 $(MODULES_DIR)/kernel/fs/nls/nls_cp437.ko \
96 ,CONFIG_NLS_CODEPAGE_437,,20,nls_cp437))
97
98 $(eval $(call KMOD_template,NLS_CP850,nls-cp850,\
99 $(MODULES_DIR)/kernel/fs/nls/nls_cp850.ko \
100 ,CONFIG_NLS_CODEPAGE_850,,20,nls_cp850))
101
102 $(eval $(call KMOD_template,NLS_ISO8859_1,nls-iso8859-1,\
103 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-1.ko \
104 ,CONFIG_NLS_ISO8859_1,,20,nls_iso8859-1))
105
106 $(eval $(call KMOD_template,NLS_ISO8859_15,nls-iso8859-15,\
107 $(MODULES_DIR)/kernel/fs/nls/nls_iso8859-15.ko \
108 ,CONFIG_NLS_ISO8859_15,,20,nls_iso8859-15))
109
110 $(eval $(call KMOD_template,NLS_UTF8,nls-utf8,\
111 $(MODULES_DIR)/kernel/fs/nls/nls_utf8.ko \
112 ,CONFIG_NLS_UTF8,,20,nls_utf8))
113
114
115 # Network devices
116
117 $(eval $(call KMOD_template,NET_3C59X,net-3c59x,\
118 $(MODULES_DIR)/kernel/drivers/net/3c59x.ko \
119 ,CONFIG_VORTEX,,10,3c59x))
120
121 $(eval $(call KMOD_template,NET_AIRO,net-airo,\
122 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.ko \
123 ,CONFIG_AIRO,,10,airo))
124
125 $(eval $(call KMOD_template,NET_E100,net-e100,\
126 $(MODULES_DIR)/kernel/drivers/net/e100.ko \
127 ,CONFIG_E100,,10,e100))
128
129 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\
130 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.ko \
131 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.ko \
132 ,CONFIG_HERMES,,10,hermes orinoco))
133
134 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\
135 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.ko \
136 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))
137
138 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\
139 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.ko \
140 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))
141
142 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\
143 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.ko \
144 ,CONFIG_PRISM54,,10,prism54))
145
146
147 # PCMCIA/CardBus
148
149 $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\
150 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.ko \
151 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.ko \
152 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.ko \
153 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.ko \
154 ,CONFIG_PCMCIA,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic))
155
156 $(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\
157 $(MODULES_DIR)/kernel/drivers/serial/serial_cs.ko \
158 ,CONFIG_SERIAL_8250_CS))
159
160
161 # USB
162
163 $(eval $(call KMOD_template,USB,usb-core,\
164 $(MODULES_DIR)/kernel/drivers/usb/core/usbcore.ko \
165 ,CONFIG_USB,,50,usbcore))
166
167 $(eval $(call KMOD_template,USB_OHCI,usb-ohci,\
168 $(MODULES_DIR)/kernel/drivers/usb/host/ohci-hcd.ko \
169 ,CONFIG_USB_OHCI_HCD,kmod-usb-core,60,ohci-hcd))
170
171 $(eval $(call KMOD_template,USB_UHCI,usb-uhci,\
172 $(MODULES_DIR)/kernel/drivers/usb/host/uhci-hcd.ko \
173 ,CONFIG_USB_UHCI_HCD,kmod-usb-core,60,uhci-hcd))
174
175 $(eval $(call KMOD_template,USB2,usb2,\
176 $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd.ko \
177 ,CONFIG_USB_EHCI_HCD,kmod-usb-core,60,ehci-hcd))
178
179 $(eval $(call KMOD_template,USB_ACM,usb-acm,\
180 $(MODULES_DIR)/kernel/drivers/usb/class/cdc-acm.ko \
181 ,CONFIG_USB_ACM))
182
183 $(eval $(call KMOD_template,USB_AUDIO,usb-audio,\
184 $(MODULES_DIR)/kernel/drivers/usb/class/audio.ko \
185 ,CONFIG_USB_AUDIO,kmod-soundcore kmod-usb-core,61,audio))
186
187 $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\
188 $(MODULES_DIR)/kernel/drivers/usb/class/usblp.ko \
189 ,CONFIG_USB_PRINTER,kmod-usb-core,60,usblp))
190
191 $(eval $(call KMOD_template,USB_SERIAL,usb-serial,\
192 $(MODULES_DIR)/kernel/drivers/usb/serial/usbserial.ko \
193 ,CONFIG_USB_SERIAL,kmod-usb-core,60,usbserial))
194
195 $(eval $(call KMOD_template,USB_SERIAL_BELKIN,usb-serial-belkin,\
196 $(MODULES_DIR)/kernel/drivers/usb/serial/belkin_sa.ko \
197 ,CONFIG_USB_SERIAL_BELKIN,kmod-usb-serial,61,belkin_sa))
198
199 $(eval $(call KMOD_template,USB_SERIAL_FTDI,usb-serial-ftdi,\
200 $(MODULES_DIR)/kernel/drivers/usb/serial/ftdi_sio.ko \
201 ,CONFIG_USB_SERIAL_FTDI_SIO,kmod-usb-serial,61,ftdi_sio))
202
203 $(eval $(call KMOD_template,USB_SERIAL_MCT_U232,usb-serial-mct-u232,\
204 $(MODULES_DIR)/kernel/drivers/usb/serial/mct_u232.ko \
205 ,CONFIG_USB_SERIAL_MCT_U232,kmod-usb-serial,61,mct_u232))
206
207 $(eval $(call KMOD_template,USB_SERIAL_PL2303,usb-serial-pl2303,\
208 $(MODULES_DIR)/kernel/drivers/usb/serial/pl2303.ko \
209 ,CONFIG_USB_SERIAL_PL2303,kmod-usb-serial,61,pl2303))
210
211 $(eval $(call KMOD_template,USB_SERIAL_VISOR,usb-serial-visor,\
212 $(MODULES_DIR)/kernel/drivers/usb/serial/visor.ko \
213 ,CONFIG_USB_SERIAL_VISOR,kmod-usb-serial,61,visor))
214
215 $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\
216 $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.ko \
217 $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.ko \
218 $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.ko \
219 ,CONFIG_USB_STORAGE,kmod-usb-core,60,scsi_mod sd_mod usb-storage))
220
221 $(eval $(call KMOD_template,USB_ATM,usb-atm,\
222 $(MODULES_DIR)/kernel/drivers/usb/atm/usbatm.ko \
223 ,CONFIG_USB_ATM,kmod-usb-atm,50,usbatm))
224
225 $(eval $(call KMOD_template,USB_ATM_SPEEDTOUCH,usb-atm-speedtouch,\
226 $(MODULES_DIR)/kernel/drivers/usb/atm/speedtch.ko \
227 ,CONFIG_USB_SPEEDTOUCH,kmod-usb-atm-speedtouch,50,speedtch))
228
229 # Misc. devices
230
231 $(eval $(call KMOD_template,AX25,ax25,\
232 $(MODULES_DIR)/kernel/net/ax25/ax25.ko \
233 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.ko \
234 ,CONFIG_AX25,,90,ax25 mkiss))
235
236 $(eval $(call KMOD_template,BLUETOOTH,bluetooth,\
237 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.ko \
238 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.ko \
239 $(MODULES_DIR)/kernel/net/bluetooth/sco.ko \
240 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.ko \
241 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.ko \
242 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.ko \
243 ,CONFIG_BT))
244
245