other.mk 17 KB

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