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 KCONFIG
:=CONFIG_CRC_ITU_T
15 FILES
:=$(LINUX_DIR
)/lib
/crc-itu-t.
$(LINUX_KMOD_SUFFIX
)
16 AUTOLOAD
:=$(call AutoLoad
,20,crc-itu-t
)
19 define KernelPackage
/crc-itu-t
/description
20 Kernel module for CRC ITU-T V
.41 support
23 $(eval
$(call KernelPackage
,crc-itu-t
))
26 define KernelPackage
/crypto
28 TITLE
:=CryptoAPI modules
30 CONFIG_CRYPTO_HMAC
=m \
31 CONFIG_CRYPTO_NULL
=m \
34 CONFIG_CRYPTO_SHA1
=m \
35 CONFIG_CRYPTO_SHA256
=m \
36 CONFIG_CRYPTO_SHA512
=m \
37 CONFIG_CRYPTO_WP512
=m \
38 CONFIG_CRYPTO_TGR192
=m \
40 CONFIG_CRYPTO_BLOWFISH
=m \
41 CONFIG_CRYPTO_TWOFISH
=m \
42 CONFIG_CRYPTO_SERPENT
=m \
44 CONFIG_CRYPTO_CAST5
=m \
45 CONFIG_CRYPTO_CAST6
=m \
47 CONFIG_CRYPTO_ARC4
=m \
48 CONFIG_CRYPTO_KHAZAD
=m \
49 CONFIG_CRYPTO_ANUBIS
=m \
50 CONFIG_CRYPTO_DEFLATE
=m \
51 CONFIG_CRYPTO_MICHAEL_MIC
=m \
52 CONFIG_CRYPTO_CRC32C
=m \
54 CONFIG_CRYPTO_BLKCIPHER
=m
55 FILES
:=$(LINUX_DIR
)/crypto
/*.
$(LINUX_KMOD_SUFFIX
)
58 $(eval
$(call KernelPackage
,crypto
))
61 define KernelPackage
/eeprom-93cx6
63 TITLE
:=EEPROM
93CX6 support
65 KCONFIG
:=CONFIG_EEPROM_93CX6
66 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom_93cx6.
$(LINUX_KMOD_SUFFIX
)
67 AUTOLOAD
:=$(call AutoLoad
,20,eeprom_93cx6
)
70 define KernelPackage
/eeprom-93cx6
/description
71 Kernel module for EEPROM
93CX6 support
74 $(eval
$(call KernelPackage
,eeprom-93cx6
))
77 define KernelPackage
/lp
79 TITLE
:=Parallel port and line printer support
86 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
87 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
88 $(LINUX_DIR
)/drivers
/char
/ppdev.
$(LINUX_KMOD_SUFFIX
)
89 AUTOLOAD
:=$(call AutoLoad
,50,parport lp
)
92 $(eval
$(call KernelPackage
,lp
))
95 define KernelPackage
/soundcore
108 define KernelPackage
/soundcore
/2.4
109 FILES
:=$(LINUX_DIR
)/drivers
/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
110 AUTOLOAD
:=$(call AutoLoad
,30,soundcore
)
113 define KernelPackage
/soundcore
/2.6
117 # CONFIG_SND_RAWMIDI \
121 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
122 $(LINUX_DIR
)/sound
/core
/snd.
$(LINUX_KMOD_SUFFIX
) \
123 $(LINUX_DIR
)/sound
/core
/snd-page-alloc.
$(LINUX_KMOD_SUFFIX
) \
124 $(LINUX_DIR
)/sound
/core
/snd-hwdep.
$(LINUX_KMOD_SUFFIX
) \
125 $(LINUX_DIR
)/sound
/core
/snd-rawmidi.
$(LINUX_KMOD_SUFFIX
) \
126 $(LINUX_DIR
)/sound
/core
/snd-timer.
$(LINUX_KMOD_SUFFIX
) \
127 $(LINUX_DIR
)/sound
/core
/snd-pcm.
$(LINUX_KMOD_SUFFIX
) \
128 $(if
$(CONFIG_SND_MIXER_OSS
),$(LINUX_DIR
)/sound
/core
/oss
/snd-mixer-oss.
$(LINUX_KMOD_SUFFIX
)) \
129 $(if
$(CONFIG_SND_PCM_OSS
),$(LINUX_DIR
)/sound
/core
/oss
/snd-pcm-oss.
$(LINUX_KMOD_SUFFIX
))
130 AUTOLOAD
:=$(call AutoLoad
,30, \
138 $(if
$(CONFIG_SND_MIXER_OSS
),snd-mixer-oss
) \
139 $(if
$(CONFIG_SND_PCM_OSS
),snd-pcm-oss
) \
143 define KernelPackage
/soundcore
/uml-2.6
147 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
148 $(LINUX_DIR
)/arch
/um
/drivers
/hostaudio.
$(LINUX_KMOD_SUFFIX
)
149 AUTOLOAD
:=$(call AutoLoad
,30,soundcore hostaudio
)
152 define KernelPackage
/soundcore
/description
153 Kernel modules for sound support
156 $(eval
$(call KernelPackage
,soundcore
))
159 define KernelPackage
/loop
161 TITLE
:=Loopback device support
162 KCONFIG
:=CONFIG_BLK_DEV_LOOP
163 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
164 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
167 define KernelPackage
/loop
/description
168 Kernel module for loopback device support
171 $(eval
$(call KernelPackage
,loop
))
174 define KernelPackage
/nbd
176 TITLE
:=Network block device support
177 KCONFIG
:=CONFIG_BLK_DEV_NBD
178 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
179 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
182 define KernelPackage
/nbd
/description
183 Kernel module for network block device support
186 $(eval
$(call KernelPackage
,nbd
))
189 define KernelPackage
/capi
196 CONFIG_ISDN_CAPI_CAPI20
198 $(LINUX_DIR
)/drivers
/isdn
/capi
/kernelcapi.
$(LINUX_KMOD_SUFFIX
) \
199 $(LINUX_DIR
)/drivers
/isdn
/capi
/capi.
$(LINUX_KMOD_SUFFIX
)
200 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi
)
203 define KernelPackage
/capi
/description
204 Kernel module for basic CAPI support
207 $(eval
$(call KernelPackage
,capi
))
210 define KernelPackage
/pcmcia-core
212 TITLE
:=PCMCIA
/CardBus support
213 DEPENDS
:=@PCMCIA_SUPPORT
219 CONFIG_PCCARD_NONSTATIC \
223 define KernelPackage
/pcmcia-core
/2.4
228 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
229 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
) \
230 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
231 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
234 define KernelPackage
/pcmcia-core
/2.6
239 # CONFIG_PCCARD_NONSTATIC \
242 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
243 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
244 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
245 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
246 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
249 define KernelPackage
/pcmcia-core
/au1000-2.6
251 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
252 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
253 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
254 $(LINUX_DIR
)/drivers
/pcmcia
/au1x00_ss.
$(LINUX_KMOD_SUFFIX
)
255 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic au1x00_ss
)
258 define KernelPackage
/pcmcia-core
/description
259 Kernel support for PCMCIA
/CardBus controllers
262 $(eval
$(call KernelPackage
,pcmcia-core
))
265 define KernelPackage
/pcmcia-serial
267 TITLE
:=Serial devices support
268 DEPENDS
:=kmod-pcmcia-core
270 CONFIG_PCMCIA_SERIAL_CS \
271 CONFIG_SERIAL_8250_CS
272 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
275 define KernelPackage
/pcmcia-serial
/2.4
276 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
277 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
280 define KernelPackage
/pcmcia-serial
/2.6
281 # KCONFIG:=CONFIG_SERIAL_8250_CS
282 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
285 define KernelPackage
/pcmcia-serial
/description
286 Kernel support for PCMCIA
/CardBus serial devices
289 $(eval
$(call KernelPackage
,pcmcia-serial
))
292 define KernelPackage
/bluetooth
294 TITLE
:=Bluetooth support
295 DEPENDS
:=@USB_SUPPORT
300 CONFIG_BLUEZ_RFCOMM \
302 CONFIG_BLUEZ_HCIUART \
303 CONFIG_BLUEZ_HCIUSB \
313 define KernelPackage
/bluetooth
/2.4
316 # CONFIG_BLUEZ_L2CAP \
318 # CONFIG_BLUEZ_RFCOMM \
319 # CONFIG_BLUEZ_BNEP \
320 # CONFIG_BLUEZ_HCIUART \
321 # CONFIG_BLUEZ_HCIUSB
323 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
324 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
325 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
326 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
327 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
328 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
329 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
330 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
333 define KernelPackage
/bluetooth
/2.6
343 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
344 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
345 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
346 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
347 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
348 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
349 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
350 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
353 define KernelPackage
/bluetooth
/description
354 Kernel support for Bluetooth devices
357 $(eval
$(call KernelPackage
,bluetooth
))
360 define KernelPackage
/mmc
362 TITLE
:=MMC
/SD Card Support
363 DEPENDS
:=@TARGET_at91
369 $(LINUX_DIR
)/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
370 $(LINUX_DIR
)/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
371 $(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
372 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
375 define KernelPackage
/mmc
/description
376 Kernel support for MMC
/SD cards
379 $(eval
$(call KernelPackage
,mmc
))
382 define KernelPackage
/softdog
384 TITLE
:=Software watchdog driver
385 KCONFIG
:=CONFIG_SOFT_WATCHDOG
386 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
389 define KernelPackage
/softdog
/2.4
390 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.o
393 define KernelPackage
/softdog
/2.6
394 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/softdog.ko
397 define KernelPackage
/softdog
/description
398 Software watchdog driver
401 $(eval
$(call KernelPackage
,softdog
))
404 define KernelPackage
/videodev
406 TITLE
=Video4Linux support
407 KCONFIG
:=CONFIG_VIDEO_DEV
410 define KernelPackage
/videodev
/2.4
411 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
412 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
415 define KernelPackage
/videodev
/2.6
417 $(LINUX_DIR
)/drivers
/media
/video
/v4l2-common.
$(LINUX_KMOD_SUFFIX
) \
418 $(if
$(CONFIG_VIDEO_V4L1_COMPAT
),$(LINUX_DIR
)/drivers
/media
/video
/v4l1-compat.
$(LINUX_KMOD_SUFFIX
)) \
419 $(LINUX_DIR
)/drivers
/media
/video
/compat_ioctl32.
$(LINUX_KMOD_SUFFIX
) \
420 $(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
421 AUTOLOAD
:=$(call AutoLoad
,60, \
423 $(if
$(CONFIG_VIDEO_V4L1_COMPAT
),v4l1-compat
) \
429 define KernelPackage
/videodev
/description
430 Kernel modules for Video4Linux support
433 $(eval
$(call KernelPackage
,videodev
))
436 define KernelPackage
/leds-net48xx
438 TITLE
:=Soekris Net48xx LED support
440 KCONFIG
:=CONFIG_LEDS_NET48XX
441 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
442 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
445 define KernelPackage
/leds-net48xx
/description
446 Kernel module for Soekris Net48xx LEDs
449 $(eval
$(call KernelPackage
,leds-net48xx
))
452 define KernelPackage
/nsc-gpio
454 TITLE
:=Natsemi GPIO support
456 KCONFIG
:=CONFIG_NSC_GPIO
457 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
458 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
461 define KernelPackage
/nsc-gpio
/description
462 Kernel module for Natsemi GPIO
465 $(eval
$(call KernelPackage
,nsc-gpio
))
468 define KernelPackage
/scx200-gpio
470 TITLE
:=Natsemi SCX200 GPIO support
471 DEPENDS
:=@TARGET_x86 kmod-nsc-gpio
472 KCONFIG
:=CONFIG_SCx200_GPIO
473 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
474 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
477 define KernelPackage
/scx200-gpio
/description
478 Kernel module for SCX200 GPIO
481 $(eval
$(call KernelPackage
,scx200-gpio
))
484 define KernelPackage
/scx200-wdt
486 TITLE
:=Natsemi SCX200 Watchdog support
488 KCONFIG
:=CONFIG_SC1200_WDT
489 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
490 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wdt
)
493 define KernelPackage
/scx200-wdt
/description
494 Kernel module for SCX200 Watchdog
497 $(eval
$(call KernelPackage
,scx200-wdt
))
500 define KernelPackage
/hwmon
502 TITLE
:=Hardware monitoring support
507 CONFIG_HWMON_DEBUG_CHIP
=n
509 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
) \
510 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
)
511 AUTOLOAD
:=$(call AutoLoad
,40,hwmon hwmon-vid
)
514 define KernelPackage
/hwmon
/description
515 Kernel modules for hardware monitoring
518 $(eval
$(call KernelPackage
,hwmon
))
521 define KernelPackage
/hwmon-pc87360
523 TITLE
:=PC87360 monitoring support
525 KCONFIG
:=CONFIG_SENSORS_PC87360
526 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
527 AUTOLOAD
:=$(call AutoLoad
,50,pc87360
)
530 define KernelPackage
/hwmon-pc87360
/description
531 Kernel modules for PC87360 chips
534 $(eval
$(call KernelPackage
,hwmon-pc87360
))
537 define KernelPackage
/input-core
539 TITLE
:=Input device core
541 KCONFIG
:=CONFIG_INPUT
542 FILES
:=$(LINUX_DIR
)/drivers
/input
/input-core.
$(LINUX_KMOD_SUFFIX
)
543 AUTOLOAD
:=$(call AutoLoad
,50,input-core
)
546 define KernelPackage
/input-core
/description
547 Kernel modules for support of input device
550 $(eval
$(call KernelPackage
,input-core
))
553 define KernelPackage
/input-evdev
555 TITLE
:=Input even device
556 DEPENDS
:=+kmod-input-core
557 KCONFIG
:=CONFIG_INPUT_EVDEV
558 FILES
:=$(LINUX_DIR
)/drivers
/input
/evdev.
$(LINUX_KMOD_SUFFIX
)
559 AUTOLOAD
:=$(call AutoLoad
,60,evdev
)
562 define KernelPackage
/input-evdev
/description
563 Kernel modules for support of input device events
566 $(eval
$(call KernelPackage
,input-evdev
))