add a fix for the block2mtd init
[openwrt.git] / include / modules-2.4.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 include $(INCLUDE_DIR)/netfilter.mk
8
9 # Networking
10
11 $(eval $(call KMOD_template,ATM,atm,\
12 $(MODULES_DIR)/kernel/net/atm/atm.o \
13 $(MODULES_DIR)/kernel/net/atm/br2684.o \
14 ,CONFIG_ATM,,50,atm))
15
16 $(eval $(call KMOD_template,GRE,gre,\
17 $(MODULES_DIR)/kernel/net/ipv4/ip_gre.o \
18 ,CONFIG_NET_IPGRE))
19
20 $(eval $(call KMOD_template,IPIP,ipip,\
21 $(MODULES_DIR)/kernel/net/ipv4/ipip.o \
22 ,CONFIG_NET_IPIP,,60,ipip))
23
24 $(eval $(call KMOD_template,TUN,tun,\
25 $(MODULES_DIR)/kernel/drivers/net/tun.o \
26 ,CONFIG_TUN,,20,tun))
27
28 # Block devices
29
30 $(eval $(call KMOD_template,LOOP,loop,\
31 $(MODULES_DIR)/kernel/drivers/block/loop.o \
32 ,CONFIG_BLK_DEV_LOOP,,20,loop))
33
34 $(eval $(call KMOD_template,NBD,nbd,\
35 $(MODULES_DIR)/kernel/drivers/block/nbd.o \
36 ,CONFIG_BLK_DEV_NBD,,20,nbd))
37
38
39 # Filesystems
40
41 $(eval $(call KMOD_template,FS_CIFS,fs-cifs,\
42 $(MODULES_DIR)/kernel/fs/cifs/cifs.o \
43 ,CONFIG_CIFS,,30,cifs))
44
45 $(eval $(call KMOD_template,FS_MINIX,fs-minix,\
46 $(MODULES_DIR)/kernel/fs/minix/*.o \
47 ,CONFIG_MINIX_FS,,30,minix))
48
49 $(eval $(call KMOD_template,FS_EXT2,fs-ext2,\
50 $(MODULES_DIR)/kernel/fs/ext2/*.o \
51 ,CONFIG_EXT2_FS,,30,ext2))
52
53 $(eval $(call KMOD_template,FS_EXT3,fs-ext3,\
54 $(MODULES_DIR)/kernel/fs/ext3/*.o \
55 $(MODULES_DIR)/kernel/fs/jbd/*.o \
56 ,CONFIG_EXT3_FS,,30,jbd ext3))
57
58 $(eval $(call KMOD_template,FS_HFSPLUS,fs-hfsplus,\
59 $(MODULES_DIR)/kernel/fs/hfsplus/*.o \
60 ,CONFIG_HFSPLUS_FS,,30,hfsplus))
61
62 $(eval $(call KMOD_template,FS_NFS,fs-nfs,\
63 $(MODULES_DIR)/kernel/fs/lockd/*.o \
64 $(MODULES_DIR)/kernel/fs/nfs/*.o \
65 $(MODULES_DIR)/kernel/net/sunrpc/*.o \
66 ,CONFIG_NFS_FS,,30,sunrpc lockd nfs))
67
68 $(eval $(call KMOD_template,FS_VFAT,fs-vfat,\
69 $(MODULES_DIR)/kernel/fs/vfat/vfat.o \
70 $(MODULES_DIR)/kernel/fs/fat/fat.o \
71 ,CONFIG_VFAT_FS,,30,fat vfat))
72
73 $(eval $(call KMOD_template,FS_XFS,fs-xfs,\
74 $(MODULES_DIR)/kernel/fs/xfs/*.o \
75 ,CONFIG_XFS_FS,,30,xfs))
76
77
78 # Multimedia
79
80 $(eval $(call KMOD_template,PWC,pwc,\
81 $(MODULES_DIR)/kernel/drivers/usb/pwc.o \
82 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
83
84 $(eval $(call KMOD_template,SOUNDCORE,soundcore,\
85 $(MODULES_DIR)/kernel/drivers/sound/soundcore.o \
86 ,CONFIG_SOUND,,30,soundcore))
87
88 $(eval $(call KMOD_template,VIDEODEV,videodev,\
89 $(MODULES_DIR)/kernel/drivers/media/video/videodev.o \
90 ,CONFIG_VIDEO_DEV,,62,videodev))
91
92
93 # Network devices
94
95 $(eval $(call KMOD_template,NET_3C59X,net-3c59x,\
96 $(MODULES_DIR)/kernel/drivers/net/3c59x.o \
97 ,CONFIG_VORTEX,,10,3c59x))
98
99 $(eval $(call KMOD_template,NET_8139TOO,net-8139too,\
100 $(MODULES_DIR)/kernel/drivers/net/8139too.o \
101 $(MODULES_DIR)/kernel/drivers/net/mii.o \
102 ,CONFIG_8139TOO,,10,mii 8139too))
103
104 $(eval $(call KMOD_template,NET_AIRO,net-airo,\
105 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.o \
106 ,CONFIG_AIRO,,10,airo))
107
108 $(eval $(call KMOD_template,NET_E100,net-e100,\
109 $(MODULES_DIR)/kernel/drivers/net/e100.o \
110 ,CONFIG_E100,,10,e100))
111
112 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\
113 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.o \
114 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.o \
115 ,CONFIG_HERMES,,10,hermes orinoco))
116
117 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\
118 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.o \
119 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))
120
121 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\
122 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.o \
123 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))
124
125 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\
126 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.o \
127 ,CONFIG_PRISM54,,10,prism54))
128
129
130 # PCMCIA/CardBus
131
132 $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\
133 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.o \
134 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.o \
135 $(MODULES_DIR)/kernel/drivers/pcmcia/ds.o \
136 ,CONFIG_PCMCIA,,50,pcmcia_core yenta_socket ds))
137
138 $(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\
139 $(MODULES_DIR)/kernel/drivers/char/pcmcia/serial_cs.o \
140 ,CONFIG_PCMCIA_SERIAL_CS,kmod-pcmcia-core,51,serial_cs))
141
142
143 # USB
144
145 $(eval $(call KMOD_template,USB,usb-core,\
146 $(MODULES_DIR)/kernel/drivers/usb/usbcore.o \
147 ,CONFIG_USB,,50,usbcore))
148
149 $(eval $(call KMOD_template,USB_OHCI,usb-ohci,\
150 $(MODULES_DIR)/kernel/drivers/usb/host/usb-ohci.o \
151 ,CONFIG_USB_OHCI,kmod-usb-core,60,usb-ohci))
152
153 $(eval $(call KMOD_template,USB_UHCI,usb-uhci,\
154 $(MODULES_DIR)/kernel/drivers/usb/host/uhci.o \
155 ,CONFIG_USB_UHCI_ALT,kmod-usb-core,60,uhci))
156
157 $(eval $(call KMOD_template,USB2,usb2,\
158 $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd.o \
159 ,CONFIG_USB_EHCI_HCD,kmod-usb-core,60,ehci-hcd))
160
161 $(eval $(call KMOD_template,USB_ACM,usb-acm,\
162 $(MODULES_DIR)/kernel/drivers/usb/acm.o \
163 ,CONFIG_USB_ACM))
164
165 $(eval $(call KMOD_template,USB_AUDIO,usb-audio,\
166 $(MODULES_DIR)/kernel/drivers/usb/audio.o \
167 ,CONFIG_USB_AUDIO,kmod-soundcore kmod-usb-core,61,audio))
168
169 $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\
170 $(MODULES_DIR)/kernel/drivers/usb/printer.o \
171 ,CONFIG_USB_PRINTER,kmod-usb-core,60,printer))
172
173 $(eval $(call KMOD_template,USB_SERIAL,usb-serial,\
174 $(MODULES_DIR)/kernel/drivers/usb/serial/usbserial.o \
175 ,CONFIG_USB_SERIAL,kmod-usb-core,60,usbserial))
176
177 $(eval $(call KMOD_template,USB_SERIAL_BELKIN,usb-serial-belkin,\
178 $(MODULES_DIR)/kernel/drivers/usb/serial/belkin_sa.o \
179 ,CONFIG_USB_SERIAL_BELKIN,kmod-usb-serial,61,belkin_sa))
180
181 $(eval $(call KMOD_template,USB_SERIAL_FTDI,usb-serial-ftdi,\
182 $(MODULES_DIR)/kernel/drivers/usb/serial/ftdi_sio.o \
183 ,CONFIG_USB_SERIAL_FTDI_SIO,kmod-usb-serial,61,ftdi_sio))
184
185 $(eval $(call KMOD_template,USB_SERIAL_MCT_U232,usb-serial-mct-u232,\
186 $(MODULES_DIR)/kernel/drivers/usb/serial/mct_u232.o \
187 ,CONFIG_USB_SERIAL_MCT_U232,kmod-usb-serial,61,mct_u232))
188
189 $(eval $(call KMOD_template,USB_SERIAL_PL2303,usb-serial-pl2303,\
190 $(MODULES_DIR)/kernel/drivers/usb/serial/pl2303.o \
191 ,CONFIG_USB_SERIAL_PL2303,kmod-usb-serial,61,pl2303))
192
193 $(eval $(call KMOD_template,USB_SERIAL_VISOR,usb-serial-visor,\
194 $(MODULES_DIR)/kernel/drivers/usb/serial/visor.o \
195 ,CONFIG_USB_SERIAL_VISOR,kmod-usb-serial,61,visor))
196
197 $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\
198 $(MODULES_DIR)/kernel/drivers/scsi/*.o \
199 $(MODULES_DIR)/kernel/drivers/usb/storage/*.o \
200 ,CONFIG_USB_STORAGE,kmod-usb-core,60,scsi_mod sd_mod usb-storage))
201
202
203 # Misc. devices
204
205 $(eval $(call KMOD_template,AX25,ax25,\
206 $(MODULES_DIR)/kernel/net/ax25/ax25.o \
207 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.o \
208 ,CONFIG_AX25,,90,ax25 mkiss))
209
210 $(eval $(call KMOD_template,BLUETOOTH,bluetooth,\
211 $(MODULES_DIR)/kernel/net/bluetooth/*.o \
212 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/*.o \
213 $(MODULES_DIR)/kernel/drivers/bluetooth/*.o \
214 ,CONFIG_BLUEZ))
215
216 $(eval $(call KMOD_template,SOFTDOG,softdog,\
217 $(MODULES_DIR)/kernel/drivers/char/softdog.o \
218 ,CONFIG_SOFT_WATCHDOG,,95,softdog))
219
220
221
This page took 0.056377 seconds and 5 git commands to generate.