other.mk 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. #
  2. # Copyright (C) 2006-2015 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/6lowpan
  10. SUBMENU:=$(OTHER_MENU)
  11. TITLE:=6LoWPAN shared code
  12. KCONFIG:=CONFIG_6LOWPAN
  13. FILES:=$(LINUX_DIR)/net/6lowpan/6lowpan.ko
  14. AUTOLOAD:=$(call AutoProbe,6lowpan)
  15. endef
  16. define KernelPackage/6lowpan/description
  17. Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
  18. endef
  19. $(eval $(call KernelPackage,6lowpan))
  20. define KernelPackage/bluetooth
  21. SUBMENU:=$(OTHER_MENU)
  22. TITLE:=Bluetooth support
  23. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid
  24. KCONFIG:= \
  25. CONFIG_BLUEZ \
  26. CONFIG_BLUEZ_L2CAP \
  27. CONFIG_BLUEZ_SCO \
  28. CONFIG_BLUEZ_RFCOMM \
  29. CONFIG_BLUEZ_BNEP \
  30. CONFIG_BLUEZ_HCIUART \
  31. CONFIG_BLUEZ_HCIUSB \
  32. CONFIG_BLUEZ_HIDP \
  33. CONFIG_BT \
  34. CONFIG_BT_BREDR=y \
  35. CONFIG_BT_L2CAP=y \
  36. CONFIG_BT_LE=y \
  37. CONFIG_BT_SCO=y \
  38. CONFIG_BT_RFCOMM \
  39. CONFIG_BT_BNEP \
  40. CONFIG_BT_HCIBTUSB \
  41. CONFIG_BT_HCIUSB \
  42. CONFIG_BT_HCIUART \
  43. CONFIG_BT_HCIUART_H4 \
  44. CONFIG_BT_HIDP \
  45. CONFIG_HID_SUPPORT=y
  46. $(call AddDepends/rfkill)
  47. FILES:= \
  48. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  49. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  50. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  51. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  52. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  53. $(LINUX_DIR)/drivers/bluetooth/btusb.ko
  54. AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
  55. endef
  56. define KernelPackage/bluetooth/description
  57. Kernel support for Bluetooth devices
  58. endef
  59. $(eval $(call KernelPackage,bluetooth))
  60. define KernelPackage/bluetooth_6lowpan
  61. SUBMENU:=$(OTHER_MENU)
  62. TITLE:=Bluetooth 6LoWPAN support
  63. DEPENDS:=+kmod-6lowpan +kmod-bluetooth
  64. KCONFIG:=CONFIG_BT_6LOWPAN
  65. FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
  66. AUTOLOAD:=$(call AutoProbe,bluetooth_6lowpan)
  67. endef
  68. define KernelPackage/bluetooth_6lowpan/description
  69. Kernel support for 6LoWPAN over Bluetooth Low Energy devices
  70. endef
  71. $(eval $(call KernelPackage,bluetooth_6lowpan))
  72. define KernelPackage/bluetooth-hci-h4p
  73. SUBMENU:=$(OTHER_MENU)
  74. TITLE:=HCI driver with H4 Nokia extensions
  75. DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
  76. KCONFIG:=CONFIG_BT_HCIH4P
  77. FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
  78. AUTOLOAD:=$(call AutoProbe,hci_h4p)
  79. endef
  80. define KernelPackage/bluetooth-hci-h4p/description
  81. HCI driver with H4 Nokia extensions
  82. endef
  83. $(eval $(call KernelPackage,bluetooth-hci-h4p))
  84. define KernelPackage/dma-buf
  85. TITLE:=DMA shared buffer support
  86. HIDDEN:=1
  87. KCONFIG:=CONFIG_DMA_SHARED_BUFFER
  88. FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
  89. AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
  90. endef
  91. $(eval $(call KernelPackage,dma-buf))
  92. define KernelPackage/eeprom-93cx6
  93. SUBMENU:=$(OTHER_MENU)
  94. TITLE:=EEPROM 93CX6 support
  95. KCONFIG:=CONFIG_EEPROM_93CX6
  96. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  97. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  98. endef
  99. define KernelPackage/eeprom-93cx6/description
  100. Kernel module for EEPROM 93CX6 support
  101. endef
  102. $(eval $(call KernelPackage,eeprom-93cx6))
  103. define KernelPackage/eeprom-at24
  104. SUBMENU:=$(OTHER_MENU)
  105. TITLE:=EEPROM AT24 support
  106. KCONFIG:=CONFIG_EEPROM_AT24
  107. DEPENDS:=+kmod-i2c-core
  108. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  109. AUTOLOAD:=$(call AutoProbe,at24)
  110. endef
  111. define KernelPackage/eeprom-at24/description
  112. Kernel module for most I2C EEPROMs
  113. endef
  114. $(eval $(call KernelPackage,eeprom-at24))
  115. define KernelPackage/eeprom-at25
  116. SUBMENU:=$(OTHER_MENU)
  117. TITLE:=EEPROM AT25 support
  118. KCONFIG:=CONFIG_EEPROM_AT25
  119. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  120. AUTOLOAD:=$(call AutoProbe,at25)
  121. endef
  122. define KernelPackage/eeprom-at25/description
  123. Kernel module for most SPI EEPROMs
  124. endef
  125. $(eval $(call KernelPackage,eeprom-at25))
  126. define KernelPackage/gpio-dev
  127. SUBMENU:=$(OTHER_MENU)
  128. TITLE:=Generic GPIO char device support
  129. DEPENDS:=@GPIO_SUPPORT
  130. KCONFIG:=CONFIG_GPIO_DEVICE
  131. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  132. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  133. endef
  134. define KernelPackage/gpio-dev/description
  135. Kernel module to allows control of GPIO pins using a character device.
  136. endef
  137. $(eval $(call KernelPackage,gpio-dev))
  138. define KernelPackage/gpio-mcp23s08
  139. SUBMENU:=$(OTHER_MENU)
  140. TITLE:=Microchip MCP23xxx I/O expander
  141. DEPENDS:=@GPIO_SUPPORT +PACKAGE_kmod-i2c-core:kmod-i2c-core
  142. KCONFIG:=CONFIG_GPIO_MCP23S08
  143. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
  144. AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
  145. endef
  146. define KernelPackage/gpio-mcp23s08/description
  147. Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
  148. endef
  149. $(eval $(call KernelPackage,gpio-mcp23s08))
  150. define KernelPackage/gpio-nxp-74hc164
  151. SUBMENU:=$(OTHER_MENU)
  152. TITLE:=NXP 74HC164 GPIO expander support
  153. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  154. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  155. AUTOLOAD:=$(call AutoProbe,nxp_74hc164)
  156. endef
  157. define KernelPackage/gpio-nxp-74hc164/description
  158. Kernel module for NXP 74HC164 GPIO expander
  159. endef
  160. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  161. define KernelPackage/gpio-pca953x
  162. SUBMENU:=$(OTHER_MENU)
  163. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  164. TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
  165. KCONFIG:=CONFIG_GPIO_PCA953X
  166. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
  167. AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
  168. endef
  169. define KernelPackage/gpio-pca953x/description
  170. Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
  171. PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
  172. endef
  173. $(eval $(call KernelPackage,gpio-pca953x))
  174. define KernelPackage/gpio-pcf857x
  175. SUBMENU:=$(OTHER_MENU)
  176. DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
  177. TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
  178. KCONFIG:=CONFIG_GPIO_PCF857X
  179. FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
  180. AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
  181. endef
  182. define KernelPackage/gpio-pcf857x/description
  183. Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
  184. endef
  185. $(eval $(call KernelPackage,gpio-pcf857x))
  186. define KernelPackage/iio-core
  187. SUBMENU:=$(OTHER_MENU)
  188. TITLE:=Industrial IO core
  189. KCONFIG:= \
  190. CONFIG_IIO \
  191. CONFIG_IIO_BUFFER=y \
  192. CONFIG_IIO_KFIFO_BUF \
  193. CONFIG_IIO_TRIGGER=y \
  194. CONFIG_IIO_TRIGGERED_BUFFER
  195. FILES:= \
  196. $(LINUX_DIR)/drivers/iio/industrialio.ko \
  197. $(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko) \
  198. $(LINUX_DIR)/drivers/iio/kfifo_buf.ko
  199. AUTOLOAD:=$(call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer)
  200. endef
  201. define KernelPackage/iio-core/description
  202. The industrial I/O subsystem provides a unified framework for
  203. drivers for many different types of embedded sensors using a
  204. number of different physical interfaces (i2c, spi, etc)
  205. endef
  206. $(eval $(call KernelPackage,iio-core))
  207. define KernelPackage/iio-ad799x
  208. SUBMENU:=$(OTHER_MENU)
  209. DEPENDS:=kmod-i2c-core kmod-iio-core
  210. TITLE:=Analog Devices AD799x ADC driver
  211. KCONFIG:= \
  212. CONFIG_AD799X_RING_BUFFER=y \
  213. CONFIG_AD799X
  214. FILES:=$(LINUX_DIR)/drivers/iio/adc/ad799x.ko
  215. AUTOLOAD:=$(call AutoLoad,56,ad799x)
  216. endef
  217. define KernelPackage/iio-ad799x/description
  218. support for Analog Devices:
  219. ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
  220. i2c analog to digital converters (ADC).
  221. endef
  222. $(eval $(call KernelPackage,iio-ad799x))
  223. define KernelPackage/iio-dht11
  224. SUBMENU:=$(OTHER_MENU)
  225. DEPENDS:=kmod-iio-core @GPIO_SUPPORT @USES_DEVICETREE
  226. TITLE:=DHT11 (and compatible) humidity and temperature sensors
  227. KCONFIG:= \
  228. CONFIG_DHT11
  229. FILES:=$(LINUX_DIR)/drivers/iio/humidity/dht11.ko
  230. AUTOLOAD:=$(call AutoLoad,56,dht11)
  231. endef
  232. define KernelPackage/iio-dht11/description
  233. support for DHT11 and DHT22 digitial humidity and temperature sensors
  234. attached at GPIO lines. You will need a custom device tree file to
  235. specify the GPIO line to use.
  236. endef
  237. $(eval $(call KernelPackage,iio-dht11))
  238. define KernelPackage/lp
  239. SUBMENU:=$(OTHER_MENU)
  240. TITLE:=Parallel port and line printer support
  241. DEPENDS:=@BROKEN
  242. KCONFIG:= \
  243. CONFIG_PARPORT \
  244. CONFIG_PRINTER \
  245. CONFIG_PPDEV
  246. FILES:= \
  247. $(LINUX_DIR)/drivers/parport/parport.ko \
  248. $(LINUX_DIR)/drivers/char/lp.ko \
  249. $(LINUX_DIR)/drivers/char/ppdev.ko
  250. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  251. endef
  252. $(eval $(call KernelPackage,lp))
  253. define KernelPackage/mmc
  254. SUBMENU:=$(OTHER_MENU)
  255. TITLE:=MMC/SD Card Support
  256. KCONFIG:= \
  257. CONFIG_MMC \
  258. CONFIG_MMC_BLOCK \
  259. CONFIG_MMC_DEBUG=n \
  260. CONFIG_MMC_UNSAFE_RESUME=n \
  261. CONFIG_MMC_BLOCK_BOUNCE=y \
  262. CONFIG_MMC_TIFM_SD=n \
  263. CONFIG_MMC_WBSD=n \
  264. CONFIG_SDIO_UART=n
  265. FILES:= \
  266. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  267. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  268. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  269. endef
  270. define KernelPackage/mmc/description
  271. Kernel support for MMC/SD cards
  272. endef
  273. $(eval $(call KernelPackage,mmc))
  274. define KernelPackage/sdhci
  275. SUBMENU:=$(OTHER_MENU)
  276. TITLE:=Secure Digital Host Controller Interface support
  277. DEPENDS:=+kmod-mmc
  278. KCONFIG:= \
  279. CONFIG_MMC_SDHCI \
  280. CONFIG_MMC_SDHCI_PLTFM \
  281. CONFIG_MMC_SDHCI_PCI=n
  282. FILES:= \
  283. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  284. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  285. AUTOLOAD:=$(call AutoProbe,sdhci sdhci-pltfm,1)
  286. endef
  287. define KernelPackage/sdhci/description
  288. Kernel support for SDHCI Hosts
  289. endef
  290. $(eval $(call KernelPackage,sdhci))
  291. define KernelPackage/oprofile
  292. SUBMENU:=$(OTHER_MENU)
  293. TITLE:=OProfile profiling support
  294. KCONFIG:=CONFIG_OPROFILE
  295. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
  296. DEPENDS:=@KERNEL_PROFILING
  297. endef
  298. define KernelPackage/oprofile/description
  299. Kernel module for support for oprofile system profiling
  300. endef
  301. $(eval $(call KernelPackage,oprofile))
  302. define KernelPackage/rfkill
  303. SUBMENU:=$(OTHER_MENU)
  304. TITLE:=RF switch subsystem support
  305. DEPENDS:=@USE_RFKILL +kmod-input-core
  306. KCONFIG:= \
  307. CONFIG_RFKILL \
  308. CONFIG_RFKILL_INPUT=y \
  309. CONFIG_RFKILL_LEDS=y \
  310. CONFIG_RFKILL_GPIO=y
  311. FILES:= \
  312. $(LINUX_DIR)/net/rfkill/rfkill.ko
  313. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  314. endef
  315. define KernelPackage/rfkill/description
  316. Say Y here if you want to have control over RF switches
  317. found on many WiFi and Bluetooth cards
  318. endef
  319. $(eval $(call KernelPackage,rfkill))
  320. define KernelPackage/softdog
  321. SUBMENU:=$(OTHER_MENU)
  322. TITLE:=Software watchdog driver
  323. KCONFIG:=CONFIG_SOFT_WATCHDOG
  324. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  325. AUTOLOAD:=$(call AutoLoad,50,softdog)
  326. endef
  327. define KernelPackage/softdog/description
  328. Software watchdog driver
  329. endef
  330. $(eval $(call KernelPackage,softdog))
  331. define KernelPackage/ssb
  332. SUBMENU:=$(OTHER_MENU)
  333. TITLE:=Silicon Sonics Backplane glue code
  334. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  335. KCONFIG:=\
  336. CONFIG_SSB \
  337. CONFIG_SSB_B43_PCI_BRIDGE=y \
  338. CONFIG_SSB_DRIVER_MIPS=n \
  339. CONFIG_SSB_DRIVER_PCICORE=y \
  340. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  341. CONFIG_SSB_PCIHOST=y \
  342. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  343. CONFIG_SSB_POSSIBLE=y \
  344. CONFIG_SSB_SPROM=y \
  345. CONFIG_SSB_SILENT=y
  346. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  347. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  348. endef
  349. define KernelPackage/ssb/description
  350. Silicon Sonics Backplane glue code.
  351. endef
  352. $(eval $(call KernelPackage,ssb))
  353. define KernelPackage/bcma
  354. SUBMENU:=$(OTHER_MENU)
  355. TITLE:=BCMA support
  356. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_bcm53xx
  357. KCONFIG:=\
  358. CONFIG_BCMA \
  359. CONFIG_BCMA_POSSIBLE=y \
  360. CONFIG_BCMA_BLOCKIO=y \
  361. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  362. CONFIG_BCMA_HOST_PCI=y \
  363. CONFIG_BCMA_HOST_SOC=n \
  364. CONFIG_BCMA_DRIVER_MIPS=n \
  365. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  366. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  367. CONFIG_BCMA_DEBUG=n
  368. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  369. AUTOLOAD:=$(call AutoLoad,29,bcma)
  370. endef
  371. define KernelPackage/bcma/description
  372. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  373. endef
  374. $(eval $(call KernelPackage,bcma))
  375. define KernelPackage/wdt-omap
  376. SUBMENU:=$(OTHER_MENU)
  377. TITLE:=OMAP Watchdog timer
  378. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  379. KCONFIG:=CONFIG_OMAP_WATCHDOG
  380. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  381. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko,1)
  382. endef
  383. define KernelPackage/wdt-omap/description
  384. Kernel module for TI omap watchdog timer
  385. endef
  386. $(eval $(call KernelPackage,wdt-omap))
  387. define KernelPackage/wdt-orion
  388. SUBMENU:=$(OTHER_MENU)
  389. TITLE:=Marvell Orion Watchdog timer
  390. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
  391. KCONFIG:=CONFIG_ORION_WATCHDOG
  392. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  393. AUTOLOAD:=$(call AutoLoad,50,orion_wdt,1)
  394. endef
  395. define KernelPackage/wdt-orion/description
  396. Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer
  397. endef
  398. $(eval $(call KernelPackage,wdt-orion))
  399. define KernelPackage/booke-wdt
  400. SUBMENU:=$(OTHER_MENU)
  401. TITLE:=PowerPC Book-E Watchdog Timer
  402. DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
  403. KCONFIG:=CONFIG_BOOKE_WDT
  404. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
  405. AUTOLOAD:=$(call AutoLoad,50,booke_wdt,1)
  406. endef
  407. define KernelPackage/booke-wdt/description
  408. Kernel module for PowerPC Book-E Watchdog Timer
  409. endef
  410. $(eval $(call KernelPackage,booke-wdt))
  411. define KernelPackage/rtc-ds1307
  412. SUBMENU:=$(OTHER_MENU)
  413. TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
  414. DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
  415. KCONFIG:=CONFIG_RTC_DRV_DS1307
  416. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
  417. AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
  418. endef
  419. define KernelPackage/rtc-ds1307/description
  420. Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
  421. Epson RX-8025 and various other compatible RTC chips connected via I2C.
  422. endef
  423. $(eval $(call KernelPackage,rtc-ds1307))
  424. define KernelPackage/rtc-ds1672
  425. SUBMENU:=$(OTHER_MENU)
  426. TITLE:=Dallas/Maxim DS1672 RTC support
  427. DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
  428. KCONFIG:=CONFIG_RTC_DRV_DS1672
  429. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
  430. AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
  431. endef
  432. define KernelPackage/rtc-ds1672/description
  433. Kernel module for Dallas/Maxim DS1672 RTC.
  434. endef
  435. $(eval $(call KernelPackage,rtc-ds1672))
  436. define KernelPackage/rtc-isl1208
  437. SUBMENU:=$(OTHER_MENU)
  438. TITLE:=Intersil ISL1208 RTC support
  439. DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
  440. KCONFIG:=CONFIG_RTC_DRV_ISL1208
  441. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  442. AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
  443. endef
  444. define KernelPackage/rtc-isl1208/description
  445. Kernel module for Intersil ISL1208 RTC.
  446. endef
  447. $(eval $(call KernelPackage,rtc-isl1208))
  448. define KernelPackage/rtc-marvell
  449. SUBMENU:=$(OTHER_MENU)
  450. TITLE:=Marvell SoC built-in RTC support
  451. DEPENDS:=@RTC_SUPPORT @TARGET_kirkwood||TARGET_orion||TARGET_mvebu
  452. KCONFIG:=CONFIG_RTC_DRV_MV
  453. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
  454. AUTOLOAD:=$(call AutoProbe,rtc-mv)
  455. endef
  456. define KernelPackage/rtc-marvell/description
  457. Kernel module for Marvell SoC built-in RTC.
  458. endef
  459. $(eval $(call KernelPackage,rtc-marvell))
  460. define KernelPackage/rtc-armada38x
  461. SUBMENU:=$(OTHER_MENU)
  462. TITLE:=Marvell Armada 38x SoC built-in RTC support
  463. DEPENDS:=@RTC_SUPPORT @TARGET_mvebu
  464. KCONFIG:=CONFIG_RTC_DRV_ARMADA38X
  465. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-armada38x.ko
  466. AUTOLOAD:=$(call AutoProbe,rtc-armada38x)
  467. endef
  468. define KernelPackage/rtc-armada38x/description
  469. Kernel module for Marvell Armada 38x SoC built-in RTC.
  470. endef
  471. $(eval $(call KernelPackage,rtc-armada38x))
  472. define KernelPackage/rtc-pcf8563
  473. SUBMENU:=$(OTHER_MENU)
  474. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  475. DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
  476. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  477. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  478. AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
  479. endef
  480. define KernelPackage/rtc-pcf8563/description
  481. Kernel module for Philips PCF8563 RTC chip.
  482. The Epson RTC8564 should work as well.
  483. endef
  484. $(eval $(call KernelPackage,rtc-pcf8563))
  485. define KernelPackage/rtc-pcf2123
  486. SUBMENU:=$(OTHER_MENU)
  487. TITLE:=Philips PCF2123 RTC support
  488. DEPENDS:=@RTC_SUPPORT
  489. KCONFIG:=CONFIG_RTC_DRV_PCF2123
  490. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  491. AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
  492. endef
  493. define KernelPackage/rtc-pcf2123/description
  494. Kernel module for Philips PCF2123 RTC chip
  495. endef
  496. $(eval $(call KernelPackage,rtc-pcf2123))
  497. define KernelPackage/rtc-pt7c4338
  498. SUBMENU:=$(OTHER_MENU)
  499. TITLE:=Pericom PT7C4338 RTC support
  500. DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
  501. KCONFIG:=CONFIG_RTC_DRV_PT7C4338
  502. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  503. AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338)
  504. endef
  505. define KernelPackage/rtc-pt7c4338/description
  506. Kernel module for Pericom PT7C4338 i2c RTC chip
  507. endef
  508. $(eval $(call KernelPackage,rtc-pt7c4338))
  509. define KernelPackage/mtdtests
  510. SUBMENU:=$(OTHER_MENU)
  511. TITLE:=MTD subsystem tests
  512. KCONFIG:=CONFIG_MTD_TESTS
  513. FILES:=\
  514. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  515. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  516. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  517. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  518. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  519. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  520. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  521. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  522. endef
  523. define KernelPackage/mtdtests/description
  524. Kernel modules for MTD subsystem/driver testing
  525. endef
  526. $(eval $(call KernelPackage,mtdtests))
  527. define KernelPackage/serial-8250
  528. SUBMENU:=$(OTHER_MENU)
  529. TITLE:=8250 UARTs
  530. KCONFIG:= CONFIG_SERIAL_8250 \
  531. CONFIG_SERIAL_8250_NR_UARTS=16 \
  532. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  533. CONFIG_SERIAL_8250_EXTENDED=y \
  534. CONFIG_SERIAL_8250_MANY_PORTS=y \
  535. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  536. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  537. CONFIG_SERIAL_8250_RSA=n
  538. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko
  539. endef
  540. define KernelPackage/serial-8250/description
  541. Kernel module for 8250 UART based serial ports
  542. endef
  543. $(eval $(call KernelPackage,serial-8250))
  544. define KernelPackage/regmap
  545. SUBMENU:=$(OTHER_MENU)
  546. TITLE:=Generic register map support
  547. DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
  548. KCONFIG:=CONFIG_REGMAP \
  549. CONFIG_REGMAP_SPI \
  550. CONFIG_REGMAP_I2C \
  551. CONFIG_SPI=y
  552. FILES:= \
  553. $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
  554. $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
  555. $(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
  556. AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
  557. endef
  558. define KernelPackage/regmap/description
  559. Generic register map support
  560. endef
  561. $(eval $(call KernelPackage,regmap))
  562. define KernelPackage/ikconfig
  563. SUBMENU:=$(OTHER_MENU)
  564. TITLE:=Kernel configuration via /proc/config.gz
  565. KCONFIG:=CONFIG_IKCONFIG \
  566. CONFIG_IKCONFIG_PROC=y
  567. FILES:=$(LINUX_DIR)/kernel/configs.ko
  568. AUTOLOAD:=$(call AutoLoad,70,configs)
  569. endef
  570. define KernelPackage/ikconfig/description
  571. Kernel configuration via /proc/config.gz
  572. endef
  573. $(eval $(call KernelPackage,ikconfig))
  574. define KernelPackage/zram
  575. SUBMENU:=$(OTHER_MENU)
  576. TITLE:=ZRAM
  577. DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
  578. KCONFIG:= \
  579. CONFIG_ZSMALLOC \
  580. CONFIG_ZRAM \
  581. CONFIG_ZRAM_DEBUG=n \
  582. CONFIG_PGTABLE_MAPPING=n \
  583. CONFIG_ZSMALLOC_STAT=n \
  584. CONFIG_ZRAM_LZ4_COMPRESS=y
  585. FILES:= \
  586. $(LINUX_DIR)/mm/zsmalloc.ko \
  587. $(LINUX_DIR)/drivers/block/zram/zram.ko
  588. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  589. endef
  590. define KernelPackage/zram/description
  591. Compressed RAM block device support
  592. endef
  593. $(eval $(call KernelPackage,zram))
  594. define KernelPackage/mvsdio
  595. SUBMENU:=$(OTHER_MENU)
  596. TITLE:=Marvell SDIO support
  597. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
  598. KCONFIG:=CONFIG_MMC_MVSDIO
  599. FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
  600. AUTOLOAD:=$(call AutoProbe,mvsdio)
  601. endef
  602. define KernelPackage/mvsdio/description
  603. Kernel support for the Marvell SDIO controller
  604. endef
  605. $(eval $(call KernelPackage,mvsdio))
  606. define KernelPackage/pps
  607. SUBMENU:=$(OTHER_MENU)
  608. TITLE:=PPS support
  609. KCONFIG:=CONFIG_PPS
  610. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  611. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  612. endef
  613. define KernelPackage/pps/description
  614. PPS (Pulse Per Second) is a special pulse provided by some GPS
  615. antennae. Userland can use it to get a high-precision time
  616. reference.
  617. endef
  618. $(eval $(call KernelPackage,pps))
  619. define KernelPackage/pps-gpio
  620. SUBMENU:=$(OTHER_MENU)
  621. TITLE:=PPS client using GPIO
  622. DEPENDS:=+kmod-pps
  623. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  624. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  625. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  626. endef
  627. define KernelPackage/pps-gpio/description
  628. Support for a PPS source using GPIO. To be useful you must
  629. also register a platform device specifying the GPIO pin and
  630. other options, usually in your board setup.
  631. endef
  632. $(eval $(call KernelPackage,pps-gpio))
  633. define KernelPackage/ptp
  634. SUBMENU:=$(OTHER_MENU)
  635. TITLE:=PTP clock support
  636. DEPENDS:=+kmod-pps
  637. KCONFIG:=CONFIG_PTP_1588_CLOCK
  638. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  639. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  640. endef
  641. define KernelPackage/ptp/description
  642. The IEEE 1588 standard defines a method to precisely
  643. synchronize distributed clocks over Ethernet networks.
  644. endef
  645. $(eval $(call KernelPackage,ptp))
  646. define KernelPackage/ptp-gianfar
  647. SUBMENU:=$(OTHER_MENU)
  648. TITLE:=Freescale Gianfar PTP support
  649. DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp
  650. KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
  651. FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
  652. AUTOLOAD:=$(call AutoProbe,gianfar_ptp)
  653. endef
  654. define KernelPackage/ptp-gianfar/description
  655. Kernel module for IEEE 1588 support for Freescale
  656. Gianfar Ethernet drivers
  657. endef
  658. $(eval $(call KernelPackage,ptp-gianfar))
  659. define KernelPackage/random-core
  660. SUBMENU:=$(OTHER_MENU)
  661. TITLE:=Hardware Random Number Generator Core support
  662. KCONFIG:=CONFIG_HW_RANDOM
  663. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  664. endef
  665. define KernelPackage/random-core/description
  666. Kernel module for the HW random number generator core infrastructure
  667. endef
  668. $(eval $(call KernelPackage,random-core))
  669. define KernelPackage/thermal
  670. SUBMENU:=$(OTHER_MENU)
  671. TITLE:=Generic Thermal sysfs driver
  672. DEPENDS:=+kmod-hwmon-core
  673. HIDDEN:=1
  674. KCONFIG:= \
  675. CONFIG_THERMAL \
  676. CONFIG_THERMAL_OF=y \
  677. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  678. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  679. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  680. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  681. CONFIG_THERMAL_GOV_STEP_WISE=y \
  682. CONFIG_THERMAL_GOV_USER_SPACE=n \
  683. CONFIG_THERMAL_HWMON=y \
  684. CONFIG_THERMAL_EMULATION=n
  685. FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
  686. AUTOLOAD:=$(call AutoProbe,thermal_sys)
  687. endef
  688. define KernelPackage/thermal/description
  689. Generic Thermal Sysfs driver offers a generic mechanism for thermal
  690. management. Usually it's made up of one or more thermal zone and cooling
  691. device.
  692. endef
  693. $(eval $(call KernelPackage,thermal))
  694. define KernelPackage/thermal-armada
  695. SUBMENU:=$(OTHER_MENU)
  696. TITLE:=Armada 370/XP thermal management
  697. DEPENDS:=@TARGET_mvebu +kmod-thermal
  698. KCONFIG:=CONFIG_ARMADA_THERMAL
  699. FILES:=$(LINUX_DIR)/drivers/thermal/armada_thermal.ko
  700. AUTOLOAD:=$(call AutoProbe,armada_thermal)
  701. endef
  702. define KernelPackage/thermal-armada/description
  703. Enable this module if you want to have support for thermal management
  704. controller present in Armada 370 and Armada XP SoC.
  705. endef
  706. $(eval $(call KernelPackage,thermal-armada))
  707. define KernelPackage/thermal-imx
  708. SUBMENU:=$(OTHER_MENU)
  709. TITLE:=Temperature sensor driver for Freescale i.MX SoCs
  710. DEPENDS:=@TARGET_imx6 +kmod-thermal
  711. KCONFIG:= \
  712. CONFIG_CPU_THERMAL=y \
  713. CONFIG_IMX_THERMAL
  714. FILES:=$(LINUX_DIR)/drivers/thermal/imx_thermal.ko
  715. AUTOLOAD:=$(call AutoProbe,imx_thermal)
  716. endef
  717. define KernelPackage/thermal-imx/description
  718. Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
  719. It supports one critical trip point and one passive trip point. The
  720. cpufreq is used as the cooling device to throttle CPUs when the
  721. passive trip is crossed.
  722. endef
  723. $(eval $(call KernelPackage,thermal-imx))
  724. define KernelPackage/thermal-kirkwood
  725. SUBMENU:=$(OTHER_MENU)
  726. TITLE:=Temperature sensor on Marvell Kirkwood SoCs
  727. DEPENDS:=@TARGET_kirkwood +kmod-thermal
  728. KCONFIG:=CONFIG_KIRKWOOD_THERMAL
  729. FILES:=$(LINUX_DIR)/drivers/thermal/kirkwood_thermal.ko
  730. AUTOLOAD:=$(call AutoProbe,kirkwood_thermal)
  731. endef
  732. define KernelPackage/thermal-kirkwood/description
  733. Support for the Kirkwood thermal sensor driver into the Linux thermal
  734. framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
  735. endef
  736. $(eval $(call KernelPackage,thermal-kirkwood))
  737. define KernelPackage/gpio-beeper
  738. SUBMENU:=$(OTHER_MENU)
  739. TITLE:=GPIO beeper support
  740. DEPENDS:=+kmod-input-core
  741. KCONFIG:= \
  742. CONFIG_INPUT_MISC=y \
  743. CONFIG_INPUT_GPIO_BEEPER
  744. FILES:= \
  745. $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko
  746. AUTOLOAD:=$(call AutoLoad,50,gpio-beeper)
  747. endef
  748. define KernelPackage/gpio-beeper/description
  749. This enables playing beeps through an GPIO-connected buzzer
  750. endef
  751. $(eval $(call KernelPackage,gpio-beeper))
  752. define KernelPackage/echo
  753. SUBMENU:=$(OTHER_MENU)
  754. TITLE:=Line Echo Canceller
  755. KCONFIG:=CONFIG_ECHO
  756. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  757. AUTOLOAD:=$(call AutoLoad,50,echo)
  758. endef
  759. define KernelPackage/echo/description
  760. This driver provides line echo cancelling support for mISDN and
  761. DAHDI drivers
  762. endef
  763. $(eval $(call KernelPackage,echo))