Fix a bogus line with kmod-softdog
[openwrt/svn-archive/archive.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 CONFIG_CRYPTO_ECB \
38 CONFIG_CRYPTO_BLKCIPHER
39 FILES:=$(LINUX_DIR)/crypto/*.$(LINUX_KMOD_SUFFIX)
40 SUBMENU:=$(EMENU)
41 endef
42 $(eval $(call KernelPackage,crypto))
43
44 define KernelPackage/lp
45 TITLE:=Parallel port and line printer support
46 DEPENDS:=@LINUX_2_4
47 KCONFIG:=CONFIG_PARPORT
48 FILES:= \
49 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
50 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
51 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
52 SUBMENU:=$(EMENU)
53 AUTOLOAD:=$(call AutoLoad,50, \
54 parport \
55 lp \
56 )
57 endef
58 $(eval $(call KernelPackage,lp))
59
60
61 define KernelPackage/soundcore
62 TITLE:=Sound support
63 DESCRIPTION:=Kernel modules for sound support
64 KCONFIG:=CONFIG_SOUND
65 SUBMENU:=$(EMENU)
66 endef
67
68 define KernelPackage/soundcore/2.4
69 FILES:=$(LINUX_DIR)/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
70 AUTOLOAD:=$(call AutoLoad,30,soundcore)
71 endef
72
73 define KernelPackage/soundcore/2.6
74 FILES:= \
75 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
76 $(LINUX_DIR)/sound/core/*.$(LINUX_KMOD_SUFFIX) \
77 $(if $(CONFIG_SND_MIXER_OSS)$(CONFIG_SND_PCM_OSS),$(LINUX_DIR)/sound/core/oss/*.$(LINUX_KMOD_SUFFIX))
78 AUTOLOAD:=$(call AutoLoad,30,soundcore snd snd-page-alloc snd-hwdep snd-rawmidi snd-timer snd-pcm $(if $(CONFIG_SND_MIXER_OSS),snd-mixer-oss) $(if $(CONFIG_SND_PCM_OSS),snd-pcm-oss))
79 endef
80
81 define KernelPackage/soundcore/uml-2.6
82 FILES:= \
83 $(LINUX_DIR)/arch/um/drivers/hostaudio.$(LINUX_KMOD_SUFFIX) \
84 $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX)
85 AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
86 endef
87
88 $(eval $(call KernelPackage,soundcore))
89
90
91 define KernelPackage/loop
92 TITLE:=Loopback device support
93 DESCRIPTION:=Kernel module for loopback device support
94 KCONFIG:=CONFIG_BLK_DEV_LOOP
95 SUBMENU:=$(EMENU)
96 AUTOLOAD:=$(call AutoLoad,30,loop)
97 FILES:=$(LINUX_DIR)/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
98 endef
99 $(eval $(call KernelPackage,loop))
100
101 define KernelPackage/nbd
102 TITLE:=Network block device support
103 DESCRIPTION:=Kernel module for network block device support
104 KCONFIG:=CONFIG_BLK_DEV_NBD
105 SUBMENU:=$(EMENU)
106 AUTOLOAD:=$(call AutoLoad,30,nbd)
107 FILES:=$(LINUX_DIR)/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
108 endef
109 $(eval $(call KernelPackage,nbd))
110
111 define KernelPackage/capi
112 TITLE:=CAPI Support
113 DESCRIPTION:=Kernel module for basic CAPI support
114 KCONFIG:=CONFIG_ISDN CONFIG_ISDN_CAPI CONFIG_ISDN_CAPI_CAPI20
115 DEPENDS:=@LINUX_2_6
116 SUBMENU:=$(EMENU)
117 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
118 FILES:=$(LINUX_DIR)/drivers/isdn/capi/*capi.$(LINUX_KMOD_SUFFIX)
119 endef
120 $(eval $(call KernelPackage,capi))
121
122 define KernelPackage/pcmcia-core
123 TITLE:=PCMCIA/CardBus support
124 DESCRIPTION:=Kernel support for PCMCIA/CardBus controllers
125 SUBMENU:=$(EMENU)
126 KCONFIG:=CONFIG_PCMCIA CONFIG_PCCARD
127 endef
128
129 define KernelPackage/pcmcia-core/2.4
130 FILES:= \
131 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
132 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
133 $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
134 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
135 endef
136
137 define KernelPackage/pcmcia-core/2.6
138 FILES:= \
139 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
140 $(if $(CONFIG_PCMCIA),$(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX)) \
141 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) \
142 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
143 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket)
144 endef
145 $(eval $(call KernelPackage,pcmcia-core))
146
147
148 define KernelPackage/pcmcia-serial
149 TITLE:=Serial devices support
150 DESCRIPTION:=Kernel support for PCMCIA/CardBus serial devices
151 DEPENDS:=kmod-pcmcia-core
152 SUBMENU:=$(EMENU)
153 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
154 KCONFIG:=CONFIG_PCMCIA_SERIAL_CS CONFIG_SERIAL_8250_CS
155 endef
156
157 define KernelPackage/pcmcia-serial/2.4
158 FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
159 endef
160
161 define KernelPackage/pcmcia-serial/2.6
162 FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
163 endef
164 $(eval $(call KernelPackage,pcmcia-serial))
165
166
167 define KernelPackage/bluetooth
168 TITLE:=Bluetooth support
169 DEPENDS:=@USB_SUPPORT
170 DESCRIPTION:=Kernel support for Bluetooth devices
171 SUBMENU:=$(EMENU)
172 KCONFIG:=CONFIG_BLUEZ CONFIG_BT
173 endef
174
175 define KernelPackage/bluetooth/2.4
176 FILES:= \
177 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
178 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
179 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
180 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
181 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
182 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
183 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
184 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
185 endef
186
187 define KernelPackage/bluetooth/2.6
188 FILES:= \
189 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
190 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
191 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
192 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
193 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
194 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
195 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
196 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb)
197 endef
198 $(eval $(call KernelPackage,bluetooth))
199
200 define KernelPackage/mmc
201 TITLE:=MMC/SD Card Support
202 DEPENDS:=@LINUX_2_6_AT91
203 DESCRIPTION:=Kernel support for MMC/SD cards
204 SUBMENU:=$(EMENU)
205 KCONFIG:=CONFIG_MMC
206 FILES:= \
207 $(LINUX_DIR)/drivers/mmc/mmc_core.$(LINUX_KMOD_SUFFIX) \
208 $(LINUX_DIR)/drivers/mmc/mmc_block.$(LINUX_KMOD_SUFFIX) \
209 $(LINUX_DIR)/drivers/mmc/at91_mci.$(LINUX_KMOD_SUFFIX)
210 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block at91_mci)
211 endef
212 $(eval $(call KernelPackage,mmc))
213
214 define KernelPackage/softdog
215 TITLE:=Software watchdog driver
216 DESCRIPTION:=Software watchdog driver
217 SUBMENU:=$(EMENU)
218 KCONFIG:=CONFIG_SOFT_WATCHDOG
219 AUTOLOAD:=$(call AutoLoad,50,softdog)
220 endef
221
222 define KernelPackage/softdog/2.4
223 FILES:=$(LINUX_DIR)/drivers/char/softdog.o
224 endef
225
226 define KernelPackage/softdog/2.6
227 FILES:=$(LINUX_DIR)/drivers/char/watchdog/softdog.ko
228 endef
229 $(eval $(call KernelPackage,softdog))
230
231
232 define KernelPackage/videodev
233 TITLE=Video4Linux support
234 DESCRIPTION:=Kernel modules for Video4Linux support
235 SUBMENU:=$(EMENU)
236 KCONFIG:=CONFIG_VIDEO_DEV
237 FILES:=$(LINUX_DIR)/drivers/media/video/*.$(LINUX_KMOD_SUFFIX)
238 endef
239
240 define KernelPackage/videodev/2.4
241 AUTOLOAD:=$(call AutoLoad,60,videodev)
242 endef
243
244 define KernelPackage/videodev/2.6
245 AUTOLOAD:=$(call AutoLoad,60,v4l2-common v4l1-compat compat_ioctl32 videodev)
246 endef
247 $(eval $(call KernelPackage,videodev))
248
249 define KernelPackage/leds-net48xx
250 TITLE:=Soekris Net48xx LED support
251 DESCRIPTION:=Kernel module for Soekris Net48xx LEDs
252 DEPENDS:=@LINUX_2_6_X86
253 SUBMENU:=$(EMENU)
254 KCONFIG:=CONFIG_LEDS_NET48XX
255 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
256 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
257 endef
258 $(eval $(call KernelPackage,leds-net48xx))
259
260 define KernelPackage/nsc-gpio
261 TITLE:=Natsemi GPIO support
262 DESCRIPTION:=Kernel module for Natsemi GPIO
263 DEPENDS:=@LINUX_2_6_X86
264 SUBMENU:=$(EMENU)
265 KCONFIG:=CONFIG_NSC_GPIO
266 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
267 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
268 endef
269 $(eval $(call KernelPackage,nsc-gpio))
270
271 define KernelPackage/scx200-gpio
272 TITLE:=Natsemi SCX200 GPIO support
273 DESCRIPTION:=Kernel module for SCX200 GPIO
274 DEPENDS:=kmod-nsc-gpio @LINUX_2_6_X86
275 SUBMENU:=$(EMENU)
276 KCONFIG:=CONFIG_SCx200_GPIO
277 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
278 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
279 endef
280 $(eval $(call KernelPackage,scx200-gpio))
281
282 define KernelPackage/scx200-wdt
283 TITLE:=Natsemi SCX200 Watchdog support
284 DESCRIPTION:=Kernel module for SCX200 Watchdog
285 DEPENDS:=@LINUX_2_6_X86
286 SUBMENU:=$(EMENU)
287 KCONFIG:=CONFIG_SC1200_WDT
288 FILES:=$(LINUX_DIR)/drivers/char/watchdog/scx200_wdt.$(LINUX_KMOD_SUFFIX)
289 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
290 endef
291 $(eval $(call KernelPackage,scx200-wdt))
292
293 define KernelPackage/hwmon
294 TITLE:=Hardware monitoring support
295 DESCRIPTION:=Kernel modules for hardware monitoring
296 DEPENDS:=@LINUX_2_6
297 SUBMENU:=$(EMENU)
298 KCONFIG:=CONFIG_HWMON_VID
299 FILES:= \
300 $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX) \
301 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX)
302 AUTOLOAD:=$(call AutoLoad,40,hwmon hwmon-vid)
303 endef
304 $(eval $(call KernelPackage,hwmon))
305
306 define KernelPackage/hwmon-pc87360
307 TITLE:=PC87360 monitoring support
308 DESCRIPTION:=Kernel modules for PC87360 chips
309 DEPENDS:=kmod-hwmon
310 SUBMENU:=$(EMENU)
311 KCONFIG:=CONFIG_SENSORS_PC87360
312 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
313 AUTOLOAD:=$(call AutoLoad,50,pc87360)
314 endef
315 $(eval $(call KernelPackage,hwmon-pc87360))
316
317 define KernelPackage/input-core
318 TITLE:=Input device core
319 DESCRIPTION:=Kernel modules for support of input device
320 SUBMENU:=$(EMENU)
321 DEPENDS:=@LINUX_2_6
322 KCONFIG:=CONFIG_INPUT
323 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
324 AUTOLOAD:=$(call AutoLoad,50,input-core)
325 endef
326 $(eval $(call KernelPackage,input-core))
327
328 define KernelPackage/input-evdev
329 TITLE:=Input even device
330 DESCRIPTION:=Kernel modules for support of input device events
331 DEPENDS:=+kmod-input-core
332 SUBMENU:=$(EMENU)
333 KCONFIG:=CONFIG_INPUT_EVDEV
334 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
335 AUTOLOAD:=$(call AutoLoad,60,evdev)
336 endef
337 $(eval $(call KernelPackage,input-evdev))
338