other.mk 17 KB

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