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.
11 define KernelPackage
/crypto
12 TITLE
:=CryptoAPI modules
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
)
40 $(eval
$(call KernelPackage
,crypto
))
42 define KernelPackage
/ide-core
43 TITLE
:=Kernel support for IDE
45 Useful for usb mass storage devices
(e.g. on WL-HDD
)\\\
51 KCONFIG
:=$(CONFIG_IDE
)
52 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/ide
/*.
$(LINUX_KMOD_SUFFIX
)
54 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,90,ide-detect ide-disk
)
56 $(eval
$(call KernelPackage
,ide-core
))
58 define KernelPackage
/ide-pdc202xx
59 TITLE
:=PDC202xx IDE driver
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
)
65 $(eval
$(call KernelPackage
,ide-pdc202xx
))
67 define KernelPackage
/ide-aec62xx
68 TITLE
:=AEC62xx IDE driver
70 KCONFIG
:=$(CONFIG_BLK_DEV_AEC62XX
)
71 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/ide
/pci
/aec62xx.
$(LINUX_KMOD_SUFFIX
)
72 AUTOLOAD
:=$(call AutoLoad
,30,aec62xx
)
74 $(eval
$(call KernelPackage
,ide-aec62xx
))
76 define KernelPackage
/scsi-core
77 TITLE
:=Kernel support for SCSI
79 KCONFIG
:=$(CONFIG_BLK_DEV_SD
)
81 $(MODULES_DIR
)/kernel
/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
82 $(MODULES_DIR
)/kernel
/drivers
/scsi
/sd_mod.
$(LINUX_KMOD_SUFFIX
)
84 $(eval
$(call KernelPackage
,scsi-core
))
86 define KernelPackage
/lp
87 TITLE
:=Parallel port and line printer support
88 KCONFIG
:=$(CONFIG_PARPORT
)
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
)
94 AUTOLOAD
:=$(call AutoLoad
,50, \
99 $(eval
$(call KernelPackage
,lp
))
102 define KernelPackage
/soundcore
104 DESCRIPTION
:=Kernel modules for sound support
105 KCONFIG
:=$(CONFIG_SOUND
)
109 define KernelPackage
/soundcore
/2.4
110 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
111 AUTOLOAD
:=$(call AutoLoad
,30,soundcore
)
114 define KernelPackage
/soundcore
/2.6
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
)
121 $(eval
$(call KernelPackage
,soundcore
))
123 define KernelPackage
/loop
124 TITLE
:=Loopback device support
125 DESCRIPTION
:=Kernel module for loopback device support
126 KCONFIG
:=$(CONFIG_BLK_DEV_LOOP
)
128 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
129 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
131 $(eval
$(call KernelPackage
,loop
))
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
)
138 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
139 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
141 $(eval
$(call KernelPackage
,nbd
))
144 define KernelPackage
/pcmcia-core
145 TITLE
:=PCMCIA
/CardBus support
146 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus controllers
148 KCONFIG
:=$(CONFIG_PCMCIA
)
151 define KernelPackage
/pcmcia-core
/2.4
153 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
154 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
155 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
)
156 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
159 define KernelPackage
/pcmcia-core
/2.6
161 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
162 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
163 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
164 $(MODULES_DIR
)/kernel
/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
)
165 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
167 $(eval
$(call KernelPackage
,pcmcia-core
))
170 define KernelPackage
/pcmcia-serial
171 TITLE
:=Serial devices support
172 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus serial devices
173 DEPENDS
:=kmod-pcmcia-core
175 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
178 define KernelPackage
/pcmcia-serial
/2.4
179 KCONFIG
:=$(CONFIG_PCMCIA_SERIAL_CS
)
180 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
183 define KernelPackage
/pcmcia-serial
/2.6
184 KCONFIG
:=$(CONFIG_SERIAL_8250_CS
)
185 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
187 $(eval
$(call KernelPackage
,pcmcia-serial
))
190 define KernelPackage
/bluetooth
191 TITLE
:=Bluetooth support
192 DEPENDS
:=@USB_SUPPORT
193 DESCRIPTION
:=Kernel support for Bluetooth devices
197 define KernelPackage
/bluetooth
/2.4
198 KCONFIG
:=$(CONFIG_BLUEZ
)
200 $(MODULES_DIR
)/kernel
/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
201 $(MODULES_DIR
)/kernel
/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
202 $(MODULES_DIR
)/kernel
/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
203 $(MODULES_DIR
)/kernel
/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
204 $(MODULES_DIR
)/kernel
/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
205 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
206 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
207 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
210 define KernelPackage
/bluetooth
/2.6
211 KCONFIG
:=$(CONFIG_BT
)
213 $(MODULES_DIR
)/kernel
/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
214 $(MODULES_DIR
)/kernel
/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
215 $(MODULES_DIR
)/kernel
/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
216 $(MODULES_DIR
)/kernel
/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
217 $(MODULES_DIR
)/kernel
/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
218 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
219 $(MODULES_DIR
)/kernel
/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
220 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
222 $(eval
$(call KernelPackage
,bluetooth
))
224 define KernelPackage
/mmc
225 TITLE
:=MMC
/SD Card Support
226 DEPENDS
:=@LINUX_2_6_AT91
227 DESCRIPTION
:=Kernel support for MMC
/SD cards
231 define KernelPackage
/mmc
/2.6
232 KCONFIG
:=$(CONFIG_MMC
)
234 $(MODULES_DIR
)/kernel
/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
235 $(MODULES_DIR
)/kernel
/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
236 $(MODULES_DIR
)/kernel
/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
237 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
239 $(eval
$(call KernelPackage
,mmc
))
241 define KernelPackage
/softdog
242 TITLE
:=Software watchdog driver
243 DESCRIPTION
:=Software watchdog driver
245 KCONFIG
:=$(CONFIG_SOFT_WATCHDOG
)
246 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/char
/softdog.
$(LINUX_KMOD_SUFFIX
)
247 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
250 define KernelPackage
/softdog
/2.4
251 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/char
/softdog.o
254 define KernelPackage
/softdog
/2.6
255 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/char
/watchdog
/softdog.ko
258 $(eval
$(call KernelPackage
,softdog
))
261 define KernelPackage
/videodev
262 TITLE
=Video4Linux support
263 DESCRIPTION
:=Kernel modules for Video4Linux support
264 DEPENDS
:=@VIDEO_SUPPORT
266 KCONFIG
:=$(CONFIG_VIDEO_DEV
)
267 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/media
/video
/*.
$(LINUX_KMOD_SUFFIX
)
270 define KernelPackage
/videodev
/2.4
271 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
274 define KernelPackage
/videodev
/2.6
275 AUTOLOAD
:=$(call AutoLoad
,60,v4l2-common v4l1-compat videodev
)
277 $(eval
$(call KernelPackage
,videodev
))