2
0

other.mk 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728
  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/input-matrixkmap
  235. SUBMENU:=$(OTHER_MENU)
  236. TITLE:=Input matrix devices support
  237. KCONFIG:=CONFIG_INPUT_MATRIXKMAP
  238. DEPENDS:=@LINUX_3_6||@LINUX_3_7
  239. FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko
  240. AUTOLOAD:=$(call AutoLoad,20,matrix-keymap)
  241. $(call AddDepends/input)
  242. endef
  243. define KernelPackage/input-matrix/description
  244. Kernel module support for input matrix devices
  245. endef
  246. $(eval $(call KernelPackage,input-matrixkmap))
  247. define KernelPackage/lp
  248. SUBMENU:=$(OTHER_MENU)
  249. TITLE:=Parallel port and line printer support
  250. DEPENDS:=@BROKEN
  251. KCONFIG:= \
  252. CONFIG_PARPORT \
  253. CONFIG_PRINTER \
  254. CONFIG_PPDEV
  255. FILES:= \
  256. $(LINUX_DIR)/drivers/parport/parport.ko \
  257. $(LINUX_DIR)/drivers/char/lp.ko \
  258. $(LINUX_DIR)/drivers/char/ppdev.ko
  259. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  260. endef
  261. $(eval $(call KernelPackage,lp))
  262. define KernelPackage/mmc
  263. SUBMENU:=$(OTHER_MENU)
  264. TITLE:=MMC/SD Card Support
  265. KCONFIG:= \
  266. CONFIG_MMC \
  267. CONFIG_MMC_BLOCK \
  268. CONFIG_MMC_DEBUG=n \
  269. CONFIG_MMC_UNSAFE_RESUME=n \
  270. CONFIG_MMC_BLOCK_BOUNCE=y \
  271. CONFIG_MMC_SDHCI=n \
  272. CONFIG_MMC_TIFM_SD=n \
  273. CONFIG_MMC_WBSD=n \
  274. CONFIG_SDIO_UART=n
  275. FILES:= \
  276. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  277. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  278. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  279. endef
  280. define KernelPackage/mmc/description
  281. Kernel support for MMC/SD cards
  282. endef
  283. $(eval $(call KernelPackage,mmc))
  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. CONFIG_RFKILL_GPIO=y
  303. FILES:= \
  304. $(LINUX_DIR)/net/rfkill/rfkill.ko
  305. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  306. $(call SetDepends/rfkill)
  307. endef
  308. define KernelPackage/rfkill/description
  309. Say Y here if you want to have control over RF switches
  310. found on many WiFi and Bluetooth cards.
  311. endef
  312. $(eval $(call KernelPackage,rfkill))
  313. define KernelPackage/softdog
  314. SUBMENU:=$(OTHER_MENU)
  315. TITLE:=Software watchdog driver
  316. KCONFIG:=CONFIG_SOFT_WATCHDOG
  317. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  318. AUTOLOAD:=$(call AutoLoad,50,softdog)
  319. endef
  320. define KernelPackage/softdog/description
  321. Software watchdog driver
  322. endef
  323. $(eval $(call KernelPackage,softdog))
  324. define KernelPackage/ssb
  325. SUBMENU:=$(OTHER_MENU)
  326. TITLE:=Silicon Sonics Backplane glue code
  327. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  328. KCONFIG:=\
  329. CONFIG_SSB \
  330. CONFIG_SSB_B43_PCI_BRIDGE=y \
  331. CONFIG_SSB_DRIVER_MIPS=n \
  332. CONFIG_SSB_DRIVER_PCICORE=y \
  333. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  334. CONFIG_SSB_PCIHOST=y \
  335. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  336. CONFIG_SSB_POSSIBLE=y \
  337. CONFIG_SSB_SPROM=y \
  338. CONFIG_SSB_SILENT=y
  339. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  340. AUTOLOAD:=$(call AutoLoad,29,ssb)
  341. endef
  342. define KernelPackage/ssb/description
  343. Silicon Sonics Backplane glue code.
  344. endef
  345. $(eval $(call KernelPackage,ssb))
  346. define KernelPackage/bcma
  347. SUBMENU:=$(OTHER_MENU)
  348. TITLE:=BCMA support
  349. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
  350. KCONFIG:=\
  351. CONFIG_BCMA \
  352. CONFIG_BCMA_POSSIBLE=y \
  353. CONFIG_BCMA_BLOCKIO=y \
  354. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  355. CONFIG_BCMA_HOST_PCI=y \
  356. CONFIG_BCMA_DRIVER_MIPS=n \
  357. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  358. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  359. CONFIG_BCMA_DEBUG=n
  360. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  361. AUTOLOAD:=$(call AutoLoad,29,bcma)
  362. endef
  363. define KernelPackage/bcma/description
  364. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
  365. endef
  366. $(eval $(call KernelPackage,bcma))
  367. define KernelPackage/wdt-omap
  368. SUBMENU:=$(OTHER_MENU)
  369. TITLE:=OMAP Watchdog timer
  370. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  371. KCONFIG:=CONFIG_OMAP_WATCHDOG
  372. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  373. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  374. endef
  375. define KernelPackage/wdt-omap/description
  376. Kernel module for TI omap watchdog timer.
  377. endef
  378. $(eval $(call KernelPackage,wdt-omap))
  379. define KernelPackage/wdt-orion
  380. SUBMENU:=$(OTHER_MENU)
  381. TITLE:=Marvell Orion Watchdog timer
  382. DEPENDS:=@TARGET_orion||@TARGET_kirkwood
  383. KCONFIG:=CONFIG_ORION_WATCHDOG
  384. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  385. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  386. endef
  387. define KernelPackage/wdt-orion/description
  388. Kernel module for Marvell orion watchdog timer.
  389. endef
  390. $(eval $(call KernelPackage,wdt-orion))
  391. define KernelPackage/booke-wdt
  392. SUBMENU:=$(OTHER_MENU)
  393. TITLE:=PowerPC Book-E Watchdog Timer
  394. DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
  395. KCONFIG:=CONFIG_BOOKE_WDT
  396. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
  397. AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
  398. endef
  399. define KernelPackage/booke-wdt/description
  400. Kernel module for PowerPC Book-E Watchdog Timer.
  401. endef
  402. $(eval $(call KernelPackage,booke-wdt))
  403. define KernelPackage/pwm
  404. SUBMENU:=$(OTHER_MENU)
  405. TITLE:=PWM generic API
  406. KCONFIG:=CONFIG_GENERIC_PWM
  407. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  408. AUTOLOAD:=$(call AutoLoad,50,pwm)
  409. endef
  410. define KernelPackage/pwm/description
  411. Kernel module that implement a generic PWM API
  412. endef
  413. $(eval $(call KernelPackage,pwm))
  414. define KernelPackage/pwm-gpio
  415. SUBMENU:=$(OTHER_MENU)
  416. TITLE:=PWM over GPIO
  417. DEPENDS:=+kmod-pwm
  418. KCONFIG:=CONFIG_GPIO_PWM
  419. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  420. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  421. endef
  422. define KernelPackage/pwm-gpio/description
  423. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  424. endef
  425. $(eval $(call KernelPackage,pwm-gpio))
  426. define KernelPackage/rtc-marvell
  427. SUBMENU:=$(OTHER_MENU)
  428. TITLE:=Marvell SoC built-in RTC support
  429. $(call AddDepends/rtc)
  430. DEPENDS+=@TARGET_kirkwood||TARGET_orion
  431. KCONFIG:=CONFIG_RTC_DRV_MV
  432. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
  433. AUTOLOAD:=$(call AutoLoad,60,rtc-mv)
  434. endef
  435. define KernelPackage/rtc-marvell/description
  436. Kernel module for Marvell SoC built-in RTC.
  437. endef
  438. $(eval $(call KernelPackage,rtc-marvell))
  439. define KernelPackage/rtc-pcf8563
  440. SUBMENU:=$(OTHER_MENU)
  441. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  442. $(call AddDepends/rtc)
  443. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  444. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  445. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
  446. endef
  447. define KernelPackage/rtc-pcf8563/description
  448. Kernel module for Philips PCF8563 RTC chip.
  449. The Epson RTC8564 should work as well.
  450. endef
  451. $(eval $(call KernelPackage,rtc-pcf8563))
  452. define KernelPackage/rtc-pcf2123
  453. SUBMENU:=$(OTHER_MENU)
  454. TITLE:=Philips PCF2123 RTC support
  455. $(call AddDepends/rtc)
  456. KCONFIG:=CONFIG_RTC_DRV_PCF2123
  457. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  458. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
  459. endef
  460. define KernelPackage/rtc-pcf2123/description
  461. Kernel module for Philips PCF2123 RTC chip.
  462. endef
  463. $(eval $(call KernelPackage,rtc-pcf2123))
  464. define KernelPackage/rtc-pt7c4338
  465. SUBMENU:=$(OTHER_MENU)
  466. TITLE:=Pericom PT7C4338 RTC support
  467. $(call AddDepends/rtc,+kmod-i2c-core)
  468. KCONFIG:=CONFIG_RTC_DRV_PT7C4338
  469. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  470. AUTOLOAD:=$(call AutoLoad,60,rtc-pt7c4338)
  471. endef
  472. define KernelPackage/rtc-pt7c4338/description
  473. Kernel module for Pericom PT7C4338 i2c RTC chip.
  474. endef
  475. $(eval $(call KernelPackage,rtc-pt7c4338))
  476. define KernelPackage/mtdtests
  477. SUBMENU:=$(OTHER_MENU)
  478. TITLE:=MTD subsystem tests
  479. KCONFIG:=CONFIG_MTD_TESTS
  480. FILES:=\
  481. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  482. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  483. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  484. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  485. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  486. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  487. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  488. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  489. endef
  490. define KernelPackage/mtdtests/description
  491. Kernel modules for MTD subsystem/driver testing.
  492. endef
  493. $(eval $(call KernelPackage,mtdtests))
  494. define KernelPackage/nand
  495. SUBMENU:=$(OTHER_MENU)
  496. TITLE:=NAND flash support
  497. KCONFIG:=CONFIG_MTD_NAND \
  498. CONFIG_MTD_NAND_IDS \
  499. CONFIG_MTD_NAND_ECC
  500. FILES:= \
  501. $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
  502. $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
  503. $(LINUX_DIR)/drivers/mtd/nand/nand.ko
  504. AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
  505. endef
  506. define KernelPackage/nand/description
  507. Kernel module for NAND support.
  508. endef
  509. $(eval $(call KernelPackage,nand))
  510. define KernelPackage/nandsim
  511. SUBMENU:=$(OTHER_MENU)
  512. TITLE:=NAND simulator
  513. DEPENDS:=+kmod-nand
  514. KCONFIG:=CONFIG_MTD_NAND_NANDSIM
  515. FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
  516. endef
  517. define KernelPackage/nandsim/description
  518. Kernel module for NAND flash simulation.
  519. endef
  520. $(eval $(call KernelPackage,nandsim))
  521. define KernelPackage/serial-8250
  522. SUBMENU:=$(OTHER_MENU)
  523. TITLE:=8250 UARTs
  524. KCONFIG:= CONFIG_SERIAL_8250 \
  525. CONFIG_SERIAL_8250_NR_UARTS=16 \
  526. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  527. CONFIG_SERIAL_8250_EXTENDED=y \
  528. CONFIG_SERIAL_8250_MANY_PORTS=y \
  529. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  530. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  531. CONFIG_SERIAL_8250_RSA=n
  532. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko
  533. endef
  534. define KernelPackage/serial-8250/description
  535. Kernel module for 8250 UART based serial ports.
  536. endef
  537. $(eval $(call KernelPackage,serial-8250))
  538. define KernelPackage/acpi-button
  539. SUBMENU:=$(OTHER_MENU)
  540. TITLE:=ACPI Button Support
  541. DEPENDS:=@(TARGET_x86_generic||TARGET_x86_kvm_guest||TARGET_x86_xen_domu) +kmod-input-evdev
  542. KCONFIG:=CONFIG_ACPI_BUTTON
  543. FILES:=$(LINUX_DIR)/drivers/acpi/button.ko
  544. AUTOLOAD:=$(call AutoLoad,06,button)
  545. endef
  546. define KernelPackage/acpi-button/description
  547. Kernel module for ACPI Button support
  548. endef
  549. $(eval $(call KernelPackage,acpi-button))
  550. define KernelPackage/regmap
  551. SUBMENU:=$(OTHER_MENU)
  552. TITLE:=Generic register map support
  553. KCONFIG:=CONFIG_REGMAP=y \
  554. CONFIG_REGMAP_SPI \
  555. CONFIG_REGMAP_I2C
  556. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
  557. $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  558. AUTOLOAD:=$(call AutoLoad,10,regmap-i2c regmap-spi)
  559. endef
  560. define KernelPackage/regmap/description
  561. Generic register map support
  562. endef
  563. $(eval $(call KernelPackage,regmap))
  564. define KernelPackage/ikconfig
  565. SUBMENU:=$(OTHER_MENU)
  566. TITLE:=Kernel configuration via /proc/config.gz
  567. KCONFIG:=CONFIG_IKCONFIG \
  568. CONFIG_IKCONFIG_PROC=y
  569. FILES:=$(LINUX_DIR)/kernel/configs.ko
  570. AUTOLOAD:=$(call AutoLoad,70,configs)
  571. endef
  572. define KernelPackage/ikconfig/description
  573. Kernel configuration via /proc/config.gz
  574. endef
  575. $(eval $(call KernelPackage,ikconfig))