Enable CONFIG_PACKET built in the kernel, closes #687
[openwrt.git] / 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,GRE,gre,\
19 $(MODULES_DIR)/kernel/net/ipv4/ip_gre.ko \
20 ,CONFIG_NET_IPGRE))
21
22 $(eval $(call KMOD_template,IPIP,ipip,\
23 $(MODULES_DIR)/kernel/net/ipv4/ipip.ko \
24 ,CONFIG_NET_IPIP,,60,ipip))
25
26 $(eval $(call KMOD_template,IPV6,ipv6,\
27 $(MODULES_DIR)/kernel/net/ipv6/ipv6.ko \
28 ,CONFIG_IPV6,,20,ipv6))
29
30 $(eval $(call KMOD_template,SCHED,sched,\
31 $(MODULES_DIR)/kernel/net/sched/*.ko \
32 ,CONFIG_NET_SCHED))
33
34 $(eval $(call KMOD_template,TUN,tun,\
35 $(MODULES_DIR)/kernel/drivers/net/tun.ko \
36 ,CONFIG_TUN,,20,tun))
37
38 # Block devices
39
40 $(eval $(call KMOD_template,LOOP,loop,\
41 $(MODULES_DIR)/kernel/drivers/block/loop.ko \
42 ,CONFIG_BLK_DEV_LOOP,,20,loop))
43
44 $(eval $(call KMOD_template,NBD,nbd,\
45 $(MODULES_DIR)/kernel/drivers/block/nbd.ko \
46 ,CONFIG_BLK_DEV_NBD,,20,nbd))
47
48 # Filesystems
49
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))
53
54 $(eval $(call KMOD_template,FS_MINIX,fs-minix,\
55 $(MODULES_DIR)/kernel/fs/minix/minix.ko \
56 ,CONFIG_MINIX_FS,,30,minix))
57
58 $(eval $(call KMOD_template,FS_EXT2,fs-ext2,\
59 $(MODULES_DIR)/kernel/fs/ext2/ext2.ko \
60 ,CONFIG_EXT2_FS,,30,ext2))
61
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))
66
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))
70
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))
76
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))
81
82 $(eval $(call KMOD_template,FS_XFS,fs-xfs,\
83 $(MODULES_DIR)/kernel/fs/xfs/xfs.ko \
84 ,CONFIG_XFS_FS,,30,xfs))
85
86
87 # Multimedia
88
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))
92
93 $(eval $(call KMOD_template,SOUNDCORE,soundcore,\
94 $(MODULES_DIR)/kernel/sound/soundcore.ko \
95 ,CONFIG_SOUND,,30,soundcore))
96
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))
102
103
104 # NLS
105
106 $(eval $(call KMOD_template,NLS_BASE,nls-base,\
107 $(MODULES_DIR)/kernel/fs/nls/nls_base.ko \
108 ,CONFIG_NLS,,20,nls_base))
109
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))
113
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))
117
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))
121
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))
125
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))
129
130
131 # Network devices
132
133 $(eval $(call KMOD_template,NET_3C59X,net-3c59x,\
134 $(MODULES_DIR)/kernel/drivers/net/3c59x.ko \
135 ,CONFIG_VORTEX,,10,3c59x))
136
137 $(eval $(call KMOD_template,NET_8139TOO,net-8139too,\
138 $(MODULES_DIR)/kernel/drivers/net/8139too.ko \
139 ,CONFIG_8139TOO,,10,8139too))
140
141 $(eval $(call KMOD_template,NET_AIRO,net-airo,\
142 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.ko \
143 ,CONFIG_AIRO,,10,airo))
144
145 $(eval $(call KMOD_template,NET_E100,net-e100,\
146 $(MODULES_DIR)/kernel/drivers/net/e100.ko \
147 ,CONFIG_E100,,10,e100))
148
149 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\
150 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.ko \
151 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.ko \
152 ,CONFIG_HERMES,,10,hermes orinoco))
153
154 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\
155 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.ko \
156 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))
157
158 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\
159 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.ko \
160 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))
161
162 $(eval $(call KMOD_template,NET_NATSEMI,net-natsemi,\
163 $(MODULES_DIR)/kernel/drivers/net/natsemi.ko \
164 ,CONFIG_NATSEMI,,10,natsemi))
165
166 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\
167 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.ko \
168 ,CONFIG_PRISM54,,10,prism54))
169
170
171 # PCMCIA/CardBus
172
173 $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\
174 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.ko \
175 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.ko \
176 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.ko \
177 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.ko \
178 ,CONFIG_PCMCIA,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic))
179
180 $(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\
181 $(MODULES_DIR)/kernel/drivers/serial/serial_cs.ko \
182 ,CONFIG_SERIAL_8250_CS))
183
184
185 # USB
186
187 $(eval $(call KMOD_template,USB,usb-core,\
188 $(MODULES_DIR)/kernel/drivers/usb/core/usbcore.ko \
189 ,CONFIG_USB,,50,usbcore))
190
191 $(eval $(call KMOD_template,USB_OHCI,usb-ohci,\
192 $(MODULES_DIR)/kernel/drivers/usb/host/ohci-hcd.ko \
193 ,CONFIG_USB_OHCI_HCD,kmod-usb-core,60,ohci-hcd))
194
195 $(eval $(call KMOD_template,USB_UHCI,usb-uhci,\
196 $(MODULES_DIR)/kernel/drivers/usb/host/uhci-hcd.ko \
197 ,CONFIG_USB_UHCI_HCD,kmod-usb-core,60,uhci-hcd))
198
199 $(eval $(call KMOD_template,USB2,usb2,\
200 $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd.ko \
201 ,CONFIG_USB_EHCI_HCD,kmod-usb-core,60,ehci-hcd))
202
203 $(eval $(call KMOD_template,USB_ACM,usb-acm,\
204 $(MODULES_DIR)/kernel/drivers/usb/class/cdc-acm.ko \
205 ,CONFIG_USB_ACM))
206
207 $(eval $(call KMOD_template,USB_AUDIO,usb-audio,\
208 $(MODULES_DIR)/kernel/drivers/usb/class/audio.ko \
209 ,CONFIG_USB_AUDIO,kmod-soundcore kmod-usb-core,61,audio))
210
211 $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\
212 $(MODULES_DIR)/kernel/drivers/usb/class/usblp.ko \
213 ,CONFIG_USB_PRINTER,kmod-usb-core,60,usblp))
214
215 $(eval $(call KMOD_template,USB_SERIAL,usb-serial,\
216 $(MODULES_DIR)/kernel/drivers/usb/serial/usbserial.ko \
217 ,CONFIG_USB_SERIAL,kmod-usb-core,60,usbserial))
218
219 $(eval $(call KMOD_template,USB_SERIAL_BELKIN,usb-serial-belkin,\
220 $(MODULES_DIR)/kernel/drivers/usb/serial/belkin_sa.ko \
221 ,CONFIG_USB_SERIAL_BELKIN,kmod-usb-serial,61,belkin_sa))
222
223 $(eval $(call KMOD_template,USB_SERIAL_FTDI,usb-serial-ftdi,\
224 $(MODULES_DIR)/kernel/drivers/usb/serial/ftdi_sio.ko \
225 ,CONFIG_USB_SERIAL_FTDI_SIO,kmod-usb-serial,61,ftdi_sio))
226
227 $(eval $(call KMOD_template,USB_SERIAL_MCT_U232,usb-serial-mct-u232,\
228 $(MODULES_DIR)/kernel/drivers/usb/serial/mct_u232.ko \
229 ,CONFIG_USB_SERIAL_MCT_U232,kmod-usb-serial,61,mct_u232))
230
231 $(eval $(call KMOD_template,USB_SERIAL_PL2303,usb-serial-pl2303,\
232 $(MODULES_DIR)/kernel/drivers/usb/serial/pl2303.ko \
233 ,CONFIG_USB_SERIAL_PL2303,kmod-usb-serial,61,pl2303))
234
235 $(eval $(call KMOD_template,USB_SERIAL_VISOR,usb-serial-visor,\
236 $(MODULES_DIR)/kernel/drivers/usb/serial/visor.ko \
237 ,CONFIG_USB_SERIAL_VISOR,kmod-usb-serial,61,visor))
238
239 $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\
240 $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.ko \
241 $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.ko \
242 $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.ko \
243 ,CONFIG_USB_STORAGE,kmod-usb-core,60,scsi_mod sd_mod usb-storage))
244
245 $(eval $(call KMOD_template,USB_ATM,usb-atm,\
246 $(MODULES_DIR)/kernel/drivers/usb/atm/usbatm.ko \
247 ,CONFIG_USB_ATM,kmod-usb-atm,50,usbatm))
248
249 $(eval $(call KMOD_template,USB_ATM_SPEEDTOUCH,usb-atm-speedtouch,\
250 $(MODULES_DIR)/kernel/drivers/usb/atm/speedtch.ko \
251 ,CONFIG_USB_SPEEDTOUCH,kmod-usb-atm-speedtouch,50,speedtch))
252
253 # Misc. devices
254
255 $(eval $(call KMOD_template,AX25,ax25,\
256 $(MODULES_DIR)/kernel/net/ax25/ax25.ko \
257 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.ko \
258 ,CONFIG_AX25,,90,ax25 mkiss))
259
260 $(eval $(call KMOD_template,BLUETOOTH,bluetooth,\
261 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.ko \
262 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.ko \
263 $(MODULES_DIR)/kernel/net/bluetooth/sco.ko \
264 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.ko \
265 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.ko \
266 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.ko \
267 ,CONFIG_BT))
268
269
This page took 0.070141 seconds and 5 git commands to generate.