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
:=$(LINUX_DIR
)/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
:=$(LINUX_DIR
)/drivers
/ide
/*.
$(LINUX_KMOD_SUFFIX
)
54 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,90,ide-generic 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
:=$(LINUX_DIR
)/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
:=$(LINUX_DIR
)/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 $(LINUX_DIR
)/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
82 $(LINUX_DIR
)/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 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
91 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
92 $(LINUX_DIR
)/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
:=$(LINUX_DIR
)/drivers
/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
111 AUTOLOAD
:=$(call AutoLoad
,30,soundcore
)
114 define KernelPackage
/soundcore
/2.6
116 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
117 $(LINUX_DIR
)/sound
/core
/*.
$(LINUX_KMOD_SUFFIX
) \
118 $(LINUX_DIR
)/sound
/core
/oss
/*.
$(LINUX_KMOD_SUFFIX
)
119 AUTOLOAD
:=$(call AutoLoad
,30,soundcore 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
:=$(LINUX_DIR
)/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
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
141 $(eval
$(call KernelPackage
,nbd
))
143 define KernelPackage
/capi
145 DESCRIPTION
:=Kernel module for basic CAPI support
146 KCONFIG
:=$(CONFIG_ISDN
) $(CONFIG_ISDN_CAPI
) $(CONFIG_ISDN_CAPI_CAPI20
)
148 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi
)
149 FILES
:=$(LINUX_DIR
)/drivers
/isdn
/capi
/*capi.
$(LINUX_KMOD_SUFFIX
)
151 $(eval
$(call KernelPackage
,capi
))
153 define KernelPackage
/pcmcia-core
154 TITLE
:=PCMCIA
/CardBus support
155 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus controllers
157 KCONFIG
:=$(CONFIG_PCMCIA
)
160 define KernelPackage
/pcmcia-core
/2.4
162 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
163 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
164 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
)
165 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
168 define KernelPackage
/pcmcia-core
/2.6
170 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
171 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
172 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
173 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
)
174 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
176 $(eval
$(call KernelPackage
,pcmcia-core
))
179 define KernelPackage
/pcmcia-serial
180 TITLE
:=Serial devices support
181 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus serial devices
182 DEPENDS
:=kmod-pcmcia-core
184 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
187 define KernelPackage
/pcmcia-serial
/2.4
188 KCONFIG
:=$(CONFIG_PCMCIA_SERIAL_CS
)
189 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
192 define KernelPackage
/pcmcia-serial
/2.6
193 KCONFIG
:=$(CONFIG_SERIAL_8250_CS
)
194 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
196 $(eval
$(call KernelPackage
,pcmcia-serial
))
199 define KernelPackage
/bluetooth
200 TITLE
:=Bluetooth support
201 DEPENDS
:=@USB_SUPPORT
202 DESCRIPTION
:=Kernel support for Bluetooth devices
206 define KernelPackage
/bluetooth
/2.4
207 KCONFIG
:=$(CONFIG_BLUEZ
)
209 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
210 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
211 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
212 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
213 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
214 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
215 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
216 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
219 define KernelPackage
/bluetooth
/2.6
220 KCONFIG
:=$(CONFIG_BT
)
222 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
223 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
224 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
225 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
226 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
227 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
228 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
229 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
231 $(eval
$(call KernelPackage
,bluetooth
))
233 define KernelPackage
/mmc
234 TITLE
:=MMC
/SD Card Support
235 DEPENDS
:=@LINUX_2_6_AT91
236 DESCRIPTION
:=Kernel support for MMC
/SD cards
240 define KernelPackage
/mmc
/2.6
241 KCONFIG
:=$(CONFIG_MMC
)
243 $(LINUX_DIR
)/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
244 $(LINUX_DIR
)/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
245 $(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
246 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
248 $(eval
$(call KernelPackage
,mmc
))
250 define KernelPackage
/softdog
251 TITLE
:=Software watchdog driver
252 DESCRIPTION
:=Software watchdog driver
254 KCONFIG
:=$(CONFIG_SOFT_WATCHDOG
)
255 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.
$(LINUX_KMOD_SUFFIX
)
256 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
259 define KernelPackage
/softdog
/2.4
260 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.o
263 define KernelPackage
/softdog
/2.6
264 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/softdog.ko
267 $(eval
$(call KernelPackage
,softdog
))
270 define KernelPackage
/videodev
271 TITLE
=Video4Linux support
272 DESCRIPTION
:=Kernel modules for Video4Linux support
273 DEPENDS
:=@VIDEO_SUPPORT
275 KCONFIG
:=$(CONFIG_VIDEO_DEV
)
276 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/*.
$(LINUX_KMOD_SUFFIX
)
279 define KernelPackage
/videodev
/2.4
280 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
283 define KernelPackage
/videodev
/2.6
284 AUTOLOAD
:=$(call AutoLoad
,60,v4l2-common v4l1-compat videodev
)
286 $(eval
$(call KernelPackage
,videodev
))
288 define KernelPackage
/leds-net48xx
289 TITLE
:=Soekris Net48xx LED support
290 DESCRIPTION
:=Kernel module for Soekris Net48xx LEDs
291 DEFAULT
:=y if LINUX_2_6_X86_Soekris
292 DEPENDS
:=@LINUX_2_6_X86_Soekris
294 KCONFIG
:=$(CONFIG_LEDS_NET48XX
)
295 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
296 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
298 $(eval
$(call KernelPackage
,leds-net48xx
))
300 define KernelPackage
/nsc-gpio
301 TITLE
:=Natsemi GPIO support
302 DESCRIPTION
:=Kernel module for Natsemi GPIO
303 DEFAULT
:=y if LINUX_2_6_X86_Soekris
304 DEPENDS
:=@LINUX_2_6_X86_Soekris
306 KCONFIG
:=$(CONFIG_NSC_GPIO
)
307 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
308 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
310 $(eval
$(call KernelPackage
,nsc-gpio
))
312 define KernelPackage
/scx200-gpio
313 TITLE
:=Natsemi SCX200 GPIO support
314 DESCRIPTION
:=Kernel module for SCX200 GPIO
315 DEFAULT
:=y if LINUX_2_6_X86_Soekris
316 DEPENDS
:=kmod-nsc-gpio @LINUX_2_6_X86_Soekris
318 KCONFIG
:=$(CONFIG_SCx200_GPIO
)
319 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
320 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
322 $(eval
$(call KernelPackage
,scx200-gpio
))
324 define KernelPackage
/scx200-wdt
325 TITLE
:=Natsemi SCX200 Watchdog support
326 DESCRIPTION
:=Kernel module for SCX200 Watchdog
327 DEFAULT
:=y if LINUX_2_6_X86_Soekris
328 DEPENDS
:=@LINUX_2_6_X86_Soekris
330 KCONFIG
:=$(CONFIG_SC1200_WDT
)
331 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
332 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wt
)
334 $(eval
$(call KernelPackage
,scx200-wdt
))
336 define KernelPackage
/hwmon
337 TITLE
:=Hardware monitoring support
338 DESCRIPTION
:=Kernel modules for hardware monitoring
339 DEFAULT
:=y if LINUX_2_6_X86_Soekris
341 KCONFIG
:=$(CONFIG_HWMON_VID
)
343 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
) \
344 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
)
345 AUTOLOAD
:=$(call AutoLoad
,40,hwmon hwmon-vid
)
347 $(eval
$(call KernelPackage
,hwmon
))
349 define KernelPackage
/hwmon-pc87360
350 TITLE
:=PC87360 monitoring support
351 DESCRIPTION
:=Kernel modules for PC87360 chips
352 DEFAULT
:=y if LINUX_2_6_X86_Soekris
355 KCONFIG
:=$(CONFIG_SENSORS_PC87360
)
356 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
357 AUTOLOAD
:=$(call AutoLoad
,50,pc87360
)
359 $(eval
$(call KernelPackage
,hwmon-pc87360
))