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
/crc-itu-t
13 TITLE
:=CRC ITU-T V
.41 support
14 DESCRIPTION
:=Kernel module for CRC ITU-T V
.41 support
15 KCONFIG
:=CONFIG_CRC_ITU_T
16 FILES
:=$(LINUX_DIR
)/lib
/crc-itu-t.
$(LINUX_KMOD_SUFFIX
)
17 AUTOLOAD
:=$(call AutoLoad
,20,crc-itu-t
)
20 $(eval
$(call KernelPackage
,crc-itu-t
))
23 define KernelPackage
/crypto
25 TITLE
:=CryptoAPI modules
27 CONFIG_CRYPTO_HMAC
=m \
28 CONFIG_CRYPTO_NULL
=m \
31 CONFIG_CRYPTO_SHA1
=m \
32 CONFIG_CRYPTO_SHA256
=m \
33 CONFIG_CRYPTO_SHA512
=m \
34 CONFIG_CRYPTO_WP512
=m \
35 CONFIG_CRYPTO_TGR192
=m \
37 CONFIG_CRYPTO_BLOWFISH
=m \
38 CONFIG_CRYPTO_TWOFISH
=m \
39 CONFIG_CRYPTO_SERPENT
=m \
41 CONFIG_CRYPTO_CAST5
=m \
42 CONFIG_CRYPTO_CAST6
=m \
44 CONFIG_CRYPTO_ARC4
=m \
45 CONFIG_CRYPTO_KHAZAD
=m \
46 CONFIG_CRYPTO_ANUBIS
=m \
47 CONFIG_CRYPTO_DEFLATE
=m \
48 CONFIG_CRYPTO_MICHAEL_MIC
=m \
49 CONFIG_CRYPTO_CRC32C
=m \
51 CONFIG_CRYPTO_BLKCIPHER
=m
52 FILES
:=$(LINUX_DIR
)/crypto
/*.
$(LINUX_KMOD_SUFFIX
)
55 $(eval
$(call KernelPackage
,crypto
))
58 define KernelPackage
/eeprom-93cx6
60 TITLE
:=EEPROM
93CX6 support
61 DESCRIPTION
:=Kernel module for EEPROM
93CX6 support
63 KCONFIG
:=CONFIG_EEPROM_93CX6
64 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom_93cx6.
$(LINUX_KMOD_SUFFIX
)
65 AUTOLOAD
:=$(call AutoLoad
,20,eeprom_93cx6
)
68 $(eval
$(call KernelPackage
,eeprom-93cx6
))
71 define KernelPackage
/lp
73 TITLE
:=Parallel port and line printer support
80 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
81 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
82 $(LINUX_DIR
)/drivers
/char
/ppdev.
$(LINUX_KMOD_SUFFIX
)
83 AUTOLOAD
:=$(call AutoLoad
,50,parport lp
)
86 $(eval
$(call KernelPackage
,lp
))
89 define KernelPackage
/soundcore
102 define KernelPackage
/soundcore
/2.4
103 FILES
:=$(LINUX_DIR
)/drivers
/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
104 AUTOLOAD
:=$(call AutoLoad
,30,soundcore
)
107 define KernelPackage
/soundcore
/2.6
111 # CONFIG_SND_RAWMIDI \
115 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
116 $(LINUX_DIR
)/sound
/core
/snd.
$(LINUX_KMOD_SUFFIX
) \
117 $(LINUX_DIR
)/sound
/core
/snd-page-alloc.
$(LINUX_KMOD_SUFFIX
) \
118 $(LINUX_DIR
)/sound
/core
/snd-hwdep.
$(LINUX_KMOD_SUFFIX
) \
119 $(LINUX_DIR
)/sound
/core
/snd-rawmidi.
$(LINUX_KMOD_SUFFIX
) \
120 $(LINUX_DIR
)/sound
/core
/snd-timer.
$(LINUX_KMOD_SUFFIX
) \
121 $(LINUX_DIR
)/sound
/core
/snd-pcm.
$(LINUX_KMOD_SUFFIX
) \
122 $(if
$(CONFIG_SND_MIXER_OSS
),$(LINUX_DIR
)/sound
/core
/oss
/snd-mixer-oss.
$(LINUX_KMOD_SUFFIX
)) \
123 $(if
$(CONFIG_SND_PCM_OSS
),$(LINUX_DIR
)/sound
/core
/oss
/snd-pcm-oss.
$(LINUX_KMOD_SUFFIX
))
124 AUTOLOAD
:=$(call AutoLoad
,30, \
132 $(if
$(CONFIG_SND_MIXER_OSS
),snd-mixer-oss
) \
133 $(if
$(CONFIG_SND_PCM_OSS
),snd-pcm-oss
) \
137 define KernelPackage
/soundcore
/uml-2.6
141 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
142 $(LINUX_DIR
)/arch
/um
/drivers
/hostaudio.
$(LINUX_KMOD_SUFFIX
)
143 AUTOLOAD
:=$(call AutoLoad
,30,soundcore hostaudio
)
146 define KernelPackage
/soundcore
/description
147 Kernel modules for sound support
150 $(eval
$(call KernelPackage
,soundcore
))
153 define KernelPackage
/loop
155 TITLE
:=Loopback device support
156 KCONFIG
:=CONFIG_BLK_DEV_LOOP
157 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
158 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
161 define KernelPackage
/loop
/description
162 Kernel module for loopback device support
165 $(eval
$(call KernelPackage
,loop
))
168 define KernelPackage
/nbd
170 TITLE
:=Network block device support
171 KCONFIG
:=CONFIG_BLK_DEV_NBD
172 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
173 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
176 define KernelPackage
/nbd
/description
177 Kernel module for network block device support
180 $(eval
$(call KernelPackage
,nbd
))
183 define KernelPackage
/capi
190 CONFIG_ISDN_CAPI_CAPI20
192 $(LINUX_DIR
)/drivers
/isdn
/capi
/kernelcapi.
$(LINUX_KMOD_SUFFIX
) \
193 $(LINUX_DIR
)/drivers
/isdn
/capi
/capi.
$(LINUX_KMOD_SUFFIX
)
194 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi
)
197 define KernelPackage
/capi
/description
198 Kernel module for basic CAPI support
201 $(eval
$(call KernelPackage
,capi
))
204 define KernelPackage
/pcmcia-core
206 TITLE
:=PCMCIA
/CardBus support
207 DEPENDS
:=@PCMCIA_SUPPORT
213 CONFIG_PCCARD_NONSTATIC \
217 define KernelPackage
/pcmcia-core
/2.4
222 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
223 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
) \
224 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
225 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
228 define KernelPackage
/pcmcia-core
/2.6
233 # CONFIG_PCCARD_NONSTATIC \
236 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
237 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
238 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
239 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
240 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
243 define KernelPackage
/pcmcia-core
/au1000-2.6
245 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
246 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
247 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
248 $(LINUX_DIR
)/drivers
/pcmcia
/au1x00_ss.
$(LINUX_KMOD_SUFFIX
)
249 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic au1x00_ss
)
252 define KernelPackage
/pcmcia-core
/description
253 Kernel support for PCMCIA
/CardBus controllers
256 $(eval
$(call KernelPackage
,pcmcia-core
))
259 define KernelPackage
/pcmcia-serial
261 TITLE
:=Serial devices support
262 DEPENDS
:=kmod-pcmcia-core
264 CONFIG_PCMCIA_SERIAL_CS \
265 CONFIG_SERIAL_8250_CS
266 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
269 define KernelPackage
/pcmcia-serial
/2.4
270 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
271 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
274 define KernelPackage
/pcmcia-serial
/2.6
275 # KCONFIG:=CONFIG_SERIAL_8250_CS
276 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
279 define KernelPackage
/pcmcia-serial
/description
280 Kernel support for PCMCIA
/CardBus serial devices
283 $(eval
$(call KernelPackage
,pcmcia-serial
))
286 define KernelPackage
/bluetooth
288 TITLE
:=Bluetooth support
289 DEPENDS
:=@USB_SUPPORT
294 CONFIG_BLUEZ_RFCOMM \
296 CONFIG_BLUEZ_HCIUART \
297 CONFIG_BLUEZ_HCIUSB \
307 define KernelPackage
/bluetooth
/2.4
310 # CONFIG_BLUEZ_L2CAP \
312 # CONFIG_BLUEZ_RFCOMM \
313 # CONFIG_BLUEZ_BNEP \
314 # CONFIG_BLUEZ_HCIUART \
315 # CONFIG_BLUEZ_HCIUSB
317 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
318 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
319 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
320 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
321 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
322 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
323 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
324 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
327 define KernelPackage
/bluetooth
/2.6
337 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
338 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
339 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
340 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
341 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
342 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
343 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
344 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
347 define KernelPackage
/bluetooth
/description
348 Kernel support for Bluetooth devices
351 $(eval
$(call KernelPackage
,bluetooth
))
354 define KernelPackage
/mmc
356 TITLE
:=MMC
/SD Card Support
357 DEPENDS
:=@LINUX_2_6_AT91
363 $(LINUX_DIR
)/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
364 $(LINUX_DIR
)/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
365 $(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
366 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
369 define KernelPackage
/mmc
/description
370 Kernel support for MMC
/SD cards
373 $(eval
$(call KernelPackage
,mmc
))
376 define KernelPackage
/softdog
378 TITLE
:=Software watchdog driver
379 KCONFIG
:=CONFIG_SOFT_WATCHDOG
380 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
383 define KernelPackage
/softdog
/2.4
384 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.o
387 define KernelPackage
/softdog
/2.6
388 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/softdog.ko
391 define KernelPackage
/softdog
/description
392 Software watchdog driver
395 $(eval
$(call KernelPackage
,softdog
))
398 define KernelPackage
/videodev
400 TITLE
=Video4Linux support
401 KCONFIG
:=CONFIG_VIDEO_DEV
404 define KernelPackage
/videodev
/2.4
405 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
406 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
409 define KernelPackage
/videodev
/2.6
411 $(LINUX_DIR
)/drivers
/media
/video
/v4l2-common.
$(LINUX_KMOD_SUFFIX
) \
412 $(if
$(CONFIG_VIDEO_V4L1_COMPAT
),$(LINUX_DIR
)/drivers
/media
/video
/v4l1-compat.
$(LINUX_KMOD_SUFFIX
)) \
413 $(LINUX_DIR
)/drivers
/media
/video
/compat_ioctl32.
$(LINUX_KMOD_SUFFIX
) \
414 $(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
415 AUTOLOAD
:=$(call AutoLoad
,60, \
417 $(if
$(CONFIG_VIDEO_V4L1_COMPAT
),v4l1-compat
) \
423 define KernelPackage
/videodev
/description
424 Kernel modules for Video4Linux support
427 $(eval
$(call KernelPackage
,videodev
))
430 define KernelPackage
/leds-net48xx
432 TITLE
:=Soekris Net48xx LED support
433 DEPENDS
:=@LINUX_2_6_X86
434 KCONFIG
:=CONFIG_LEDS_NET48XX
435 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
436 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
439 define KernelPackage
/leds-net48xx
/description
440 Kernel module for Soekris Net48xx LEDs
443 $(eval
$(call KernelPackage
,leds-net48xx
))
446 define KernelPackage
/nsc-gpio
448 TITLE
:=Natsemi GPIO support
449 DEPENDS
:=@LINUX_2_6_X86
450 KCONFIG
:=CONFIG_NSC_GPIO
451 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
452 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
455 define KernelPackage
/nsc-gpio
/description
456 Kernel module for Natsemi GPIO
459 $(eval
$(call KernelPackage
,nsc-gpio
))
462 define KernelPackage
/scx200-gpio
464 TITLE
:=Natsemi SCX200 GPIO support
465 DEPENDS
:=kmod-nsc-gpio @LINUX_2_6_X86
466 KCONFIG
:=CONFIG_SCx200_GPIO
467 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
468 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
471 define KernelPackage
/scx200-gpio
/description
472 Kernel module for SCX200 GPIO
475 $(eval
$(call KernelPackage
,scx200-gpio
))
478 define KernelPackage
/scx200-wdt
480 TITLE
:=Natsemi SCX200 Watchdog support
481 DEPENDS
:=@LINUX_2_6_X86
482 KCONFIG
:=CONFIG_SC1200_WDT
483 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
484 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wdt
)
487 define KernelPackage
/scx200-wdt
/description
488 Kernel module for SCX200 Watchdog
491 $(eval
$(call KernelPackage
,scx200-wdt
))
494 define KernelPackage
/hwmon
496 TITLE
:=Hardware monitoring support
501 CONFIG_HWMON_DEBUG_CHIP
=n
503 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
) \
504 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
)
505 AUTOLOAD
:=$(call AutoLoad
,40,hwmon hwmon-vid
)
508 define KernelPackage
/hwmon
/description
509 Kernel modules for hardware monitoring
512 $(eval
$(call KernelPackage
,hwmon
))
515 define KernelPackage
/hwmon-pc87360
517 TITLE
:=PC87360 monitoring support
519 KCONFIG
:=CONFIG_SENSORS_PC87360
520 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
521 AUTOLOAD
:=$(call AutoLoad
,50,pc87360
)
524 define KernelPackage
/hwmon-pc87360
/description
525 Kernel modules for PC87360 chips
528 $(eval
$(call KernelPackage
,hwmon-pc87360
))
531 define KernelPackage
/input-core
533 TITLE
:=Input device core
535 KCONFIG
:=CONFIG_INPUT
536 FILES
:=$(LINUX_DIR
)/drivers
/input
/input-core.
$(LINUX_KMOD_SUFFIX
)
537 AUTOLOAD
:=$(call AutoLoad
,50,input-core
)
540 define KernelPackage
/input-core
/description
541 Kernel modules for support of input device
544 $(eval
$(call KernelPackage
,input-core
))
547 define KernelPackage
/input-evdev
549 TITLE
:=Input even device
550 DEPENDS
:=+kmod-input-core
551 KCONFIG
:=CONFIG_INPUT_EVDEV
552 FILES
:=$(LINUX_DIR
)/drivers
/input
/evdev.
$(LINUX_KMOD_SUFFIX
)
553 AUTOLOAD
:=$(call AutoLoad
,60,evdev
)
556 define KernelPackage
/input-evdev
/description
557 Kernel modules for support of input device events
560 $(eval
$(call KernelPackage
,input-evdev
))