0f6bb112222070abbbfca3f03c3cd7f10c54bc59
[openwrt.git] / package / kernel / modules / other.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 # $Id$
8
9 EMENU:=Other modules
10
11 define KernelPackage/crypto
12 TITLE:=CryptoAPI modules
13 KCONFIG:= \
14 $(CONFIG_CRYPTO_HMAC) \
15 $(CONFIG_CRYPTO_NULL) \
16 $(CONFIG_CRYPTO_MD4) \
17 $(CONFIG_CRYPTO_MD5) \
18 $(CONFIG_CRYPTO_SHA1) \
19 $(CONFIG_CRYPTO_SHA256) \
20 $(CONFIG_CRYPTO_SHA512) \
21 $(CONFIG_CRYPTO_WP512) \
22 $(CONFIG_CRYPTO_TGR192) \
23 $(CONFIG_CRYPTO_DES) \
24 $(CONFIG_CRYPTO_BLOWFISH) \
25 $(CONFIG_CRYPTO_TWOFISH) \
26 $(CONFIG_CRYPTO_SERPENT) \
27 $(CONFIG_CRYPTO_AES) \
28 $(CONFIG_CRYPTO_CAST5) \
29 $(CONFIG_CRYPTO_CAST6) \
30 $(CONFIG_CRYPTO_TEA) \
31 $(CONFIG_CRYPTO_ARC4) \
32 $(CONFIG_CRYPTO_KHAZAD) \
33 $(CONFIG_CRYPTO_ANUBIS) \
34 $(CONFIG_CRYPTO_DEFLATE) \
35 $(CONFIG_CRYPTO_MICHAEL_MIC) \
36 $(CONFIG_CRYPTO_CRC32C)
37 FILES:=$(MODULES_DIR)/kernel/crypto/*.$(LINUX_KMOD_SUFFIX)
38 SUBMENU:=$(EMENU)
39 endef
40 $(eval $(call KernelPackage,crypto))
41
42 define KernelPackage/ide-core
43 TITLE:=Kernel support for IDE
44 DESCRIPTION:=\
45 Useful for usb mass storage devices (e.g. on WL-HDD)\\\
46 \\\
47 Includes: \\\
48 - ide-core \\\
49 - ide-detect \\\
50 - ide-disk
51 KCONFIG:=$(CONFIG_IDE)
52 FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX)
53 SUBMENU:=$(EMENU)
54 AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-generic ide-detect ide-disk)
55 endef
56 $(eval $(call KernelPackage,ide-core))
57
58 define KernelPackage/ide-pdc202xx
59 TITLE:=PDC202xx IDE driver
60 SUBMENU:=$(EMENU)
61 KCONFIG:=$(CONFIG_BLK_DEV_PDC202XX_OLD)
62 FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
63 AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
64 endef
65 $(eval $(call KernelPackage,ide-pdc202xx))
66
67 define KernelPackage/ide-aec62xx
68 TITLE:=AEC62xx IDE driver
69 SUBMENU:=$(EMENU)
70 KCONFIG:=$(CONFIG_BLK_DEV_AEC62XX)
71 FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/aec62xx.$(LINUX_KMOD_SUFFIX)
72 AUTOLOAD:=$(call AutoLoad,30,aec62xx)
73 endef
74 $(eval $(call KernelPackage,ide-aec62xx))
75
76 define KernelPackage/scsi-core
77 TITLE:=Kernel support for SCSI
78 SUBMENU:=$(EMENU)
79 KCONFIG:=$(CONFIG_BLK_DEV_SD)
80 FILES:= \
81 $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \
82 $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX)
83 endef
84 $(eval $(call KernelPackage,scsi-core))
85
86 define KernelPackage/lp
87 TITLE:=Parallel port and line printer support
88 KCONFIG:=$(CONFIG_PARPORT)
89 FILES:= \
90 $(MODULES_DIR)/kernel/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
91 $(MODULES_DIR)/kernel/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
92 $(MODULES_DIR)/kernel/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
93 SUBMENU:=$(EMENU)
94 AUTOLOAD:=$(call AutoLoad,50, \
95 parport \
96 lp \
97 )
98 endef
99 $(eval $(call KernelPackage,lp))
100
101
102 define KernelPackage/soundcore
103 TITLE:=Sound support
104 DESCRIPTION:=Kernel modules for sound support
105 KCONFIG:=$(CONFIG_SOUND)
106 SUBMENU:=$(EMENU)
107 endef
108
109 define KernelPackage/soundcore/2.4
110 FILES:=$(MODULES_DIR)/kernel/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
111 AUTOLOAD:=$(call AutoLoad,30,soundcore)
112 endef
113
114 define KernelPackage/soundcore/2.6
115 FILES:= \
116 $(MODULES_DIR)/kernel/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
117 $(MODULES_DIR)/kernel/sound/core/*.$(LINUX_KMOD_SUFFIX) \
118 $(MODULES_DIR)/kernel/sound/core/oss/*.$(LINUX_KMOD_SUFFIX)
119 AUTOLOAD:=$(call AutoLoad,30,snd snd-page-alloc snd-hwdep snd-rawmidi snd-timer snd-pcm snd-mixer-oss snd-pcm-oss)
120 endef
121 $(eval $(call KernelPackage,soundcore))
122
123 define KernelPackage/loop
124 TITLE:=Loopback device support
125 DESCRIPTION:=Kernel module for loopback device support
126 KCONFIG:=$(CONFIG_BLK_DEV_LOOP)
127 SUBMENU:=$(EMENU)
128 AUTOLOAD:=$(call AutoLoad,30,loop)
129 FILES:=$(MODULES_DIR)/kernel/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
130 endef
131 $(eval $(call KernelPackage,loop))
132
133 define KernelPackage/nbd
134 TITLE:=Network block device support
135 DESCRIPTION:=Kernel module for network block device support
136 KCONFIG:=$(CONFIG_BLK_DEV_NBD)
137 SUBMENU:=$(EMENU)
138 AUTOLOAD:=$(call AutoLoad,30,nbd)
139 FILES:=$(MODULES_DIR)/kernel/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
140 endef
141 $(eval $(call KernelPackage,nbd))
142
143 define KernelPackage/capi
144 TITLE:=CAPI Support
145 DESCRIPTION:=Kernel module for basic CAPI support
146 KCONFIG:=$(CONFIG_ISDN) $(CONFIG_ISDN_CAPI) $(CONFIG_ISDN_CAPI_CAPI20)
147 SUBMENU:=$(EMENU)
148 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
149 FILES:=$(MODULES_DIR)/kernel/drivers/isdn/capi/*capi.$(LINUX_KMOD_SUFFIX)
150 endef
151 $(eval $(call KernelPackage,capi))
152
153 define KernelPackage/pcmcia-core
154 TITLE:=PCMCIA/CardBus support
155 DESCRIPTION:=Kernel support for PCMCIA/CardBus controllers
156 SUBMENU:=$(EMENU)
157 KCONFIG:=$(CONFIG_PCMCIA)
158 endef
159
160 define KernelPackage/pcmcia-core/2.4
161 FILES:= \
162 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
163 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
164 $(MODULES_DIR)/kernel/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
165 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
166 endef
167
168 define KernelPackage/pcmcia-core/2.6
169 FILES:= \
170 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
171 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
172 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
173 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
174 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket)
175 endef
176 $(eval $(call KernelPackage,pcmcia-core))
177
178
179 define KernelPackage/pcmcia-serial
180 TITLE:=Serial devices support
181 DESCRIPTION:=Kernel support for PCMCIA/CardBus serial devices
182 DEPENDS:=kmod-pcmcia-core
183 SUBMENU:=$(EMENU)
184 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
185 endef
186
187 define KernelPackage/pcmcia-serial/2.4
188 KCONFIG:=$(CONFIG_PCMCIA_SERIAL_CS)
189 FILES:=$(MODULES_DIR)/kernel/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
190 endef
191
192 define KernelPackage/pcmcia-serial/2.6
193 KCONFIG:=$(CONFIG_SERIAL_8250_CS)
194 FILES:=$(MODULES_DIR)/kernel/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
195 endef
196 $(eval $(call KernelPackage,pcmcia-serial))
197
198
199 define KernelPackage/bluetooth
200 TITLE:=Bluetooth support
201 DEPENDS:=@USB_SUPPORT
202 DESCRIPTION:=Kernel support for Bluetooth devices
203 SUBMENU:=$(EMENU)
204 endef
205
206 define KernelPackage/bluetooth/2.4
207 KCONFIG:=$(CONFIG_BLUEZ)
208 FILES:= \
209 $(MODULES_DIR)/kernel/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
210 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
211 $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
212 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
213 $(MODULES_DIR)/kernel/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
214 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
215 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
216 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
217 endef
218
219 define KernelPackage/bluetooth/2.6
220 KCONFIG:=$(CONFIG_BT)
221 FILES:= \
222 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
223 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
224 $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
225 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
226 $(MODULES_DIR)/kernel/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
227 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
228 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
229 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb)
230 endef
231 $(eval $(call KernelPackage,bluetooth))
232
233 define KernelPackage/mmc
234 TITLE:=MMC/SD Card Support
235 DEPENDS:=@LINUX_2_6_AT91
236 DESCRIPTION:=Kernel support for MMC/SD cards
237 SUBMENU:=$(EMENU)
238 endef
239
240 define KernelPackage/mmc/2.6
241 KCONFIG:=$(CONFIG_MMC)
242 FILES:= \
243 $(MODULES_DIR)/kernel/drivers/mmc/mmc_core.$(LINUX_KMOD_SUFFIX) \
244 $(MODULES_DIR)/kernel/drivers/mmc/mmc_block.$(LINUX_KMOD_SUFFIX) \
245 $(MODULES_DIR)/kernel/drivers/mmc/at91_mci.$(LINUX_KMOD_SUFFIX)
246 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block at91_mci)
247 endef
248 $(eval $(call KernelPackage,mmc))
249
250 define KernelPackage/softdog
251 TITLE:=Software watchdog driver
252 DESCRIPTION:=Software watchdog driver
253 SUBMENU:=$(EMENU)
254 KCONFIG:=$(CONFIG_SOFT_WATCHDOG)
255 FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.$(LINUX_KMOD_SUFFIX)
256 AUTOLOAD:=$(call AutoLoad,50,softdog)
257 endef
258
259 define KernelPackage/softdog/2.4
260 FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.o
261 endef
262
263 define KernelPackage/softdog/2.6
264 FILES:=$(MODULES_DIR)/kernel/drivers/char/watchdog/softdog.ko
265 endef
266
267 $(eval $(call KernelPackage,softdog))
268
269
270 define KernelPackage/videodev
271 TITLE=Video4Linux support
272 DESCRIPTION:=Kernel modules for Video4Linux support
273 DEPENDS:=@VIDEO_SUPPORT
274 SUBMENU:=$(EMENU)
275 KCONFIG:=$(CONFIG_VIDEO_DEV)
276 FILES:=$(MODULES_DIR)/kernel/drivers/media/video/*.$(LINUX_KMOD_SUFFIX)
277 endef
278
279 define KernelPackage/videodev/2.4
280 AUTOLOAD:=$(call AutoLoad,60,videodev)
281 endef
282
283 define KernelPackage/videodev/2.6
284 AUTOLOAD:=$(call AutoLoad,60,v4l2-common v4l1-compat videodev)
285 endef
286 $(eval $(call KernelPackage,videodev))
287
288
289
This page took 0.051018 seconds and 3 git commands to generate.