kexec-tools: Minor makefile line end fixes
[openwrt.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 OTHER_MENU:=Other modules
9
10 define KernelPackage/crc-itu-t
11 SUBMENU:=$(OTHER_MENU)
12 TITLE:=CRC ITU-T V.41 support
13 KCONFIG:=CONFIG_CRC_ITU_T
14 FILES:=$(LINUX_DIR)/lib/crc-itu-t.$(LINUX_KMOD_SUFFIX)
15 AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
16 endef
17
18 define KernelPackage/crc-itu-t/description
19 Kernel module for CRC ITU-T V.41 support
20 endef
21
22 $(eval $(call KernelPackage,crc-itu-t))
23
24 define KernelPackage/crc-ccitt
25 SUBMENU:=$(OTHER_MENU)
26 TITLE:=CRC-CCITT support
27 KCONFIG:=CONFIG_CRC_CCITT
28 FILES:=$(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
29 AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
30 endef
31
32 define KernelPackage/crc-ccitt/description
33 Kernel module for CRC-CCITT support
34 endef
35
36 $(eval $(call KernelPackage,crc-ccitt))
37
38
39 define KernelPackage/crc7
40 SUBMENU:=$(OTHER_MENU)
41 TITLE:=CRC7 support
42 KCONFIG:=CONFIG_CRC7
43 FILES:=$(LINUX_DIR)/lib/crc7.$(LINUX_KMOD_SUFFIX)
44 AUTOLOAD:=$(call AutoLoad,20,crc7)
45 endef
46
47 define KernelPackage/crc7/description
48 Kernel module for CRC7 support
49 endef
50
51 $(eval $(call KernelPackage,crc7))
52
53
54 define KernelPackage/crc16
55 SUBMENU:=$(OTHER_MENU)
56 TITLE:=CRC16 support
57 KCONFIG:=CONFIG_CRC16
58 FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX)
59 AUTOLOAD:=$(call AutoLoad,20,crc16)
60 endef
61
62 define KernelPackage/crc16/description
63 Kernel module for CRC16 support
64 endef
65
66 $(eval $(call KernelPackage,crc16))
67
68
69 define KernelPackage/eeprom-93cx6
70 SUBMENU:=$(OTHER_MENU)
71 TITLE:=EEPROM 93CX6 support
72 DEPENDS:=@LINUX_2_6
73 KCONFIG:=CONFIG_EEPROM_93CX6
74 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.29)),1)
75 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
76 else
77 FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
78 endif
79 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
80 endef
81
82 define KernelPackage/eeprom-93cx6/description
83 Kernel module for EEPROM 93CX6 support
84 endef
85
86 $(eval $(call KernelPackage,eeprom-93cx6))
87
88
89 define KernelPackage/lp
90 SUBMENU:=$(OTHER_MENU)
91 TITLE:=Parallel port and line printer support
92 DEPENDS:=@LINUX_2_4
93 KCONFIG:= \
94 CONFIG_PARPORT \
95 CONFIG_PRINTER \
96 CONFIG_PPDEV
97 FILES:= \
98 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
99 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
100 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
101 AUTOLOAD:=$(call AutoLoad,50,parport lp)
102 endef
103
104 $(eval $(call KernelPackage,lp))
105
106 define KernelPackage/pcspkr
107 SUBMENU:=$(OTHER_MENU)
108 TITLE:=PC speaker support
109 DEPENDS:=@LINUX_2_6
110 KCONFIG:=CONFIG_INPUT_PCSPKR
111 FILES:= \
112 $(LINUX_DIR)/drivers/input/misc/pcspkr.$(LINUX_KMOD_SUFFIX)
113 AUTOLOAD:=$(call AutoLoad,50, \
114 pcspkr \
115 )
116 endef
117
118 define KernelPackage/pcspkr/description
119 This enables sounds (tones) through the pc speaker
120 endef
121
122 $(eval $(call KernelPackage,pcspkr))
123
124 define KernelPackage/pcmcia-core
125 SUBMENU:=$(OTHER_MENU)
126 TITLE:=PCMCIA/CardBus support
127 DEPENDS:=@PCMCIA_SUPPORT
128 KCONFIG:= \
129 CONFIG_PCMCIA \
130 CONFIG_CARDBUS \
131 CONFIG_PCCARD \
132 CONFIG_PCCARD_NONSTATIC \
133 PCMCIA_DEBUG=n
134 endef
135
136 define KernelPackage/pcmcia-core/2.4
137 # KCONFIG:= \
138 # CONFIG_PCMCIA \
139 # CONFIG_CARDBUS
140 FILES:= \
141 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
142 $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
143 AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds)
144 endef
145
146 define KernelPackage/pcmcia-core/2.6
147 # KCONFIG:= \
148 # CONFIG_PCCARD \
149 # CONFIG_PCMCIA \
150 # CONFIG_PCCARD_NONSTATIC \
151 # PCMCIA_DEBUG=n
152 FILES:= \
153 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
154 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX)
155 AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
156 endef
157
158 define KernelPackage/pcmcia-core/description
159 Kernel support for PCMCIA/CardBus controllers
160 endef
161
162 $(eval $(call KernelPackage,pcmcia-core))
163
164
165 define KernelPackage/pcmcia-yenta
166 SUBMENU:=$(OTHER_MENU)
167 TITLE:=yenta socket driver
168 DEPENDS:=kmod-pcmcia-core
169 KCONFIG:=CONFIG_YENTA
170 FILES:= \
171 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
172 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
173 AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket)
174 endef
175
176 $(eval $(call KernelPackage,pcmcia-yenta))
177
178 define KernelPackage/pcmcia-au1000
179 SUBMENU:=$(OTHER_MENU)
180 TITLE:=RMI/AMD Au1000 PCMCIA support
181 DEPENDS:=kmod-pcmcia-core @TARGET_au1000
182 FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
183 AUTOLOAD:=$(call AutoLoad,41,au1x00_ss)
184 endef
185
186 $(eval $(call KernelPackage,pcmcia-au1000))
187
188 define KernelPackage/pcmcia-bcm63xx
189 SUBMENU:=$(OTHER_MENU)
190 TITLE:=Broadcom BCM63xx PCMCIA support
191 DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx
192 KCONFIG:=CONFIG_PCMCIA_BCM63XX
193 FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX)
194 AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
195 endef
196
197 define KernelPackage/pcmcia-bcm63xx/description
198 Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
199 endef
200
201 $(eval $(call KernelPackage,pcmcia-bcm63xx))
202
203 define KernelPackage/pcmcia-serial
204 SUBMENU:=$(OTHER_MENU)
205 TITLE:=Serial devices support
206 DEPENDS:=kmod-pcmcia-core
207 KCONFIG:= \
208 CONFIG_PCMCIA_SERIAL_CS \
209 CONFIG_SERIAL_8250_CS
210 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
211 endef
212
213 define KernelPackage/pcmcia-serial/2.4
214 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
215 FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
216 endef
217
218 define KernelPackage/pcmcia-serial/2.6
219 # KCONFIG:=CONFIG_SERIAL_8250_CS
220 FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
221 endef
222
223 define KernelPackage/pcmcia-serial/description
224 Kernel support for PCMCIA/CardBus serial devices
225 endef
226
227 $(eval $(call KernelPackage,pcmcia-serial))
228
229 define KernelPackage/ssb
230 SUBMENU:=$(OTHER_MENU)
231 TITLE:=Silicon Sonics Backplane glue code
232 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT @!TARGET_brcm47xx||!TARGET_brcm63xx
233 KCONFIG:=\
234 CONFIG_SSB \
235 CONFIG_SSB_B43_PCI_BRIDGE=y \
236 CONFIG_SSB_DRIVER_MIPS=n \
237 CONFIG_SSB_DRIVER_PCICORE=y \
238 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
239 CONFIG_SSB_PCIHOST=y \
240 CONFIG_SSB_PCIHOST_POSSIBLE=y \
241 CONFIG_SSB_POSSIBLE=y \
242 CONFIG_SSB_SPROM=y \
243 CONFIG_SSB_SILENT=y
244 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
245 AUTOLOAD:=$(call AutoLoad,29,ssb)
246 endef
247
248 define KernelPackage/ssb/description
249 Silicon Sonics Backplane glue code.
250 endef
251
252 $(eval $(call KernelPackage,ssb))
253
254
255 define KernelPackage/bluetooth
256 SUBMENU:=$(OTHER_MENU)
257 TITLE:=Bluetooth support
258 DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-input-core
259 KCONFIG:= \
260 CONFIG_BLUEZ \
261 CONFIG_BLUEZ_L2CAP \
262 CONFIG_BLUEZ_SCO \
263 CONFIG_BLUEZ_RFCOMM \
264 CONFIG_BLUEZ_BNEP \
265 CONFIG_BLUEZ_HCIUART \
266 CONFIG_BLUEZ_HCIUSB \
267 CONFIG_BLUEZ_HIDP \
268 CONFIG_BT \
269 CONFIG_BT_L2CAP \
270 CONFIG_BT_SCO \
271 CONFIG_BT_RFCOMM \
272 CONFIG_BT_BNEP \
273 CONFIG_BT_HCIBTUSB \
274 CONFIG_BT_HCIUSB \
275 CONFIG_BT_HCIUART \
276 CONFIG_BT_HIDP
277 endef
278
279 define KernelPackage/bluetooth/2.4
280 # KCONFIG:= \
281 # CONFIG_BLUEZ \
282 # CONFIG_BLUEZ_L2CAP \
283 # CONFIG_BLUEZ_SCO \
284 # CONFIG_BLUEZ_RFCOMM \
285 # CONFIG_BLUEZ_BNEP \
286 # CONFIG_BLUEZ_HCIUART \
287 # CONFIG_BLUEZ_HCIUSB
288 FILES:= \
289 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
290 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
291 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
292 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
293 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
294 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
295 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
296 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
297 endef
298
299 define KernelPackage/bluetooth/2.6
300 # KCONFIG:= \
301 # CONFIG_BT \
302 # CONFIG_BT_L2CAP \
303 # CONFIG_BT_SCO \
304 # CONFIG_BT_RFCOMM \
305 # CONFIG_BT_BNEP \
306 # CONFIG_BT_HCIUSB \
307 # CONFIG_BT_HCIUART
308 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.27)),1)
309 FILES:= \
310 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
311 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
312 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
313 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
314 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
315 $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
316 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
317 $(LINUX_DIR)/drivers/bluetooth/btusb.$(LINUX_KMOD_SUFFIX)
318 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
319 else
320 FILES:= \
321 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
322 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
323 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
324 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
325 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
326 $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
327 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
328 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
329 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart hci_usb)
330 endif
331 endef
332
333 define KernelPackage/bluetooth/description
334 Kernel support for Bluetooth devices
335 endef
336
337 $(eval $(call KernelPackage,bluetooth))
338
339
340 define KernelPackage/mmc
341 SUBMENU:=$(OTHER_MENU)
342 TITLE:=MMC/SD Card Support
343 DEPENDS:=@LINUX_2_6
344 KCONFIG:= \
345 CONFIG_MMC \
346 CONFIG_MMC_BLOCK \
347 CONFIG_MMC_DEBUG=n \
348 CONFIG_MMC_UNSAFE_RESUME=n \
349 CONFIG_MMC_BLOCK_BOUNCE=y \
350 CONFIG_MMC_SDHCI=n \
351 CONFIG_MMC_TIFM_SD=n \
352 CONFIG_MMC_WBSD=n \
353 CONFIG_SDIO_UART=n
354 FILES:= \
355 $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
356 $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
357 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block)
358 endef
359
360 define KernelPackage/mmc/description
361 Kernel support for MMC/SD cards
362 endef
363
364 $(eval $(call KernelPackage,mmc))
365
366
367 define KernelPackage/mmc-at91
368 SUBMENU:=$(OTHER_MENU)
369 TITLE:=MMC/SD Card Support on AT91
370 DEPENDS:=@TARGET_at91 +kmod-mmc
371 KCONFIG:=CONFIG_MMC_AT91
372 FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.$(LINUX_KMOD_SUFFIX)
373 AUTOLOAD:=$(call AutoLoad,90,at91_mci)
374 endef
375
376 define KernelPackage/mmc-at91/description
377 Kernel support for MMC/SD cards on the AT91 target
378 endef
379
380 $(eval $(call KernelPackage,mmc-at91))
381
382
383 # XXX: added a workaround for watchdog path changes
384 ifeq ($(KERNEL),2.4)
385 WATCHDOG_DIR=char
386 endif
387 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
388 WATCHDOG_DIR=watchdog
389 endif
390 WATCHDOG_DIR?=char/watchdog
391
392 define KernelPackage/atmel-wdt
393 SUBMENU:=$(OTHER_MENU)
394 TITLE:=AT32AP700x watchdog
395 DEPENDS:=@TARGET_avr32
396 KCONFIG:=CONFIG_AT32AP700X_WDT
397 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX)
398 AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt)
399 endef
400
401 define KernelPackage/atmel-wdt/description
402 AT32AP700x watchdog
403 endef
404
405 $(eval $(call KernelPackage,atmel-wdt))
406
407
408 define KernelPackage/softdog
409 SUBMENU:=$(OTHER_MENU)
410 TITLE:=Software watchdog driver
411 KCONFIG:=CONFIG_SOFT_WATCHDOG
412 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
413 AUTOLOAD:=$(call AutoLoad,50,softdog)
414 endef
415
416 define KernelPackage/softdog/description
417 Software watchdog driver
418 endef
419
420 $(eval $(call KernelPackage,softdog))
421
422
423 define KernelPackage/leds-gpio
424 SUBMENU:=$(OTHER_MENU)
425 TITLE:=GPIO LED support
426 DEPENDS:= @GPIO_SUPPORT
427 KCONFIG:=CONFIG_LEDS_GPIO
428 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
429 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
430 endef
431
432 define KernelPackage/leds-gpio/description
433 Kernel module for LEDs on GPIO lines
434 endef
435
436 $(eval $(call KernelPackage,leds-gpio))
437
438
439 define KernelPackage/ledtrig-adm5120-switch
440 SUBMENU:=$(OTHER_MENU)
441 TITLE:=LED ADM5120 Switch Port Status Trigger
442 DEPENDS:=@TARGET_adm5120
443 KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
444 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
445 AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
446 endef
447
448 define KernelPackage/ledtrig-adm5120-switch/description
449 Kernel module to allow LEDs to be controlled by the port states
450 of the ADM5120 built-in ethernet switch.
451 endef
452
453 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
454
455
456 define KernelPackage/leds-net48xx
457 SUBMENU:=$(OTHER_MENU)
458 TITLE:=Soekris Net48xx LED support
459 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
460 KCONFIG:=CONFIG_LEDS_NET48XX
461 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
462 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
463 endef
464
465 define KernelPackage/leds-net48xx/description
466 Kernel module for Soekris Net48xx LEDs
467 endef
468
469 $(eval $(call KernelPackage,leds-net48xx))
470
471
472 define KernelPackage/leds-wrap
473 SUBMENU:=$(OTHER_MENU)
474 TITLE:=PCengines WRAP LED support
475 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
476 KCONFIG:=CONFIG_LEDS_WRAP
477 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
478 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
479 endef
480
481 define KernelPackage/leds-wrap/description
482 Kernel module for PCengines WRAP LEDs
483 endef
484
485 $(eval $(call KernelPackage,leds-wrap))
486
487
488 define KernelPackage/leds-alix
489 SUBMENU:=$(OTHER_MENU)
490 TITLE:=PCengines ALIX LED support
491 DEPENDS:=@TARGET_x86
492 KCONFIG:=CONFIG_LEDS_ALIX
493 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix.$(LINUX_KMOD_SUFFIX)
494 AUTOLOAD:=$(call AutoLoad,50,leds-alix)
495 endef
496
497 define KernelPackage/leds-alix/description
498 Kernel module for PCengines ALIX LEDs
499 endef
500
501 $(eval $(call KernelPackage,leds-alix))
502
503
504 define KernelPackage/ledtrig-netdev
505 SUBMENU:=$(OTHER_MENU)
506 TITLE:=LED NETDEV Trigger
507 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
508 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
509 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
510 endef
511
512 define KernelPackage/ledtrig-netdev/description
513 Kernel module to drive LEDs based on network activity.
514 endef
515
516 $(eval $(call KernelPackage,ledtrig-netdev))
517
518
519 define KernelPackage/ledtrig-morse
520 SUBMENU:=$(OTHER_MENU)
521 TITLE:=LED Morse Trigger
522 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
523 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
524 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
525 endef
526
527 define KernelPackage/ledtrig-morse/description
528 Kernel module to show morse coded messages on LEDs.
529 endef
530
531 $(eval $(call KernelPackage,ledtrig-morse))
532
533
534 define KernelPackage/gpio-dev
535 SUBMENU:=$(OTHER_MENU)
536 TITLE:=Generic GPIO char device support
537 DEPENDS:=@GPIO_SUPPORT
538 KCONFIG:=CONFIG_GPIO_DEVICE
539 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
540 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
541 endef
542
543 define KernelPackage/gpio-dev/description
544 Kernel module to allows control of GPIO pins using a character device.
545 endef
546
547 $(eval $(call KernelPackage,gpio-dev))
548
549
550 define KernelPackage/nsc-gpio
551 SUBMENU:=$(OTHER_MENU)
552 TITLE:=Natsemi GPIO support
553 DEPENDS:=@TARGET_x86
554 KCONFIG:=CONFIG_NSC_GPIO
555 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
556 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
557 endef
558
559 define KernelPackage/nsc-gpio/description
560 Kernel module for Natsemi GPIO
561 endef
562
563 $(eval $(call KernelPackage,nsc-gpio))
564
565
566 define KernelPackage/scx200-gpio
567 SUBMENU:=$(OTHER_MENU)
568 TITLE:=Natsemi SCX200 GPIO support
569 DEPENDS:=@TARGET_x86 +kmod-nsc-gpio
570 KCONFIG:=CONFIG_SCx200_GPIO
571 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
572 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
573 endef
574
575 define KernelPackage/scx200-gpio/description
576 Kernel module for SCX200 GPIO
577 endef
578
579 $(eval $(call KernelPackage,scx200-gpio))
580
581
582 define KernelPackage/scx200-wdt
583 SUBMENU:=$(OTHER_MENU)
584 TITLE:=Natsemi SCX200 Watchdog support
585 DEPENDS:=@TARGET_x86
586 KCONFIG:=CONFIG_SCx200_WDT
587 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
588 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
589 endef
590
591 define KernelPackage/scx200-wdt/description
592 Kernel module for SCX200 Watchdog
593 endef
594
595 $(eval $(call KernelPackage,scx200-wdt))
596
597
598 define KernelPackage/sc520-wdt
599 SUBMENU:=$(OTHER_MENU)
600 TITLE:=Natsemi SC520 Watchdog support
601 DEPENDS:=@TARGET_x86
602 KCONFIG:=CONFIG_SC520_WDT
603 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
604 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
605 endef
606
607 define KernelPackage/sc520-wdt/description
608 Kernel module for SC520 Watchdog
609 endef
610
611 $(eval $(call KernelPackage,sc520-wdt))
612
613
614 define KernelPackage/input-core
615 SUBMENU:=$(OTHER_MENU)
616 TITLE:=Input device core
617 DEPENDS:=@LINUX_2_6
618 KCONFIG:=CONFIG_INPUT
619 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
620 AUTOLOAD:=$(call AutoLoad,19,input-core)
621 endef
622
623 define KernelPackage/input-core/description
624 Kernel modules for support of input device
625 endef
626
627 $(eval $(call KernelPackage,input-core))
628
629
630 define KernelPackage/input-evdev
631 SUBMENU:=$(OTHER_MENU)
632 TITLE:=Input event device
633 DEPENDS:=+kmod-input-core
634 KCONFIG:=CONFIG_INPUT_EVDEV
635 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
636 AUTOLOAD:=$(call AutoLoad,60,evdev)
637 endef
638
639 define KernelPackage/input-evdev/description
640 Kernel modules for support of input device events
641 endef
642
643 $(eval $(call KernelPackage,input-evdev))
644
645
646 define KernelPackage/hid
647 SUBMENU:=$(OTHER_MENU)
648 TITLE:=HID Devices
649 DEPENDS:=+kmod-input-core +kmod-input-evdev
650 KCONFIG:=CONFIG_HID
651 FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
652 AUTOLOAD:=$(call AutoLoad,61,hid)
653 endef
654
655 define KernelPackage/hid/description
656 Kernel modules for HID devices
657 endef
658
659 $(eval $(call KernelPackage,hid))
660
661
662 define KernelPackage/input-polldev
663 SUBMENU:=$(OTHER_MENU)
664 TITLE:=Polled Input device support
665 DEPENDS:=+kmod-input-core @LINUX_2_6
666 KCONFIG:=CONFIG_INPUT_POLLDEV
667 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
668 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
669 endef
670
671 define KernelPackage/input-polldev/description
672 Kernel module for support of polled input devices
673 endef
674
675 $(eval $(call KernelPackage,input-polldev))
676
677
678 define KernelPackage/input-gpio-keys
679 SUBMENU:=$(OTHER_MENU)
680 TITLE:=GPIO key support
681 DEPENDS:= @GPIO_SUPPORT +kmod-input-core
682 KCONFIG:=CONFIG_KEYBOARD_GPIO
683 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.$(LINUX_KMOD_SUFFIX)
684 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
685 endef
686
687 define KernelPackage/input-gpio-keys/description
688 This driver implements support for buttons connected
689 to GPIO pins of various CPUs (and some other chips).
690 endef
691
692 $(eval $(call KernelPackage,input-gpio-keys))
693
694
695 define KernelPackage/input-gpio-buttons
696 SUBMENU:=$(OTHER_MENU)
697 TITLE:=Polled GPIO buttons input device
698 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
699 KCONFIG:= \
700 CONFIG_INPUT_GPIO_BUTTONS \
701 CONFIG_INPUT_MISC=y
702 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
703 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
704 endef
705
706 define KernelPackage/input-gpio-buttons/description
707 Kernel module for support polled GPIO buttons input device
708 endef
709
710 $(eval $(call KernelPackage,input-gpio-buttons))
711
712 define KernelPackage/input-joydev
713 SUBMENU:=$(OTHER_MENU)
714 TITLE:=Joystick device support
715 DEPENDS:=+kmod-input-core
716 KCONFIG:=CONFIG_INPUT_JOYDEV
717 FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
718 AUTOLOAD:=$(call AutoLoad,62,joydev)
719 endef
720
721 define KernelPackage/input-joydev/description
722 Kernel module for joystick support
723 endef
724
725 $(eval $(call KernelPackage,input-joydev))
726
727
728 define KernelPackage/mmc-atmelmci
729 SUBMENU:=$(OTHER_MENU)
730 TITLE:=Amtel MMC Support
731 DEPENDS:=@TARGET_avr32 +kmod-mmc
732 KCONFIG:=CONFIG_MMC_ATMELMCI
733 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
734 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
735 endef
736
737 define KernelPackage/mmc-atmelmci/description
738 Kernel support for Atmel Multimedia Card Interface.
739 endef
740
741 $(eval $(call KernelPackage,mmc-atmelmci))
742
743
744 define KernelPackage/cs5535-gpio
745 SUBMENU:=$(OTHER_MENU)
746 TITLE:=AMD CS5535/CS5536 GPIO driver
747 DEPENDS:=@TARGET_x86||@TARGET_olpc
748 KCONFIG:=CONFIG_CS5535_GPIO
749 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
750 AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
751 endef
752
753 define KernelPackage/cs5535-gpio/description
754 This package contains the AMD CS5535/CS5536 GPIO driver
755 endef
756
757 $(eval $(call KernelPackage,cs5535-gpio))
758
759
760 define KernelPackage/textsearch
761 SUBMENU:=$(OTHER_MENU)
762 TITLE:=Textsearch support is selected if needed
763 DEPENDS:=@LINUX_2_6 @!LINUX_2_6_21
764 KCONFIG:= \
765 CONFIG_TEXTSEARCH=y \
766 CONFIG_TEXTSEARCH_KMP \
767 CONFIG_TEXTSEARCH_BM \
768 CONFIG_TEXTSEARCH_FSM
769 FILES:= \
770 $(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
771 $(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
772 $(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
773 AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
774 endef
775
776 $(eval $(call KernelPackage,textsearch))
777
778
779 define KernelPackage/rfkill
780 SUBMENU:=$(OTHER_MENU)
781 TITLE:=RF switch subsystem support
782 DEPENDS:=@TARGET_x86||TARGET_olpc||TARGET_s3c24xx||TARGET_brcm47xx
783 KCONFIG:= \
784 CONFIG_RFKILL \
785 CONFIG_RFKILL_INPUT \
786 CONFIG_RFKILL_LEDS=y
787 FILES:= \
788 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
789 $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
790 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
791 endef
792
793 define KernelPackage/rfkill/description
794 Say Y here if you want to have control over RF switches
795 found on many WiFi and Bluetooth cards.
796 endef
797
798 $(eval $(call KernelPackage,rfkill))
This page took 0.076656 seconds and 5 git commands to generate.