Root/package/kernel/modules/other.mk

1#
2# Copyright (C) 2006-2012 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8OTHER_MENU:=Other modules
9
10WATCHDOG_DIR:=watchdog
11
12
13define KernelPackage/bluetooth
14  SUBMENU:=$(OTHER_MENU)
15  TITLE:=Bluetooth support
16  DEPENDS:=@USB_SUPPORT +kmod-usb-core
17  KCONFIG:= \
18    CONFIG_BLUEZ \
19    CONFIG_BLUEZ_L2CAP \
20    CONFIG_BLUEZ_SCO \
21    CONFIG_BLUEZ_RFCOMM \
22    CONFIG_BLUEZ_BNEP \
23    CONFIG_BLUEZ_HCIUART \
24    CONFIG_BLUEZ_HCIUSB \
25    CONFIG_BLUEZ_HIDP \
26    CONFIG_BT \
27    CONFIG_BT_L2CAP=y \
28    CONFIG_BT_SCO=y \
29    CONFIG_BT_RFCOMM \
30    CONFIG_BT_BNEP \
31    CONFIG_BT_HCIBTUSB \
32    CONFIG_BT_HCIUSB \
33    CONFIG_BT_HCIUART \
34    CONFIG_BT_HCIUART_H4 \
35    CONFIG_BT_HIDP \
36    CONFIG_HID_SUPPORT=y
37  $(call AddDepends/crc16)
38  $(call AddDepends/hid)
39  $(call AddDepends/rfkill)
40  FILES:= \
41    $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
42    $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
43    $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
44    $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
45    $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
46    $(LINUX_DIR)/drivers/bluetooth/btusb.ko
47  AUTOLOAD:=$(call AutoLoad,90,bluetooth rfcomm bnep hidp hci_uart btusb)
48endef
49
50define KernelPackage/bluetooth/description
51 Kernel support for Bluetooth devices
52endef
53
54$(eval $(call KernelPackage,bluetooth))
55
56
57define KernelPackage/bluetooth-hci-h4p
58  SUBMENU:=$(OTHER_MENU)
59  TITLE:=HCI driver with H4 Nokia extensions
60  DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
61  KCONFIG:=CONFIG_BT_HCIH4P
62  FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
63  AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
64endef
65
66define KernelPackage/bluetooth-hci-h4p/description
67  HCI driver with H4 Nokia extensions
68endef
69
70$(eval $(call KernelPackage,bluetooth-hci-h4p))
71
72
73define KernelPackage/eeprom-93cx6
74  SUBMENU:=$(OTHER_MENU)
75  TITLE:=EEPROM 93CX6 support
76  KCONFIG:=CONFIG_EEPROM_93CX6
77  FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
78  AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
79endef
80
81define KernelPackage/eeprom-93cx6/description
82 Kernel module for EEPROM 93CX6 support
83endef
84
85$(eval $(call KernelPackage,eeprom-93cx6))
86
87
88define KernelPackage/eeprom-at24
89  SUBMENU:=$(OTHER_MENU)
90  TITLE:=EEPROM AT24 support
91  KCONFIG:=CONFIG_EEPROM_AT24
92  DEPENDS:=+kmod-i2c-core
93  FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
94  AUTOLOAD:=$(call AutoLoad,60,at24)
95endef
96
97define KernelPackage/eeprom-at24/description
98 Kernel module for most I2C EEPROMs
99endef
100
101$(eval $(call KernelPackage,eeprom-at24))
102
103
104define KernelPackage/eeprom-at25
105  SUBMENU:=$(OTHER_MENU)
106  TITLE:=EEPROM AT25 support
107  KCONFIG:=CONFIG_EEPROM_AT25
108  FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
109  AUTOLOAD:=$(call AutoLoad,61,at25)
110endef
111
112define KernelPackage/eeprom-at25/description
113 Kernel module for most SPI EEPROMs
114endef
115
116$(eval $(call KernelPackage,eeprom-at25))
117
118
119define KernelPackage/gpio-dev
120  SUBMENU:=$(OTHER_MENU)
121  TITLE:=Generic GPIO char device support
122  DEPENDS:=@GPIO_SUPPORT
123  KCONFIG:=CONFIG_GPIO_DEVICE
124  FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
125  AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
126endef
127
128define KernelPackage/gpio-dev/description
129  Kernel module to allows control of GPIO pins using a character device.
130endef
131
132$(eval $(call KernelPackage,gpio-dev))
133
134
135define KernelPackage/gpio-nxp-74hc164
136  SUBMENU:=$(OTHER_MENU)
137  TITLE:=NXP 74HC164 GPIO expander support
138  KCONFIG:=CONFIG_GPIO_NXP_74HC164
139  FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
140  AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
141endef
142
143define KernelPackage/gpio-nxp-74hc164/description
144  Kernel module for NXP 74HC164 GPIO expander
145endef
146
147$(eval $(call KernelPackage,gpio-nxp-74hc164))
148
149define KernelPackage/hid
150  SUBMENU:=$(OTHER_MENU)
151  TITLE:=HID Devices
152  KCONFIG:=CONFIG_HID
153  FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
154  AUTOLOAD:=$(call AutoLoad,61,hid)
155  $(call AddDepends/input,+kmod-input-evdev)
156endef
157
158define KernelPackage/hid/description
159 Kernel modules for HID devices
160endef
161
162$(eval $(call KernelPackage,hid))
163
164
165define KernelPackage/input-core
166  SUBMENU:=$(OTHER_MENU)
167  TITLE:=Input device core
168  KCONFIG:=CONFIG_INPUT
169  FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
170  AUTOLOAD:=$(call AutoLoad,19,input-core)
171endef
172
173define KernelPackage/input-core/description
174 Kernel modules for support of input device
175endef
176
177$(eval $(call KernelPackage,input-core))
178
179
180define KernelPackage/input-evdev
181  SUBMENU:=$(OTHER_MENU)
182  TITLE:=Input event device
183  KCONFIG:=CONFIG_INPUT_EVDEV
184  FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
185  AUTOLOAD:=$(call AutoLoad,60,evdev)
186  $(call AddDepends/input)
187endef
188
189define KernelPackage/input-evdev/description
190 Kernel modules for support of input device events
191endef
192
193$(eval $(call KernelPackage,input-evdev))
194
195
196define KernelPackage/input-gpio-buttons
197  SUBMENU:=$(OTHER_MENU)
198  TITLE:=Polled GPIO buttons input device
199  DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
200  KCONFIG:= \
201    CONFIG_INPUT_GPIO_BUTTONS \
202    CONFIG_INPUT_MISC=y
203  FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
204  AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
205endef
206
207define KernelPackage/input-gpio-buttons/description
208 Kernel module for support polled GPIO buttons input device
209endef
210
211$(eval $(call KernelPackage,input-gpio-buttons))
212
213
214define KernelPackage/input-gpio-keys
215  SUBMENU:=$(OTHER_MENU)
216  TITLE:=GPIO key support
217  DEPENDS:= @GPIO_SUPPORT
218  KCONFIG:= \
219    CONFIG_KEYBOARD_GPIO \
220    CONFIG_INPUT_KEYBOARD=y
221  FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
222  AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
223  $(call AddDepends/input)
224endef
225
226define KernelPackage/input-gpio-keys/description
227 This driver implements support for buttons connected
228 to GPIO pins of various CPUs (and some other chips).
229endef
230
231$(eval $(call KernelPackage,input-gpio-keys))
232
233
234define KernelPackage/input-gpio-keys-polled
235  SUBMENU:=$(OTHER_MENU)
236  TITLE:=Polled GPIO key support
237  DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
238  KCONFIG:= \
239    CONFIG_KEYBOARD_GPIO_POLLED \
240    CONFIG_INPUT_KEYBOARD=y
241  FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
242  AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
243  $(call AddDepends/input)
244endef
245
246define KernelPackage/input-gpio-keys-polled/description
247 Kernel module for support polled GPIO keys input device
248endef
249
250$(eval $(call KernelPackage,input-gpio-keys-polled))
251
252
253define KernelPackage/input-gpio-encoder
254  SUBMENU:=$(OTHER_MENU)
255  TITLE:=GPIO rotay encoder
256  KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
257  FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
258  AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
259  $(call AddDepends/input,@GPIO_SUPPORT)
260endef
261
262define KernelPackage/gpio-encoder/description
263 Kernel module to use rotary encoders connected to GPIO pins
264endef
265
266$(eval $(call KernelPackage,input-gpio-encoder))
267
268
269define KernelPackage/input-joydev
270  SUBMENU:=$(OTHER_MENU)
271  TITLE:=Joystick device support
272  KCONFIG:=CONFIG_INPUT_JOYDEV
273  FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
274  AUTOLOAD:=$(call AutoLoad,62,joydev)
275  $(call AddDepends/input)
276endef
277
278define KernelPackage/input-joydev/description
279  Kernel module for joystick support
280endef
281
282$(eval $(call KernelPackage,input-joydev))
283
284
285define KernelPackage/input-polldev
286  SUBMENU:=$(OTHER_MENU)
287  TITLE:=Polled Input device support
288  KCONFIG:=CONFIG_INPUT_POLLDEV
289  FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
290  AUTOLOAD:=$(call AutoLoad,20,input-polldev)
291  $(call AddDepends/input)
292endef
293
294define KernelPackage/input-polldev/description
295 Kernel module for support of polled input devices
296endef
297
298$(eval $(call KernelPackage,input-polldev))
299
300
301define KernelPackage/lp
302  SUBMENU:=$(OTHER_MENU)
303  TITLE:=Parallel port and line printer support
304  DEPENDS:=@BROKEN
305  KCONFIG:= \
306    CONFIG_PARPORT \
307    CONFIG_PRINTER \
308    CONFIG_PPDEV
309  FILES:= \
310    $(LINUX_DIR)/drivers/parport/parport.ko \
311    $(LINUX_DIR)/drivers/char/lp.ko \
312    $(LINUX_DIR)/drivers/char/ppdev.ko
313  AUTOLOAD:=$(call AutoLoad,50,parport lp)
314endef
315
316$(eval $(call KernelPackage,lp))
317
318
319define KernelPackage/mmc
320  SUBMENU:=$(OTHER_MENU)
321  TITLE:=MMC/SD Card Support
322  KCONFIG:= \
323    CONFIG_MMC \
324    CONFIG_MMC_BLOCK \
325    CONFIG_MMC_DEBUG=n \
326    CONFIG_MMC_UNSAFE_RESUME=n \
327    CONFIG_MMC_BLOCK_BOUNCE=y \
328    CONFIG_MMC_SDHCI=n \
329    CONFIG_MMC_TIFM_SD=n \
330    CONFIG_MMC_WBSD=n \
331    CONFIG_SDIO_UART=n
332  FILES:= \
333    $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
334    $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
335  AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
336endef
337
338define KernelPackage/mmc/description
339 Kernel support for MMC/SD cards
340endef
341
342$(eval $(call KernelPackage,mmc))
343
344
345define KernelPackage/oprofile
346  SUBMENU:=$(OTHER_MENU)
347  TITLE:=OProfile profiling support
348  KCONFIG:=CONFIG_OPROFILE
349  FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
350  DEPENDS:=@KERNEL_PROFILING
351endef
352
353define KernelPackage/oprofile/description
354  Kernel module for support for oprofile system profiling.
355endef
356
357$(eval $(call KernelPackage,oprofile))
358
359
360define KernelPackage/rfkill
361  SUBMENU:=$(OTHER_MENU)
362  TITLE:=RF switch subsystem support
363  KCONFIG:= \
364    CONFIG_RFKILL \
365    CONFIG_RFKILL_INPUT=y \
366    CONFIG_RFKILL_LEDS=y
367  FILES:= \
368    $(LINUX_DIR)/net/rfkill/rfkill.ko
369  AUTOLOAD:=$(call AutoLoad,20,rfkill)
370  $(call SetDepends/rfkill)
371endef
372
373define KernelPackage/rfkill/description
374  Say Y here if you want to have control over RF switches
375  found on many WiFi and Bluetooth cards.
376endef
377
378$(eval $(call KernelPackage,rfkill))
379
380
381define KernelPackage/softdog
382  SUBMENU:=$(OTHER_MENU)
383  TITLE:=Software watchdog driver
384  KCONFIG:=CONFIG_SOFT_WATCHDOG
385  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
386  AUTOLOAD:=$(call AutoLoad,50,softdog)
387endef
388
389define KernelPackage/softdog/description
390 Software watchdog driver
391endef
392
393$(eval $(call KernelPackage,softdog))
394
395
396define KernelPackage/ssb
397  SUBMENU:=$(OTHER_MENU)
398  TITLE:=Silicon Sonics Backplane glue code
399  DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
400  KCONFIG:=\
401    CONFIG_SSB \
402    CONFIG_SSB_B43_PCI_BRIDGE=y \
403    CONFIG_SSB_DRIVER_MIPS=n \
404    CONFIG_SSB_DRIVER_PCICORE=y \
405    CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
406    CONFIG_SSB_PCIHOST=y \
407    CONFIG_SSB_PCIHOST_POSSIBLE=y \
408    CONFIG_SSB_POSSIBLE=y \
409    CONFIG_SSB_SPROM=y \
410    CONFIG_SSB_SILENT=y
411  FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
412  AUTOLOAD:=$(call AutoLoad,29,ssb)
413endef
414
415define KernelPackage/ssb/description
416  Silicon Sonics Backplane glue code.
417endef
418
419$(eval $(call KernelPackage,ssb))
420
421
422define KernelPackage/bcma
423  SUBMENU:=$(OTHER_MENU)
424  TITLE:=BCMA support
425  DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
426  KCONFIG:=\
427    CONFIG_BCMA \
428    CONFIG_BCMA_POSSIBLE=y \
429    CONFIG_BCMA_BLOCKIO=y \
430    CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
431    CONFIG_BCMA_HOST_PCI=y \
432    CONFIG_BCMA_DRIVER_MIPS=n \
433    CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
434    CONFIG_BCMA_DRIVER_GMAC_CMN=n \
435    CONFIG_BCMA_DEBUG=n
436  FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
437  AUTOLOAD:=$(call AutoLoad,29,bcma)
438endef
439
440define KernelPackage/bcma/description
441   Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
442endef
443
444$(eval $(call KernelPackage,bcma))
445
446
447define KernelPackage/wdt-omap
448  SUBMENU:=$(OTHER_MENU)
449  TITLE:=OMAP Watchdog timer
450  DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
451  KCONFIG:=CONFIG_OMAP_WATCHDOG
452  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
453  AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
454endef
455
456define KernelPackage/wdt-omap/description
457  Kernel module for TI omap watchdog timer.
458endef
459
460$(eval $(call KernelPackage,wdt-omap))
461
462
463define KernelPackage/wdt-orion
464  SUBMENU:=$(OTHER_MENU)
465  TITLE:=Marvell Orion Watchdog timer
466  DEPENDS:=@TARGET_orion||@TARGET_kirkwood
467  KCONFIG:=CONFIG_ORION_WATCHDOG
468  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
469  AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
470endef
471
472define KernelPackage/wdt-orion/description
473  Kernel module for Marvell orion watchdog timer.
474endef
475
476$(eval $(call KernelPackage,wdt-orion))
477
478
479define KernelPackage/booke-wdt
480  SUBMENU:=$(OTHER_MENU)
481  TITLE:=PowerPC Book-E Watchdog Timer
482  DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
483  KCONFIG:=CONFIG_BOOKE_WDT
484  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
485  AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
486endef
487
488define KernelPackage/booke-wdt/description
489  Kernel module for PowerPC Book-E Watchdog Timer.
490endef
491
492$(eval $(call KernelPackage,booke-wdt))
493
494
495define KernelPackage/pwm
496  SUBMENU:=$(OTHER_MENU)
497  TITLE:=PWM generic API
498  KCONFIG:=CONFIG_GENERIC_PWM
499  FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
500  AUTOLOAD:=$(call AutoLoad,50,pwm)
501endef
502
503define KernelPackage/pwm/description
504 Kernel module that implement a generic PWM API
505endef
506
507$(eval $(call KernelPackage,pwm))
508
509
510define KernelPackage/pwm-gpio
511  SUBMENU:=$(OTHER_MENU)
512  TITLE:=PWM over GPIO
513  DEPENDS:=+kmod-pwm
514  KCONFIG:=CONFIG_GPIO_PWM
515  FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
516  AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
517endef
518
519define KernelPackage/pwm-gpio/description
520 Kernel module to models a single-channel PWM device using a timer and a GPIO pin
521endef
522
523$(eval $(call KernelPackage,pwm-gpio))
524
525
526define KernelPackage/rtc-marvell
527  SUBMENU:=$(OTHER_MENU)
528  TITLE:=Marvell SoC built-in RTC support
529  $(call AddDepends/rtc)
530  DEPENDS+=@TARGET_kirkwood||TARGET_orion
531  KCONFIG:=CONFIG_RTC_DRV_MV
532  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
533  AUTOLOAD:=$(call AutoLoad,60,rtc-mv)
534endef
535
536define KernelPackage/rtc-marvell/description
537 Kernel module for Marvell SoC built-in RTC.
538endef
539
540$(eval $(call KernelPackage,rtc-marvell))
541
542define KernelPackage/rtc-pcf8563
543  SUBMENU:=$(OTHER_MENU)
544  TITLE:=Philips PCF8563/Epson RTC8564 RTC support
545  $(call AddDepends/rtc)
546  KCONFIG:=CONFIG_RTC_DRV_PCF8563
547  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
548  AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
549endef
550
551define KernelPackage/rtc-pcf8563/description
552 Kernel module for Philips PCF8563 RTC chip.
553 The Epson RTC8564 should work as well.
554endef
555
556$(eval $(call KernelPackage,rtc-pcf8563))
557
558
559define KernelPackage/rtc-pcf2123
560  SUBMENU:=$(OTHER_MENU)
561  TITLE:=Philips PCF2123 RTC support
562  $(call AddDepends/rtc)
563  KCONFIG:=CONFIG_RTC_DRV_PCF2123
564  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
565  AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
566endef
567
568define KernelPackage/rtc-pcf2123/description
569 Kernel module for Philips PCF2123 RTC chip.
570endef
571
572$(eval $(call KernelPackage,rtc-pcf2123))
573
574define KernelPackage/rtc-pt7c4338
575  SUBMENU:=$(OTHER_MENU)
576  TITLE:=Pericom PT7C4338 RTC support
577  $(call AddDepends/rtc,+kmod-i2c-core)
578  KCONFIG:=CONFIG_RTC_DRV_PT7C4338
579  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
580  AUTOLOAD:=$(call AutoLoad,60,rtc-pt7c4338)
581endef
582
583define KernelPackage/rtc-pt7c4338/description
584 Kernel module for Pericom PT7C4338 i2c RTC chip.
585endef
586
587$(eval $(call KernelPackage,rtc-pt7c4338))
588
589
590define KernelPackage/mtdtests
591  SUBMENU:=$(OTHER_MENU)
592  TITLE:=MTD subsystem tests
593  KCONFIG:=CONFIG_MTD_TESTS
594  FILES:=\
595    $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
596    $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
597    $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
598    $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
599    $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
600    $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
601    $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
602    $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
603endef
604
605define KernelPackage/mtdtests/description
606 Kernel modules for MTD subsystem/driver testing.
607endef
608
609$(eval $(call KernelPackage,mtdtests))
610
611
612define KernelPackage/nand
613  SUBMENU:=$(OTHER_MENU)
614  TITLE:=NAND flash support
615  DEPENDS:=@!LINUX_2_6_39
616  KCONFIG:=CONFIG_MTD_NAND \
617    CONFIG_MTD_NAND_IDS \
618    CONFIG_MTD_NAND_ECC
619  FILES:= \
620    $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
621    $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
622    $(LINUX_DIR)/drivers/mtd/nand/nand.ko
623  AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
624endef
625
626define KernelPackage/nand/description
627 Kernel module for NAND support.
628endef
629
630$(eval $(call KernelPackage,nand))
631
632
633define KernelPackage/nandsim
634  SUBMENU:=$(OTHER_MENU)
635  TITLE:=NAND simulator
636  DEPENDS:=+kmod-nand
637  KCONFIG:=CONFIG_MTD_NAND_NANDSIM
638  FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
639endef
640
641define KernelPackage/nandsim/description
642 Kernel module for NAND flash simulation.
643endef
644
645$(eval $(call KernelPackage,nandsim))
646
647define KernelPackage/serial-8250
648  SUBMENU:=$(OTHER_MENU)
649  TITLE:=8250 UARTs
650  KCONFIG:= CONFIG_SERIAL_8250 \
651    CONFIG_SERIAL_8250_NR_UARTS=16 \
652      CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
653      CONFIG_SERIAL_8250_EXTENDED=y \
654      CONFIG_SERIAL_8250_MANY_PORTS=y \
655    CONFIG_SERIAL_8250_SHARE_IRQ=y \
656    CONFIG_SERIAL_8250_DETECT_IRQ=n \
657    CONFIG_SERIAL_8250_RSA=n
658  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko
659endef
660
661define KernelPackage/serial-8250/description
662 Kernel module for 8250 UART based serial ports.
663endef
664
665$(eval $(call KernelPackage,serial-8250))
666
667
668define KernelPackage/acpi-button
669  SUBMENU:=$(OTHER_MENU)
670  TITLE:=ACPI Button Support
671  DEPENDS:=@(TARGET_x86_generic||TARGET_x86_kvm_guest||TARGET_x86_xen_domu) +kmod-input-evdev
672  KCONFIG:=CONFIG_ACPI_BUTTON
673  FILES:=$(LINUX_DIR)/drivers/acpi/button.ko
674  AUTOLOAD:=$(call AutoLoad,06,button)
675endef
676
677define KernelPackage/acpi-button/description
678 Kernel module for ACPI Button support
679endef
680
681$(eval $(call KernelPackage,acpi-button))
682
683define KernelPackage/regmap
684  SUBMENU:=$(OTHER_MENU)
685  TITLE:=Generic register map support
686  KCONFIG:=CONFIG_REGMAP=y \
687       CONFIG_REGMAP_SPI \
688       CONFIG_REGMAP_I2C
689  FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
690     $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
691  AUTOLOAD:=$(call AutoLoad,10,regmap-i2c regmap-spi)
692endef
693
694define KernelPackage/regmap/description
695  Generic register map support
696endef
697
698$(eval $(call KernelPackage,regmap))
699

Archive Download this file



interactive