other.mk 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  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-mcp23s08
  108. SUBMENU:=$(OTHER_MENU)
  109. TITLE:=Microchip MCP23xxx I/O expander
  110. DEPENDS:=@GPIO_SUPPORT
  111. KCONFIG:=CONFIG_GPIO_MCP23S08
  112. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
  113. AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
  114. endef
  115. define KernelPackage/gpio-mcp23s08/description
  116. Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
  117. endef
  118. $(eval $(call KernelPackage,gpio-mcp23s08))
  119. define KernelPackage/gpio-nxp-74hc164
  120. SUBMENU:=$(OTHER_MENU)
  121. TITLE:=NXP 74HC164 GPIO expander support
  122. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  123. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  124. AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
  125. endef
  126. define KernelPackage/gpio-nxp-74hc164/description
  127. Kernel module for NXP 74HC164 GPIO expander
  128. endef
  129. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  130. define KernelPackage/gpio-pcf857x
  131. SUBMENU:=$(OTHER_MENU)
  132. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  133. TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
  134. KCONFIG:=CONFIG_GPIO_PCF857X
  135. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
  136. AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
  137. endef
  138. define KernelPackage/gpio-pcf857x/description
  139. Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
  140. endef
  141. $(eval $(call KernelPackage,gpio-pcf857x))
  142. define KernelPackage/lp
  143. SUBMENU:=$(OTHER_MENU)
  144. TITLE:=Parallel port and line printer support
  145. DEPENDS:=@BROKEN
  146. KCONFIG:= \
  147. CONFIG_PARPORT \
  148. CONFIG_PRINTER \
  149. CONFIG_PPDEV
  150. FILES:= \
  151. $(LINUX_DIR)/drivers/parport/parport.ko \
  152. $(LINUX_DIR)/drivers/char/lp.ko \
  153. $(LINUX_DIR)/drivers/char/ppdev.ko
  154. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  155. endef
  156. $(eval $(call KernelPackage,lp))
  157. define KernelPackage/mmc
  158. SUBMENU:=$(OTHER_MENU)
  159. TITLE:=MMC/SD Card Support
  160. KCONFIG:= \
  161. CONFIG_MMC \
  162. CONFIG_MMC_BLOCK \
  163. CONFIG_MMC_DEBUG=n \
  164. CONFIG_MMC_UNSAFE_RESUME=n \
  165. CONFIG_MMC_BLOCK_BOUNCE=y \
  166. CONFIG_MMC_SDHCI=n \
  167. CONFIG_MMC_TIFM_SD=n \
  168. CONFIG_MMC_WBSD=n \
  169. CONFIG_SDIO_UART=n
  170. FILES:= \
  171. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  172. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  173. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  174. endef
  175. define KernelPackage/mmc/description
  176. Kernel support for MMC/SD cards
  177. endef
  178. $(eval $(call KernelPackage,mmc))
  179. define KernelPackage/oprofile
  180. SUBMENU:=$(OTHER_MENU)
  181. TITLE:=OProfile profiling support
  182. KCONFIG:=CONFIG_OPROFILE
  183. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
  184. DEPENDS:=@KERNEL_PROFILING
  185. endef
  186. define KernelPackage/oprofile/description
  187. Kernel module for support for oprofile system profiling.
  188. endef
  189. $(eval $(call KernelPackage,oprofile))
  190. define KernelPackage/rfkill
  191. SUBMENU:=$(OTHER_MENU)
  192. TITLE:=RF switch subsystem support
  193. KCONFIG:= \
  194. CONFIG_RFKILL \
  195. CONFIG_RFKILL_INPUT=y \
  196. CONFIG_RFKILL_LEDS=y \
  197. CONFIG_RFKILL_GPIO=y
  198. FILES:= \
  199. $(LINUX_DIR)/net/rfkill/rfkill.ko
  200. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  201. $(call SetDepends/rfkill)
  202. endef
  203. define KernelPackage/rfkill/description
  204. Say Y here if you want to have control over RF switches
  205. found on many WiFi and Bluetooth cards.
  206. endef
  207. $(eval $(call KernelPackage,rfkill))
  208. define KernelPackage/softdog
  209. SUBMENU:=$(OTHER_MENU)
  210. TITLE:=Software watchdog driver
  211. KCONFIG:=CONFIG_SOFT_WATCHDOG
  212. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  213. AUTOLOAD:=$(call AutoLoad,50,softdog)
  214. endef
  215. define KernelPackage/softdog/description
  216. Software watchdog driver
  217. endef
  218. $(eval $(call KernelPackage,softdog))
  219. define KernelPackage/ssb
  220. SUBMENU:=$(OTHER_MENU)
  221. TITLE:=Silicon Sonics Backplane glue code
  222. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  223. KCONFIG:=\
  224. CONFIG_SSB \
  225. CONFIG_SSB_B43_PCI_BRIDGE=y \
  226. CONFIG_SSB_DRIVER_MIPS=n \
  227. CONFIG_SSB_DRIVER_PCICORE=y \
  228. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  229. CONFIG_SSB_PCIHOST=y \
  230. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  231. CONFIG_SSB_POSSIBLE=y \
  232. CONFIG_SSB_SPROM=y \
  233. CONFIG_SSB_SILENT=y
  234. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  235. AUTOLOAD:=$(call AutoLoad,29,ssb)
  236. endef
  237. define KernelPackage/ssb/description
  238. Silicon Sonics Backplane glue code.
  239. endef
  240. $(eval $(call KernelPackage,ssb))
  241. define KernelPackage/bcma
  242. SUBMENU:=$(OTHER_MENU)
  243. TITLE:=BCMA support
  244. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
  245. KCONFIG:=\
  246. CONFIG_BCMA \
  247. CONFIG_BCMA_POSSIBLE=y \
  248. CONFIG_BCMA_BLOCKIO=y \
  249. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  250. CONFIG_BCMA_HOST_PCI=y \
  251. CONFIG_BCMA_DRIVER_MIPS=n \
  252. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  253. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  254. CONFIG_BCMA_DEBUG=n
  255. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  256. AUTOLOAD:=$(call AutoLoad,29,bcma)
  257. endef
  258. define KernelPackage/bcma/description
  259. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
  260. endef
  261. $(eval $(call KernelPackage,bcma))
  262. define KernelPackage/wdt-omap
  263. SUBMENU:=$(OTHER_MENU)
  264. TITLE:=OMAP Watchdog timer
  265. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  266. KCONFIG:=CONFIG_OMAP_WATCHDOG
  267. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  268. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  269. endef
  270. define KernelPackage/wdt-omap/description
  271. Kernel module for TI omap watchdog timer.
  272. endef
  273. $(eval $(call KernelPackage,wdt-omap))
  274. define KernelPackage/wdt-orion
  275. SUBMENU:=$(OTHER_MENU)
  276. TITLE:=Marvell Orion Watchdog timer
  277. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
  278. KCONFIG:=CONFIG_ORION_WATCHDOG
  279. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  280. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  281. endef
  282. define KernelPackage/wdt-orion/description
  283. Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer.
  284. endef
  285. $(eval $(call KernelPackage,wdt-orion))
  286. define KernelPackage/booke-wdt
  287. SUBMENU:=$(OTHER_MENU)
  288. TITLE:=PowerPC Book-E Watchdog Timer
  289. DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
  290. KCONFIG:=CONFIG_BOOKE_WDT
  291. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
  292. AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
  293. endef
  294. define KernelPackage/booke-wdt/description
  295. Kernel module for PowerPC Book-E Watchdog Timer.
  296. endef
  297. $(eval $(call KernelPackage,booke-wdt))
  298. define KernelPackage/pwm
  299. SUBMENU:=$(OTHER_MENU)
  300. TITLE:=PWM generic API
  301. KCONFIG:=CONFIG_GENERIC_PWM
  302. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  303. AUTOLOAD:=$(call AutoLoad,50,pwm)
  304. endef
  305. define KernelPackage/pwm/description
  306. Kernel module that implement a generic PWM API
  307. endef
  308. $(eval $(call KernelPackage,pwm))
  309. define KernelPackage/pwm-gpio
  310. SUBMENU:=$(OTHER_MENU)
  311. TITLE:=PWM over GPIO
  312. DEPENDS:=+kmod-pwm
  313. KCONFIG:=CONFIG_GPIO_PWM
  314. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  315. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  316. endef
  317. define KernelPackage/pwm-gpio/description
  318. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  319. endef
  320. $(eval $(call KernelPackage,pwm-gpio))
  321. define KernelPackage/rtc-isl1208
  322. SUBMENU:=$(OTHER_MENU)
  323. TITLE:=Intersil ISL1208 RTC support
  324. $(call AddDepends/rtc)
  325. DEPENDS+=+kmod-i2c-core
  326. KCONFIG:=CONFIG_RTC_DRV_ISL1208
  327. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  328. AUTOLOAD:=$(call AutoLoad,60,rtc-isl1208)
  329. endef
  330. define KernelPackage/rtc-isl1208/description
  331. Kernel module for Intersil ISL1208 RTC.
  332. endef
  333. $(eval $(call KernelPackage,rtc-isl1208))
  334. define KernelPackage/rtc-marvell
  335. SUBMENU:=$(OTHER_MENU)
  336. TITLE:=Marvell SoC built-in RTC support
  337. $(call AddDepends/rtc)
  338. DEPENDS+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu
  339. KCONFIG:=CONFIG_RTC_DRV_MV
  340. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
  341. AUTOLOAD:=$(call AutoLoad,60,rtc-mv)
  342. endef
  343. define KernelPackage/rtc-marvell/description
  344. Kernel module for Marvell SoC built-in RTC.
  345. endef
  346. $(eval $(call KernelPackage,rtc-marvell))
  347. define KernelPackage/rtc-pcf8563
  348. SUBMENU:=$(OTHER_MENU)
  349. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  350. $(call AddDepends/rtc)
  351. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  352. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  353. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
  354. endef
  355. define KernelPackage/rtc-pcf8563/description
  356. Kernel module for Philips PCF8563 RTC chip.
  357. The Epson RTC8564 should work as well.
  358. endef
  359. $(eval $(call KernelPackage,rtc-pcf8563))
  360. define KernelPackage/rtc-pcf2123
  361. SUBMENU:=$(OTHER_MENU)
  362. TITLE:=Philips PCF2123 RTC support
  363. $(call AddDepends/rtc)
  364. KCONFIG:=CONFIG_RTC_DRV_PCF2123
  365. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  366. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
  367. endef
  368. define KernelPackage/rtc-pcf2123/description
  369. Kernel module for Philips PCF2123 RTC chip.
  370. endef
  371. $(eval $(call KernelPackage,rtc-pcf2123))
  372. define KernelPackage/rtc-pt7c4338
  373. SUBMENU:=$(OTHER_MENU)
  374. TITLE:=Pericom PT7C4338 RTC support
  375. $(call AddDepends/rtc,+kmod-i2c-core)
  376. KCONFIG:=CONFIG_RTC_DRV_PT7C4338
  377. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  378. AUTOLOAD:=$(call AutoLoad,60,rtc-pt7c4338)
  379. endef
  380. define KernelPackage/rtc-pt7c4338/description
  381. Kernel module for Pericom PT7C4338 i2c RTC chip.
  382. endef
  383. $(eval $(call KernelPackage,rtc-pt7c4338))
  384. define KernelPackage/mtdtests
  385. SUBMENU:=$(OTHER_MENU)
  386. TITLE:=MTD subsystem tests
  387. KCONFIG:=CONFIG_MTD_TESTS
  388. FILES:=\
  389. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  390. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  391. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  392. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  393. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  394. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  395. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  396. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  397. endef
  398. define KernelPackage/mtdtests/description
  399. Kernel modules for MTD subsystem/driver testing.
  400. endef
  401. $(eval $(call KernelPackage,mtdtests))
  402. define KernelPackage/nand
  403. SUBMENU:=$(OTHER_MENU)
  404. TITLE:=NAND flash support
  405. KCONFIG:=CONFIG_MTD_NAND \
  406. CONFIG_MTD_NAND_IDS \
  407. CONFIG_MTD_NAND_ECC
  408. FILES:= \
  409. $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
  410. $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
  411. $(LINUX_DIR)/drivers/mtd/nand/nand.ko
  412. AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
  413. endef
  414. define KernelPackage/nand/description
  415. Kernel module for NAND support.
  416. endef
  417. $(eval $(call KernelPackage,nand))
  418. define KernelPackage/nandsim
  419. SUBMENU:=$(OTHER_MENU)
  420. TITLE:=NAND simulator
  421. DEPENDS:=+kmod-nand
  422. KCONFIG:=CONFIG_MTD_NAND_NANDSIM
  423. FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
  424. endef
  425. define KernelPackage/nandsim/description
  426. Kernel module for NAND flash simulation.
  427. endef
  428. $(eval $(call KernelPackage,nandsim))
  429. define KernelPackage/serial-8250
  430. SUBMENU:=$(OTHER_MENU)
  431. TITLE:=8250 UARTs
  432. KCONFIG:= CONFIG_SERIAL_8250 \
  433. CONFIG_SERIAL_8250_NR_UARTS=16 \
  434. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  435. CONFIG_SERIAL_8250_EXTENDED=y \
  436. CONFIG_SERIAL_8250_MANY_PORTS=y \
  437. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  438. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  439. CONFIG_SERIAL_8250_RSA=n
  440. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),$(if $(call kernel_patchver_le,3.8),_core)).ko
  441. endef
  442. define KernelPackage/serial-8250/description
  443. Kernel module for 8250 UART based serial ports.
  444. endef
  445. $(eval $(call KernelPackage,serial-8250))
  446. define KernelPackage/regmap
  447. SUBMENU:=$(OTHER_MENU)
  448. TITLE:=Generic register map support
  449. DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
  450. KCONFIG:=CONFIG_REGMAP \
  451. CONFIG_REGMAP_SPI \
  452. CONFIG_REGMAP_I2C \
  453. CONFIG_SPI=y
  454. FILES:= \
  455. $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
  456. $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
  457. $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  458. AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
  459. endef
  460. define KernelPackage/regmap/description
  461. Generic register map support
  462. endef
  463. $(eval $(call KernelPackage,regmap))
  464. define KernelPackage/ikconfig
  465. SUBMENU:=$(OTHER_MENU)
  466. TITLE:=Kernel configuration via /proc/config.gz
  467. KCONFIG:=CONFIG_IKCONFIG \
  468. CONFIG_IKCONFIG_PROC=y
  469. FILES:=$(LINUX_DIR)/kernel/configs.ko
  470. AUTOLOAD:=$(call AutoLoad,70,configs)
  471. endef
  472. define KernelPackage/ikconfig/description
  473. Kernel configuration via /proc/config.gz
  474. endef
  475. $(eval $(call KernelPackage,ikconfig))
  476. define KernelPackage/zram
  477. SUBMENU:=$(OTHER_MENU)
  478. TITLE:=ZRAM
  479. DEPENDS:=@!LINUX_3_3 +kmod-lib-lzo
  480. KCONFIG:= \
  481. CONFIG_ZSMALLOC \
  482. CONFIG_ZRAM \
  483. CONFIG_ZRAM_DEBUG=n
  484. FILES:= \
  485. $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \
  486. $(LINUX_DIR)/drivers/staging/zram/zram.ko
  487. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  488. endef
  489. define KernelPackage/zram/description
  490. Compressed RAM block device support
  491. endef
  492. $(eval $(call KernelPackage,zram))
  493. define KernelPackage/mvsdio
  494. SUBMENU:=$(OTHER_MENU)
  495. TITLE:=Marvell SDIO support
  496. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
  497. KCONFIG:=CONFIG_MMC_MVSDIO
  498. FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
  499. AUTOLOAD:=$(call AutoLoad,91,mvsdio)
  500. endef
  501. define KernelPacakge/mvsdio/description
  502. Kernel support for the Marvell SDIO controller
  503. endef
  504. $(eval $(call KernelPackage,mvsdio))
  505. define KernelPackage/pps
  506. SUBMENU:=$(OTHER_MENU)
  507. TITLE:=PPS support
  508. KCONFIG:=CONFIG_PPS
  509. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  510. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  511. endef
  512. define KernelPacakge/pps/description
  513. PPS (Pulse Per Second) is a special pulse provided by some GPS
  514. antennae. Userland can use it to get a high-precision time
  515. reference.
  516. endef
  517. $(eval $(call KernelPackage,pps))
  518. define KernelPackage/ptp
  519. SUBMENU:=$(OTHER_MENU)
  520. TITLE:=PTP clock support
  521. DEPENDS:=+kmod-pps
  522. KCONFIG:=CONFIG_PTP_1588_CLOCK
  523. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  524. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  525. endef
  526. define KernelPacakge/ptp/description
  527. The IEEE 1588 standard defines a method to precisely
  528. synchronize distributed clocks over Ethernet networks.
  529. endef
  530. $(eval $(call KernelPackage,ptp))
  531. define KernelPackage/ptp-gianfar
  532. SUBMENU:=$(OTHER_MENU)
  533. TITLE:=Freescale Gianfar PTP support
  534. DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp
  535. KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
  536. FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
  537. AUTOLOAD:=$(call AutoLoad,51,gianfar_ptp)
  538. endef
  539. define KernelPacakge/ptp-gianfar/description
  540. Kernel module for IEEE 1588 support for Freescale
  541. Gianfar Ethernet drivers.
  542. endef
  543. $(eval $(call KernelPackage,ptp-gianfar))
  544. define KernelPackage/random-core
  545. SUBMENU:=$(OTHER_MENU)
  546. TITLE:=Hardware Random Number Generator Core support
  547. KCONFIG:=CONFIG_HW_RANDOM
  548. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  549. AUTOLOAD:=$(call AutoLoad,10,rng-core)
  550. endef
  551. define KernelPackage/random-core/description
  552. Kernel module for the HW random number generator core infrastructure
  553. endef
  554. $(eval $(call KernelPackage,random-core))