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.
7 include $(INCLUDE_DIR
)/netfilter.mk
11 $(eval
$(call KMOD_template
,ATM
,atm
,\
12 $(MODULES_DIR
)/kernel
/net
/atm
/atm.o \
13 $(MODULES_DIR
)/kernel
/net
/atm
/br2684.o \
18 $(eval
$(call KMOD_template
,LOOP
,loop
,\
19 $(MODULES_DIR
)/kernel
/drivers
/block
/loop.o \
20 ,CONFIG_BLK_DEV_LOOP
,,20,loop
))
22 $(eval
$(call KMOD_template
,NBD
,nbd
,\
23 $(MODULES_DIR
)/kernel
/drivers
/block
/nbd.o \
24 ,CONFIG_BLK_DEV_NBD
,,20,nbd
))
29 $(eval
$(call KMOD_template
,FS_CIFS
,fs-cifs
,\
30 $(MODULES_DIR
)/kernel
/fs
/cifs
/cifs.o \
31 ,CONFIG_CIFS
,,30,cifs
))
33 $(eval
$(call KMOD_template
,FS_MINIX
,fs-minix
,\
34 $(MODULES_DIR
)/kernel
/fs
/minix
/*.o \
35 ,CONFIG_MINIX_FS
,,30,minix
))
37 $(eval
$(call KMOD_template
,FS_EXT2
,fs-ext2
,\
38 $(MODULES_DIR
)/kernel
/fs
/ext2
/*.o \
39 ,CONFIG_EXT2_FS
,,30,ext2
))
41 $(eval
$(call KMOD_template
,FS_EXT3
,fs-ext3
,\
42 $(MODULES_DIR
)/kernel
/fs
/ext3
/*.o \
43 $(MODULES_DIR
)/kernel
/fs
/jbd
/*.o \
44 ,CONFIG_EXT3_FS
,,30,jbd ext3
))
46 $(eval
$(call KMOD_template
,FS_HFSPLUS
,fs-hfsplus
,\
47 $(MODULES_DIR
)/kernel
/fs
/hfsplus
/*.o \
48 ,CONFIG_HFSPLUS_FS
,,30,hfsplus
))
50 $(eval
$(call KMOD_template
,FS_NFS
,fs-nfs
,\
51 $(MODULES_DIR
)/kernel
/fs
/lockd
/*.o \
52 $(MODULES_DIR
)/kernel
/fs
/nfs
/*.o \
53 $(MODULES_DIR
)/kernel
/net
/sunrpc
/*.o \
54 ,CONFIG_NFS_FS
,,30,sunrpc lockd nfs
))
56 $(eval
$(call KMOD_template
,FS_VFAT
,fs-vfat
,\
57 $(MODULES_DIR
)/kernel
/fs
/vfat
/vfat.o \
58 $(MODULES_DIR
)/kernel
/fs
/fat
/fat.o \
59 ,CONFIG_VFAT_FS
,,30,fat vfat
))
61 $(eval
$(call KMOD_template
,FS_XFS
,fs-xfs
,\
62 $(MODULES_DIR
)/kernel
/fs
/xfs
/*.o \
63 ,CONFIG_XFS_FS
,,30,xfs
))
68 $(eval
$(call KMOD_template
,PWC
,pwc
,\
69 $(MODULES_DIR
)/kernel
/drivers
/usb
/pwc.o \
70 ,CONFIG_USB_PWC
,kmod-videodev
,63,pwc
))
72 $(eval
$(call KMOD_template
,SOUNDCORE
,soundcore
,\
73 $(MODULES_DIR
)/kernel
/drivers
/sound
/soundcore.o \
74 ,CONFIG_SOUND
,,30,soundcore
))
76 $(eval
$(call KMOD_template
,VIDEODEV
,videodev
,\
77 $(MODULES_DIR
)/kernel
/drivers
/media
/video
/videodev.o \
78 ,CONFIG_VIDEO_DEV
,,62,videodev
))
83 $(eval
$(call KMOD_template
,NET_AIRO
,net-airo
,\
84 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/airo.o \
85 ,CONFIG_AIRO
,,10,airo
))
87 $(eval
$(call KMOD_template
,NET_HERMES
,net-hermes
,\
88 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/hermes.o \
89 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco.o \
90 ,CONFIG_HERMES
,,10,hermes orinoco
))
92 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-pci
,\
93 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_pci.o \
94 ,CONFIG_PCI_HERMES
,kmod-net-hermes
,11,orinoco_pci
))
96 $(eval
$(call KMOD_template
,NET_HERMES_PCI
,net-hermes-plx
,\
97 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/orinoco_plx.o \
98 ,CONFIG_PLX_HERMES
,kmod-net-hermes
,11,orinoco_plx
))
100 $(eval
$(call KMOD_template
,NET_PRISM54
,net-prism54
,\
101 $(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/prism54
/prism54.o \
102 ,CONFIG_PRISM54
,,10,prism54
))
107 $(eval
$(call KMOD_template
,PCMCIA_CORE
,pcmcia-core
,\
108 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia_core.o \
109 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/yenta_socket.o \
110 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/ds.o \
111 ,CONFIG_PCMCIA
,,50,pcmcia_core yenta_socket ds
))
113 $(eval
$(call KMOD_template
,PCMCIA_SERIAL
,pcmcia-serial
,\
114 $(MODULES_DIR
)/kernel
/drivers
/char
/pcmcia
/serial_cs.o \
115 ,CONFIG_PCMCIA_SERIAL_CS
,kmod-pcmcia-core
,51,serial_cs
))
120 $(eval
$(call KMOD_template
,USB
,usb-core
,\
121 $(MODULES_DIR
)/kernel
/drivers
/usb
/usbcore.o \
122 ,CONFIG_USB
,,50,usbcore
))
124 $(eval
$(call KMOD_template
,USB_OHCI
,usb-ohci
,\
125 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/usb-ohci.o \
126 ,CONFIG_USB_OHCI
,kmod-usb-core
,60,usb-ohci
))
128 $(eval
$(call KMOD_template
,USB_UHCI
,usb-uhci
,\
129 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/uhci.o \
130 ,CONFIG_USB_UHCI_ALT
,kmod-usb-core
,60,uhci
))
132 $(eval
$(call KMOD_template
,USB2
,usb2
,\
133 $(MODULES_DIR
)/kernel
/drivers
/usb
/host
/ehci-hcd.o \
134 ,CONFIG_USB_EHCI_HCD
,kmod-usb-core
,60,ehci-hcd
))
136 $(eval
$(call KMOD_template
,USB_ACM
,usb-acm
,\
137 $(MODULES_DIR
)/kernel
/drivers
/usb
/acm.o \
140 $(eval
$(call KMOD_template
,USB_AUDIO
,usb-audio
,\
141 $(MODULES_DIR
)/kernel
/drivers
/usb
/audio.o \
142 ,CONFIG_USB_AUDIO
,kmod-soundcore kmod-usb-core
,61,audio
))
144 $(eval
$(call KMOD_template
,USB_PRINTER
,usb-printer
,\
145 $(MODULES_DIR
)/kernel
/drivers
/usb
/printer.o \
146 ,CONFIG_USB_PRINTER
,kmod-usb-core
,60,printer
))
148 $(eval
$(call KMOD_template
,USB_SERIAL
,usb-serial
,\
149 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/usbserial.o \
150 ,CONFIG_USB_SERIAL
,kmod-usb-core
,60,usbserial
))
152 $(eval
$(call KMOD_template
,USB_SERIAL_BELKIN
,usb-serial-belkin
,\
153 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/belkin_sa.o \
154 ,CONFIG_USB_SERIAL_BELKIN
,kmod-usb-serial
,61,belkin_sa
))
156 $(eval
$(call KMOD_template
,USB_SERIAL_FTDI
,usb-serial-ftdi
,\
157 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/ftdi_sio.o \
158 ,CONFIG_USB_SERIAL_FTDI_SIO
,kmod-usb-serial
,61,ftdi_sio
))
160 $(eval
$(call KMOD_template
,USB_SERIAL_MCT_U232
,usb-serial-mct-u232
,\
161 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/mct_u232.o \
162 ,CONFIG_USB_SERIAL_MCT_U232
,kmod-usb-serial
,61,mct_u232
))
164 $(eval
$(call KMOD_template
,USB_SERIAL_PL2303
,usb-serial-pl2303
,\
165 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/pl2303.o \
166 ,CONFIG_USB_SERIAL_PL2303
,kmod-usb-serial
,61,pl2303
))
168 $(eval
$(call KMOD_template
,USB_SERIAL_VISOR
,usb-serial-visor
,\
169 $(MODULES_DIR
)/kernel
/drivers
/usb
/serial
/visor.o \
170 ,CONFIG_USB_SERIAL_VISOR
,kmod-usb-serial
,61,visor
))
172 $(eval
$(call KMOD_template
,USB_STORAGE
,usb-storage
,\
173 $(MODULES_DIR
)/kernel
/drivers
/scsi
/*.o \
174 $(MODULES_DIR
)/kernel
/drivers
/usb
/storage
/*.o \
175 ,CONFIG_USB_STORAGE
,kmod-usb-core
,60,scsi_mod sd_mod usb-storage
))
180 $(eval
$(call KMOD_template
,AX25
,ax25
,\
181 $(MODULES_DIR
)/kernel
/net
/ax25
/ax25.o \
182 $(MODULES_DIR
)/kernel
/drivers
/net
/hamradio
/mkiss.o \
183 ,CONFIG_AX25
,,90,ax25 mkiss
))
185 $(eval
$(call KMOD_template
,BLUETOOTH
,bluetooth
,\
186 $(MODULES_DIR
)/kernel
/net
/bluetooth
/*.o \
187 $(MODULES_DIR
)/kernel
/net
/bluetooth
/rfcomm
/*.o \
188 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/*.o \
191 $(eval
$(call KMOD_template
,SOFTDOG
,softdog
,\
192 $(MODULES_DIR
)/kernel
/drivers
/char
/softdog.o \
193 ,CONFIG_SOFT_WATCHDOG
,,95,softdog
))