2 include ..
/netfilter.mk
6 $(eval
$(call KMOD_template
,ATM
,atm
,\
7 $(MODULES_DIR
)/kernel
/net
/atm
/atm.ko \
8 $(MODULES_DIR
)/kernel
/net
/atm
/br2684.ko \
9 $(MODULES_DIR
)/kernel
/drivers
/atm
/atmtcp.ko \
12 $(eval
$(call KMOD_template
,GRE
,gre
,\
13 $(MODULES_DIR
)/kernel
/net
/ipv4
/ip_gre.ko \
16 $(eval
$(call KMOD_template
,IMQ
,imq
,\
17 $(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/*IMQ
*.ko \
18 $(MODULES_DIR
)/kernel
/drivers
/net
/imq.ko \
21 $(eval
$(call KMOD_template
,IPIP
,ipip
,\
22 $(MODULES_DIR
)/kernel
/net
/ipv4
/ipip.ko \
23 ,CONFIG_NET_IPIP
,,60,ipip
))
25 $(eval
$(call KMOD_template
,IPV6
,ipv6
,\
26 $(MODULES_DIR
)/kernel
/net
/ipv6
/ipv6.ko \
27 ,CONFIG_IPV6
,,20,ipv6
))
29 $(eval
$(call KMOD_template
,PPP
,ppp
,\
30 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.ko \
31 $(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.ko \
32 $(MODULES_DIR
)/kernel
/drivers
/net
/slhc.ko \
33 $(MODULES_DIR
)/kernel
/lib
/crc-ccitt.ko \
36 #$(eval $(call KMOD_template,MPPE,mppe,\
37 # $(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.ko \
38 #,CONFIG_PPP_MPPE_MPPC))
40 $(eval
$(call KMOD_template
,PPPOATM
,pppoatm
,\
41 $(MODULES_DIR
)/kernel
/net
/atm
/pppoatm.ko \
44 $(eval
$(call KMOD_template
,PPPOE
,pppoe
,\
45 $(MODULES_DIR
)/kernel
/drivers
/net
/pppoe.ko \
46 $(MODULES_DIR
)/kernel
/drivers
/net
/pppox.ko \
49 $(eval
$(call KMOD_template
,SCHED
,sched
,\
50 $(MODULES_DIR
)/kernel
/net
/sched
/*.ko \
53 $(eval
$(call KMOD_template
,TUN
,tun
,\
54 $(MODULES_DIR
)/kernel
/drivers
/net
/tun.ko \
58 # Filtering / Firewalling
60 $(eval
$(call KMOD_template
,ARPTABLES
,arptables
,\
61 $(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/arp
*.ko \
62 ,CONFIG_IP_NF_ARPTABLES
))
64 $(eval
$(call KMOD_template
,EBTABLES
,ebtables
,\
65 $(MODULES_DIR
)/kernel
/net
/bridge
/netfilter
/*.ko \
66 ,CONFIG_BRIDGE_NF_EBTABLES
))
68 # metapackage for compatibility ...
69 $(eval
$(call KMOD_template
,IPTABLES_EXTRA
,iptables-extra
,\
70 ,,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
))
72 $(eval
$(call KMOD_template
,IPT_CONNTRACK
,ipt-conntrack
,\
73 $(foreach mod
,$(IPT_CONNTRACK-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
76 $(eval
$(call KMOD_template
,IPT_EXTRA
,ipt-extra
,\
77 $(foreach mod
,$(IPT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
80 $(eval
$(call KMOD_template
,IPT_FILTER
,ipt-filter
,\
81 $(foreach mod
,$(IPT_FILTER-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
84 $(eval
$(call KMOD_template
,IPT_IPOPT
,ipt-ipopt
,\
85 $(foreach mod
,$(IPT_IPOPT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
88 $(eval
$(call KMOD_template
,IPT_IPSEC
,ipt-ipsec
,\
89 $(foreach mod
,$(IPT_IPSEC-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
92 $(eval
$(call KMOD_template
,IPT_NAT
,ipt-nat
,\
93 $(foreach mod
,$(IPT_NAT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
96 $(eval
$(call KMOD_template
,IPT_NAT_EXTRA
,ipt-nat-extra
,\
97 $(foreach mod
,$(IPT_NAT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
98 ,,,40,$(IPT_NAT_EXTRA-m
)))
100 $(eval
$(call KMOD_template
,IPT_QUEUE
,ipt-queue
,\
101 $(foreach mod
,$(IPT_QUEUE-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
104 $(eval
$(call KMOD_template
,IPT_ULOG
,ipt-ulog
,\
105 $(foreach mod
,$(IPT_ULOG-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).ko
) \
108 $(eval
$(call KMOD_template
,IP6TABLES
,ip6tables
,\
109 $(MODULES_DIR
)/kernel
/net
/ipv6
/netfilter
/ip
*.ko \
110 ,CONFIG_IP6_NF_IPTABLES
,kmod-ipv6
))
115 $(eval
$(call KMOD_template
,IDE
,ide
,\
116 $(MODULES_DIR
)/kernel
/drivers
/ide
/*.ko \
117 $(MODULES_DIR
)/kernel
/drivers
/ide
/*/*.ko \
120 $(eval
$(call KMOD_template
,LOOP
,loop
,\
121 $(MODULES_DIR
)/kernel
/drivers
/block
/loop.ko \
122 ,CONFIG_BLK_DEV_LOOP
,,20,loop
))
124 $(eval
$(call KMOD_template
,NBD
,nbd
,\
125 $(MODULES_DIR
)/kernel
/drivers
/block
/nbd.ko \
126 ,CONFIG_BLK_DEV_NBD
,,20,nbd
))
131 $(eval
$(call KMOD_template
,CRYPTO
,crypto
,\
132 $(MODULES_DIR
)/kernel
/crypto
/*.ko \
138 $(eval
$(call KMOD_template
,FS_CIFS
,fs-cifs
,\
139 $(MODULES_DIR
)/kernel
/fs
/cifs
/cifs.ko \
140 ,CONFIG_CIFS
,kmod-nls-base
,30,cifs
))
142 $(eval
$(call KMOD_template
,FS_MINIX
,fs-minix
,\
143 $(MODULES_DIR
)/kernel
/fs
/minix
/minix.ko \
144 ,CONFIG_MINIX_FS
,,30,minix
))
146 $(eval
$(call KMOD_template
,FS_EXT2
,fs-ext2
,\
147 $(MODULES_DIR
)/kernel
/fs
/ext2
/ext2.ko \
148 ,CONFIG_EXT2_FS
,,30,ext2
))
150 $(eval
$(call KMOD_template
,FS_EXT3
,fs-ext3
,\
151 $(MODULES_DIR
)/kernel
/fs
/ext3
/ext3.ko \
152 $(MODULES_DIR
)/kernel
/fs
/jbd
/jbd.ko \
153 ,CONFIG_EXT3_FS
,,30,jbd ext3
))
155 $(eval
$(call KMOD_template
,FS_HFSPLUS
,fs-hfsplus
,\
156 $(MODULES_DIR
)/kernel
/fs
/hfsplus
/hfsplus.ko \
157 ,CONFIG_HFSPLUS_FS
,kmod-nls-base
,30,hfsplus
))
159 $(eval
$(call KMOD_template
,FS_NFS
,fs-nfs
,\
160 $(MODULES_DIR
)/kernel
/fs
/lockd
/lockd.ko \
161 $(MODULES_DIR
)/kernel
/fs
/nfs
/nfs.ko \
162 $(MODULES_DIR
)/kernel
/net
/sunrpc
/sunrpc.ko \
163 ,CONFIG_NFS_FS
,,30,sunrpc lockd nfs
))
165 $(eval
$(call KMOD_template
,FS_VFAT
,fs-vfat
,\
166 $(MODULES_DIR
)/kernel
/fs
/fat
/fat.ko \
167 $(MODULES_DIR
)/kernel
/fs
/vfat
/vfat.ko \
168 ,CONFIG_VFAT_FS
,kmod-nls-base
,30,fat vfat
))
170 $(eval
$(call KMOD_template
,FS_XFS
,fs-xfs
,\
171 $(MODULES_DIR
)/kernel
/fs
/xfs
/xfs.ko \
172 ,CONFIG_XFS_FS
,,30,xfs
))
177 $(eval
$(call KMOD_template
,PWC
,pwc
,\
178 $(MODULES_DIR
)/kernel
/drivers
/usb
/media
/pwc
/pwc.ko \
179 ,CONFIG_USB_PWC
,kmod-videodev
,63,pwc
))
181 $(eval
$(call KMOD_template
,SOUNDCORE
,soundcore
,\
182 $(MODULES_DIR
)/kernel
/sound
/soundcore.ko \
183 ,CONFIG_SOUND
,,30,soundcore
))
185 $(eval
$(call KMOD_template
,VIDEODEV
,videodev
,\
186 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/v4l1-compat.ko \
187 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/v4l2-common.ko \
188 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/videodev.ko \
189 ,CONFIG_VIDEO_DEV
,,62,videodev
))
194 $(eval
$(call KMOD_template
,NLS_BASE
,nls-base
,\
195 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_base.ko \
196 ,CONFIG_NLS
,,20,nls_base
))
198 $(eval
$(call KMOD_template
,NLS_CP437
,nls-cp437
,\
199 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_cp437.ko \
200 ,CONFIG_NLS_CODEPAGE_437
,,20,nls_cp437
))
202 $(eval
$(call KMOD_template
,NLS_CP850
,nls-cp850
,\
203 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_cp850.ko \
204 ,CONFIG_NLS_CODEPAGE_850
,,20,nls_cp850
))
206 $(eval
$(call KMOD_template
,NLS_ISO8859_1
,nls-iso8859-1
,\
207 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_iso8859-1.ko \
208 ,CONFIG_NLS_ISO8859_1
,,20,nls_iso8859-1
))
210 $(eval
$(call KMOD_template
,NLS_ISO8859_15
,nls-iso8859-15
,\
211 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_iso8859-15.ko \
212 ,CONFIG_NLS_ISO8859_15
,,20,nls_iso8859-15
))
214 $(eval
$(call KMOD_template
,NLS_UTF8
,nls-utf8
,\
215 $(MODULES_DIR
)/kernel
/fs
/nls
/nls_utf8.ko \
216 ,CONFIG_NLS_UTF8
,,20,nls_utf8
))
221 $(eval
$(call KMOD_template
,NET_3C59X
,net-3c59x
,\
222 $(MODULES_DIR
)/kernel
/drivers
/net
/3c59x.ko \
223 ,CONFIG_VORTEX
,,10,3c59x
))
225 $(eval
$(call KMOD_template
,NET_8139TOO
,net-8139too
,\
226 $(MODULES_DIR
)/kernel
/drivers
/net
/8139too.ko \
227 ,CONFIG_8139TOO
,,10,8139too
))
229 $(eval
$(call KMOD_template
,NET_AIRO
,net-airo
,\
230 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/airo.ko \
231 ,CONFIG_AIRO
,,10,airo
))
233 $(eval
$(call KMOD_template
,NET_E100
,net-e100
,\
234 $(MODULES_DIR
)/kernel
/drivers
/net
/e100.ko \
235 ,CONFIG_E100
,,10,e100
))
237 $(eval
$(call KMOD_template
,NET_HERMES
,net-hermes
,\
238 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/hermes.ko \
239 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco.ko \
240 ,CONFIG_HERMES
,,10,hermes orinoco
))
242 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-pci
,\
243 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_pci.ko \
244 ,CONFIG_PCI_HERMES
,kmod-net-hermes
,11,orinoco_pci
))
246 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-plx
,\
247 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_plx.ko \
248 ,CONFIG_PLX_HERMES
,kmod-net-hermes
,11,orinoco_plx
))
250 $(eval
$(call KMOD_template
,NET_NATSEMI
,net-natsemi
,\
251 $(MODULES_DIR
)/kernel
/drivers
/net
/natsemi.ko \
252 ,CONFIG_NATSEMI
,,10,natsemi
))
254 $(eval
$(call KMOD_template
,NET_PRISM54
,net-prism54
,\
255 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/prism54
/prism54.ko \
256 ,CONFIG_PRISM54
,,10,prism54
))
261 $(eval
$(call KMOD_template
,PCMCIA_CORE
,pcmcia-core
,\
262 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia.ko \
263 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia_core.ko \
264 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/yenta_socket.ko \
265 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/rsrc_nonstatic.ko \
266 ,CONFIG_PCMCIA
,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic
))
268 $(eval
$(call KMOD_template
,PCMCIA_SERIAL
,pcmcia-serial
,\
269 $(MODULES_DIR
)/kernel
/drivers
/serial
/serial_cs.ko \
270 ,CONFIG_SERIAL_8250_CS
))
275 $(eval
$(call KMOD_template
,USB
,usb-core
,\
276 $(MODULES_DIR
)/kernel
/drivers
/usb
/core
/usbcore.ko \
277 ,CONFIG_USB
,,50,usbcore
))
279 $(eval
$(call KMOD_template
,USB_OHCI
,usb-ohci
,\
280 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ohci-hcd.ko \
281 ,CONFIG_USB_OHCI_HCD
,kmod-usb-core
,60,ohci-hcd
))
283 $(eval
$(call KMOD_template
,USB_UHCI
,usb-uhci
,\
284 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci-hcd.ko \
285 ,CONFIG_USB_UHCI_HCD
,kmod-usb-core
,60,uhci-hcd
))
287 $(eval
$(call KMOD_template
,USB2
,usb2
,\
288 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ehci-hcd.ko \
289 ,CONFIG_USB_EHCI_HCD
,kmod-usb-core
,60,ehci-hcd
))
291 $(eval
$(call KMOD_template
,USB_ACM
,usb-acm
,\
292 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/cdc-acm.ko \
295 $(eval
$(call KMOD_template
,USB_AUDIO
,usb-audio
,\
296 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/audio.ko \
297 ,CONFIG_USB_AUDIO
,kmod-soundcore kmod-usb-core
,61,audio
))
299 $(eval
$(call KMOD_template
,USB_PRINTER
,usb-printer
,\
300 $(MODULES_DIR
)/kernel
/drivers
/usb
/class
/usblp.ko \
301 ,CONFIG_USB_PRINTER
,kmod-usb-core
,60,usblp
))
303 $(eval
$(call KMOD_template
,USB_SERIAL
,usb-serial
,\
304 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/usbserial.ko \
305 ,CONFIG_USB_SERIAL
,kmod-usb-core
,60,usbserial
))
307 $(eval
$(call KMOD_template
,USB_SERIAL_BELKIN
,usb-serial-belkin
,\
308 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/belkin_sa.ko \
309 ,CONFIG_USB_SERIAL_BELKIN
,kmod-usb-serial
,61,belkin_sa
))
311 $(eval
$(call KMOD_template
,USB_SERIAL_FTDI
,usb-serial-ftdi
,\
312 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/ftdi_sio.ko \
313 ,CONFIG_USB_SERIAL_FTDI_SIO
,kmod-usb-serial
,61,ftdi_sio
))
315 $(eval
$(call KMOD_template
,USB_SERIAL_MCT_U232
,usb-serial-mct-u232
,\
316 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/mct_u232.ko \
317 ,CONFIG_USB_SERIAL_MCT_U232
,kmod-usb-serial
,61,mct_u232
))
319 $(eval
$(call KMOD_template
,USB_SERIAL_PL2303
,usb-serial-pl2303
,\
320 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/pl2303.ko \
321 ,CONFIG_USB_SERIAL_PL2303
,kmod-usb-serial
,61,pl2303
))
323 $(eval
$(call KMOD_template
,USB_SERIAL_VISOR
,usb-serial-visor
,\
324 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/visor.ko \
325 ,CONFIG_USB_SERIAL_VISOR
,kmod-usb-serial
,61,visor
))
327 $(eval
$(call KMOD_template
,USB_STORAGE
,usb-storage
,\
328 $(MODULES_DIR
)/kernel
/drivers
/scsi
/scsi_mod.ko \
329 $(MODULES_DIR
)/kernel
/drivers
/scsi
/sd_mod.ko \
330 $(MODULES_DIR
)/kernel
/drivers
/usb
/storage
/usb-storage.ko \
331 ,CONFIG_USB_STORAGE
,kmod-usb-core
,60,scsi_mod sd_mod usb-storage
))
333 $(eval
$(call KMOD_template
,USB_ATM
,usb-atm
,\
334 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/usbatm.ko \
335 ,CONFIG_USB_ATM
,kmod-usb-atm
,50,usbatm
))
337 $(eval
$(call KMOD_template
,USB_ATM_SPEEDTOUCH
,usb-atm-speedtouch
,\
338 $(MODULES_DIR
)/kernel
/drivers
/usb
/atm
/speedtch.ko \
339 ,CONFIG_USB_SPEEDTOUCH
,kmod-usb-atm-speedtouch
,50,speedtch
))
343 $(eval
$(call KMOD_template
,AX25
,ax25
,\
344 $(MODULES_DIR
)/kernel
/net
/ax25
/ax25.ko \
345 $(MODULES_DIR
)/kernel
/drivers
/net
/hamradio
/mkiss.ko \
346 ,CONFIG_AX25
,,90,ax25 mkiss
))
348 $(eval
$(call KMOD_template
,BLUETOOTH
,bluetooth
,\
349 $(MODULES_DIR
)/kernel
/net
/bluetooth
/bluetooth.ko \
350 $(MODULES_DIR
)/kernel
/net
/bluetooth
/l2cap.ko \
351 $(MODULES_DIR
)/kernel
/net
/bluetooth
/sco.ko \
352 $(MODULES_DIR
)/kernel
/net
/bluetooth
/rfcomm
/rfcomm.ko \
353 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_uart.ko \
354 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_usb.ko \