other.mk 22 KB

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