forgot to remove a part of the description...
[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-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
68 define KernelPackage/lp
69 TITLE:=Parallel port and line printer support
70 KCONFIG:=$(CONFIG_PARPORT)
71 FILES:= \
72 $(MODULES_DIR)/kernel/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
73 $(MODULES_DIR)/kernel/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
74 $(MODULES_DIR)/kernel/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
75 SUBMENU:=$(EMENU)
76 AUTOLOAD:=$(call AutoLoad,50, \
77 parport \
78 lp \
79 )
80 endef
81 $(eval $(call KernelPackage,lp))
82
83
84 define KernelPackage/soundcore
85 TITLE:=Sound support
86 DESCRIPTION:=Kernel modules for sound support
87 KCONFIG:=$(CONFIG_SOUND)
88 SUBMENU:=$(EMENU)
89 AUTOLOAD:=$(call AutoLoad,30,soundcore)
90 endef
91
92 define KernelPackage/soundcore/2.4
93 FILES:=$(MODULES_DIR)/kernel/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
94 endef
95
96 define KernelPackage/soundcore/2.6
97 FILES:=$(MODULES_DIR)/kernel/sound/soundcore.$(LINUX_KMOD_SUFFIX)
98 endef
99 $(eval $(call KernelPackage,soundcore))
100
101
102 define KernelPackage/loop
103 TITLE:=Loopback device support
104 DESCRIPTION:=Kernel module for loopback device support
105 KCONFIG:=$(CONFIG_BLK_DEV_LOOP)
106 SUBMENU:=$(EMENU)
107 AUTOLOAD:=$(call AutoLoad,30,loop)
108 FILES:=$(MODULES_DIR)/kernel/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
109 endef
110 $(eval $(call KernelPackage,loop))
111
112 define KernelPackage/nbd
113 TITLE:=Network block device support
114 DESCRIPTION:=Kernel module for network block device support
115 KCONFIG:=$(CONFIG_BLK_DEV_NBD)
116 SUBMENU:=$(EMENU)
117 AUTOLOAD:=$(call AutoLoad,30,nbd)
118 FILES:=$(MODULES_DIR)/kernel/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
119 endef
120 $(eval $(call KernelPackage,nbd))
121
122
123 define KernelPackage/pcmcia-core
124 TITLE:=PCMCIA/CardBus support
125 DESCRIPTION:=Kernel support for PCMCIA/CardBus controllers
126 SUBMENU:=$(EMENU)
127 KCONFIG:=$(CONFIG_PCMCIA)
128 endef
129
130 define KernelPackage/pcmcia-core/2.4
131 FILES:= \
132 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
133 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
134 $(MODULES_DIR)/kernel/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
135 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
136 endef
137
138 define KernelPackage/pcmcia-core/2.6
139 FILES:= \
140 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
141 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
142 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
143 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
144 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia yenta_socket rsrc_nonstatic)
145 endef
146 $(eval $(call KernelPackage,pcmcia-core))
147
148
149 define KernelPackage/pcmcia-serial
150 TITLE:=Serial devices support
151 DESCRIPTION:=Kernel support for PCMCIA/CardBus serial devices
152 DEPENDS:=kmod-pcmcia-core
153 SUBMENU:=$(EMENU)
154 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
155 endef
156
157 define KernelPackage/pcmcia-serial/2.4
158 KCONFIG:=$(CONFIG_PCMCIA_SERIAL_CS)
159 FILES:=$(MODULES_DIR)/kernel/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
160 endef
161
162 define KernelPackage/pcmcia-serial/2.6
163 KCONFIG:=$(CONFIG_SERIAL_8250_CS)
164 FILES:=$(MODULES_DIR)/kernel/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
165 endef
166 $(eval $(call KernelPackage,pcmcia-serial))
167
168
169 define KernelPackage/bluetooth
170 TITLE:=Bluetooth support
171 DESCRIPTION:=Kernel support for Bluetooth devices
172 SUBMENU:=$(EMENU)
173 endef
174
175 define KernelPackage/bluetooth/2.4
176 KCONFIG:=$(CONFIG_BLUEZ)
177 FILES:= \
178 $(MODULES_DIR)/kernel/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
179 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
180 $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
181 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
182 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
183 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
184 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm hci_uart hci_usb)
185 endef
186
187 define KernelPackage/bluetooth/2.6
188 KCONFIG:=$(CONFIG_BT)
189 FILES:= \
190 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
191 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
192 $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
193 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
194 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
195 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
196 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm hci_uart hci_usb)
197 endef
198 $(eval $(call KernelPackage,bluetooth))
199
200
201 define KernelPackage/softdog
202 TITLE:=Software watchdog driver
203 DESCRIPTION:=Software watchdog driver
204 SUBMENU:=$(EMENU)
205 KCONFIG:=$(CONFIG_SOFT_WATCHDOG)
206 FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.$(LINUX_KMOD_SUFFIX)
207 AUTOLOAD:=$(call AutoLoad,50,softdog)
208 endef
209
210 define KernelPackage/softdog/2.4
211 FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.o
212 endef
213
214 define KernelPackage/softdog/2.6
215 FILES:=$(MODULES_DIR)/kernel/drivers/char/watchdog/softdog.ko
216 endef
217
218 $(eval $(call KernelPackage,softdog))
219
220
221 define KernelPackage/videodev
222 TITLE=Video4Linux support
223 DESCRIPTION:=Kernel modules for Video4Linux support
224 SUBMENU:=$(EMENU)
225 KCONFIG:=$(CONFIG_VIDEO_DEV)
226 FILES:=$(MODULES_DIR)/kernel/drivers/media/video/*.$(LINUX_KMOD_SUFFIX)
227 endef
228
229 define KernelPackage/videodev/2.4
230 AUTOLOAD:=$(call AutoLoad,60,videodev)
231 endef
232
233 define KernelPackage/videodev/2.6
234 AUTOLOAD:=$(call AutoLoad,60,v4l2-common videodev)
235 endef
236 $(eval $(call KernelPackage,videodev))
237
238
239
This page took 0.049924 seconds and 5 git commands to generate.