other.mk 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300
  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:= \
  13. CONFIG_6LOWPAN \
  14. CONFIG_6LOWPAN_NHC=n
  15. FILES:=$(LINUX_DIR)/net/6lowpan/6lowpan.ko
  16. AUTOLOAD:=$(call AutoProbe,6lowpan)
  17. endef
  18. define KernelPackage/6lowpan/description
  19. Shared 6lowpan code for IEEE 802.15.4 and Bluetooth.
  20. endef
  21. $(eval $(call KernelPackage,6lowpan))
  22. define KernelPackage/bluetooth
  23. SUBMENU:=$(OTHER_MENU)
  24. TITLE:=Bluetooth support
  25. DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +kmod-crypto-cmac +kmod-regmap-core +kmod-crypto-ecdh
  26. KCONFIG:= \
  27. CONFIG_BT \
  28. CONFIG_BT_BREDR=y \
  29. CONFIG_BT_DEBUGFS=n \
  30. CONFIG_BT_LE=y \
  31. CONFIG_BT_RFCOMM \
  32. CONFIG_BT_BNEP \
  33. CONFIG_BT_HCIBTUSB \
  34. CONFIG_BT_HCIBTUSB_BCM=n \
  35. CONFIG_BT_HCIBTUSB_MTK=y \
  36. CONFIG_BT_HCIBTUSB_RTL=y \
  37. CONFIG_BT_HCIUART \
  38. CONFIG_BT_HCIUART_BCM=n \
  39. CONFIG_BT_HCIUART_INTEL=n \
  40. CONFIG_BT_HCIUART_H4 \
  41. CONFIG_BT_HCIUART_NOKIA=n \
  42. CONFIG_BT_HIDP
  43. $(call AddDepends/rfkill)
  44. FILES:= \
  45. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  46. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  47. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  48. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  49. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  50. $(LINUX_DIR)/drivers/bluetooth/btusb.ko \
  51. $(LINUX_DIR)/drivers/bluetooth/btintel.ko \
  52. $(LINUX_DIR)/drivers/bluetooth/btrtl.ko \
  53. $(LINUX_DIR)/drivers/bluetooth/[email protected]
  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/ath3k
  61. SUBMENU:=$(OTHER_MENU)
  62. TITLE:=ATH3K Kernel Module support
  63. DEPENDS:=+kmod-bluetooth +ar3k-firmware
  64. KCONFIG:= \
  65. CONFIG_BT_ATH3K \
  66. CONFIG_BT_HCIUART_ATH3K=y
  67. FILES:= \
  68. $(LINUX_DIR)/drivers/bluetooth/ath3k.ko
  69. AUTOLOAD:=$(call AutoProbe,ath3k)
  70. endef
  71. define KernelPackage/ath3k/description
  72. Kernel support for ATH3K Module
  73. endef
  74. $(eval $(call KernelPackage,ath3k))
  75. define KernelPackage/bluetooth-6lowpan
  76. SUBMENU:=$(OTHER_MENU)
  77. TITLE:=Bluetooth 6LoWPAN support
  78. DEPENDS:=+kmod-6lowpan +kmod-bluetooth
  79. KCONFIG:=CONFIG_BT_6LOWPAN
  80. FILES:=$(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko
  81. AUTOLOAD:=$(call AutoProbe,bluetooth_6lowpan)
  82. endef
  83. define KernelPackage/bluetooth-6lowpan/description
  84. Kernel support for 6LoWPAN over Bluetooth Low Energy devices
  85. endef
  86. $(eval $(call KernelPackage,bluetooth-6lowpan))
  87. define KernelPackage/btmrvl
  88. SUBMENU:=$(OTHER_MENU)
  89. TITLE:=Marvell Bluetooth Kernel Module support
  90. DEPENDS:=+kmod-mmc +kmod-bluetooth +mwifiex-sdio-firmware
  91. KCONFIG:= \
  92. CONFIG_BT_MRVL \
  93. CONFIG_BT_MRVL_SDIO
  94. FILES:= \
  95. $(LINUX_DIR)/drivers/bluetooth/btmrvl.ko \
  96. $(LINUX_DIR)/drivers/bluetooth/btmrvl_sdio.ko
  97. AUTOLOAD:=$(call AutoProbe,btmrvl btmrvl_sdio)
  98. endef
  99. define KernelPackage/btmrvl/description
  100. Kernel support for Marvell SDIO Bluetooth Module
  101. endef
  102. $(eval $(call KernelPackage,btmrvl))
  103. define KernelPackage/btsdio
  104. SUBMENU:=$(OTHER_MENU)
  105. TITLE:=Bluetooth HCI SDIO driver
  106. DEPENDS:=+kmod-bluetooth +kmod-mmc
  107. KCONFIG:= \
  108. CONFIG_BT_HCIBTSDIO
  109. FILES:= \
  110. $(LINUX_DIR)/drivers/bluetooth/btsdio.ko
  111. AUTOLOAD:=$(call AutoProbe,btsdio)
  112. endef
  113. define KernelPackage/btsdio/description
  114. Kernel support for Bluetooth device with SDIO interface
  115. endef
  116. $(eval $(call KernelPackage,btsdio))
  117. define KernelPackage/dma-buf
  118. SUBMENU:=$(OTHER_MENU)
  119. TITLE:=DMA shared buffer support
  120. HIDDEN:=1
  121. KCONFIG:=CONFIG_DMA_SHARED_BUFFER
  122. ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
  123. ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
  124. FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
  125. endif
  126. endif
  127. AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
  128. endef
  129. $(eval $(call KernelPackage,dma-buf))
  130. define KernelPackage/eeprom-93cx6
  131. SUBMENU:=$(OTHER_MENU)
  132. TITLE:=EEPROM 93CX6 support
  133. KCONFIG:=CONFIG_EEPROM_93CX6
  134. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  135. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  136. endef
  137. define KernelPackage/eeprom-93cx6/description
  138. Kernel module for EEPROM 93CX6 support
  139. endef
  140. $(eval $(call KernelPackage,eeprom-93cx6))
  141. define KernelPackage/eeprom-at24
  142. SUBMENU:=$(OTHER_MENU)
  143. TITLE:=EEPROM AT24 support
  144. KCONFIG:=CONFIG_EEPROM_AT24
  145. DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c
  146. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  147. AUTOLOAD:=$(call AutoProbe,at24)
  148. endef
  149. define KernelPackage/eeprom-at24/description
  150. Kernel module for most I2C EEPROMs
  151. endef
  152. $(eval $(call KernelPackage,eeprom-at24))
  153. define KernelPackage/eeprom-at25
  154. SUBMENU:=$(OTHER_MENU)
  155. TITLE:=EEPROM AT25 support
  156. KCONFIG:=CONFIG_EEPROM_AT25
  157. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  158. AUTOLOAD:=$(call AutoProbe,at25)
  159. endef
  160. define KernelPackage/eeprom-at25/description
  161. Kernel module for most SPI EEPROMs
  162. endef
  163. $(eval $(call KernelPackage,eeprom-at25))
  164. define KernelPackage/google-firmware
  165. SUBMENU:=$(OTHER_MENU)
  166. TITLE:=Google firmware drivers (Coreboot, VPD, Memconsole)
  167. KCONFIG:= \
  168. CONFIG_GOOGLE_FIRMWARE=y \
  169. CONFIG_GOOGLE_COREBOOT_TABLE \
  170. CONFIG_GOOGLE_MEMCONSOLE \
  171. CONFIG_GOOGLE_MEMCONSOLE_COREBOOT \
  172. CONFIG_GOOGLE_VPD
  173. FILES:= \
  174. $(LINUX_DIR)/drivers/firmware/google/coreboot_table.ko \
  175. $(LINUX_DIR)/drivers/firmware/google/memconsole.ko \
  176. $(LINUX_DIR)/drivers/firmware/google/memconsole-coreboot.ko \
  177. $(LINUX_DIR)/drivers/firmware/google/vpd-sysfs.ko
  178. AUTOLOAD:=$(call AutoProbe,coreboot_table memconsole-coreboot vpd-sysfs)
  179. endef
  180. define KernelPackage/google-firmware/description
  181. Kernel modules for Google firmware drivers. Useful for examining firmware and
  182. boot details on devices using a Google bootloader based on Coreboot. Provides
  183. files like /sys/firmware/log and /sys/firmware/vpd.
  184. endef
  185. $(eval $(call KernelPackage,google-firmware))
  186. define KernelPackage/lkdtm
  187. SUBMENU:=$(OTHER_MENU)
  188. TITLE:=Linux Kernel Dump Test Tool Module
  189. KCONFIG:=CONFIG_LKDTM
  190. FILES:=$(LINUX_DIR)/drivers/misc/lkdtm/lkdtm.ko
  191. AUTOLOAD:=$(call AutoProbe,lkdtm)
  192. endef
  193. define KernelPackage/lkdtm/description
  194. This module enables testing of the different dumping mechanisms by inducing
  195. system failures at predefined crash points.
  196. endef
  197. $(eval $(call KernelPackage,lkdtm))
  198. define KernelPackage/pinctrl-mcp23s08
  199. SUBMENU:=$(OTHER_MENU)
  200. TITLE:=Microchip MCP23xxx I/O expander
  201. HIDDEN:=1
  202. DEPENDS:=@GPIO_SUPPORT +kmod-regmap-core
  203. KCONFIG:=CONFIG_PINCTRL_MCP23S08
  204. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko
  205. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08)
  206. endef
  207. define KernelPackage/pinctrl-mcp23s08/description
  208. Kernel module for Microchip MCP23xxx I/O expander
  209. endef
  210. $(eval $(call KernelPackage,pinctrl-mcp23s08))
  211. define KernelPackage/pinctrl-mcp23s08-i2c
  212. SUBMENU:=$(OTHER_MENU)
  213. TITLE:=Microchip MCP23xxx I/O expander (I2C)
  214. DEPENDS:=@GPIO_SUPPORT \
  215. +kmod-pinctrl-mcp23s08 \
  216. +kmod-i2c-core \
  217. +kmod-regmap-i2c
  218. KCONFIG:=CONFIG_PINCTRL_MCP23S08_I2C
  219. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08_i2c.ko
  220. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08-i2c)
  221. endef
  222. define KernelPackage/pinctrl-mcp23s08-i2c/description
  223. Kernel module for Microchip MCP23xxx I/O expander via I2C
  224. endef
  225. $(eval $(call KernelPackage,pinctrl-mcp23s08-i2c))
  226. define KernelPackage/pinctrl-mcp23s08-spi
  227. SUBMENU:=$(OTHER_MENU)
  228. TITLE:=Microchip MCP23xxx I/O expander (SPI)
  229. DEPENDS:=@GPIO_SUPPORT +kmod-pinctrl-mcp23s08
  230. KCONFIG:=CONFIG_PINCTRL_MCP23S08_SPI
  231. FILES:=$(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08_spi.ko
  232. AUTOLOAD:=$(call AutoLoad,40,pinctrl-mcp23s08-spi)
  233. endef
  234. define KernelPackage/pinctrl-mcp23s08-spi/description
  235. Kernel module for Microchip MCP23xxx I/O expander via SPI
  236. endef
  237. $(eval $(call KernelPackage,pinctrl-mcp23s08-spi))
  238. define KernelPackage/ppdev
  239. SUBMENU:=$(OTHER_MENU)
  240. TITLE:=Parallel port support
  241. KCONFIG:= \
  242. CONFIG_PARPORT \
  243. CONFIG_PPDEV
  244. FILES:= \
  245. $(LINUX_DIR)/drivers/parport/parport.ko \
  246. $(LINUX_DIR)/drivers/char/ppdev.ko
  247. AUTOLOAD:=$(call AutoLoad,50,parport ppdev)
  248. endef
  249. $(eval $(call KernelPackage,ppdev))
  250. define KernelPackage/parport-pc
  251. SUBMENU:=$(OTHER_MENU)
  252. TITLE:=Parallel port interface (PC-style) support
  253. DEPENDS:=+kmod-ppdev
  254. KCONFIG:= \
  255. CONFIG_KS0108=n \
  256. CONFIG_PARPORT_PC \
  257. CONFIG_PARPORT_1284=y \
  258. CONFIG_PARPORT_PC_FIFO=y \
  259. CONFIG_PARPORT_PC_PCMCIA=n \
  260. CONFIG_PARPORT_PC_SUPERIO=y \
  261. CONFIG_PARPORT_SERIAL=n \
  262. CONFIG_PARIDE=n \
  263. CONFIG_SCSI_IMM=n \
  264. CONFIG_SCSI_PPA=n
  265. FILES:= \
  266. $(LINUX_DIR)/drivers/parport/parport_pc.ko
  267. AUTOLOAD:=$(call AutoLoad,51,parport_pc)
  268. endef
  269. $(eval $(call KernelPackage,parport-pc))
  270. define KernelPackage/lp
  271. SUBMENU:=$(OTHER_MENU)
  272. TITLE:=Parallel port line printer device support
  273. DEPENDS:=+kmod-ppdev
  274. KCONFIG:= \
  275. CONFIG_PRINTER
  276. FILES:= \
  277. $(LINUX_DIR)/drivers/char/lp.ko
  278. AUTOLOAD:=$(call AutoLoad,52,lp)
  279. endef
  280. $(eval $(call KernelPackage,lp))
  281. define KernelPackage/mmc
  282. SUBMENU:=$(OTHER_MENU)
  283. TITLE:=MMC/SD Card Support
  284. DEPENDS:=@!TARGET_uml
  285. KCONFIG:= \
  286. CONFIG_MMC \
  287. CONFIG_MMC_BLOCK \
  288. CONFIG_MMC_DEBUG=n \
  289. CONFIG_MMC_UNSAFE_RESUME=n \
  290. CONFIG_MMC_TIFM_SD=n \
  291. CONFIG_MMC_WBSD=n \
  292. CONFIG_SDIO_UART=n
  293. FILES:= \
  294. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  295. $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko
  296. AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
  297. endef
  298. define KernelPackage/mmc/description
  299. Kernel support for MMC/SD cards
  300. endef
  301. $(eval $(call KernelPackage,mmc))
  302. define KernelPackage/sdhci
  303. SUBMENU:=$(OTHER_MENU)
  304. TITLE:=Secure Digital Host Controller Interface support
  305. DEPENDS:=+kmod-mmc
  306. KCONFIG:= \
  307. CONFIG_MMC_SDHCI \
  308. CONFIG_MMC_SDHCI_PLTFM \
  309. CONFIG_MMC_SDHCI_PCI=n
  310. FILES:= \
  311. $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \
  312. $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko
  313. AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1)
  314. endef
  315. define KernelPackage/sdhci/description
  316. Kernel support for SDHCI Hosts
  317. endef
  318. $(eval $(call KernelPackage,sdhci))
  319. define KernelPackage/rfkill
  320. SUBMENU:=$(OTHER_MENU)
  321. TITLE:=RF switch subsystem support
  322. DEPENDS:=@USE_RFKILL +kmod-input-core
  323. KCONFIG:= \
  324. CONFIG_RFKILL_FULL \
  325. CONFIG_RFKILL_INPUT=y \
  326. CONFIG_RFKILL_LEDS=y
  327. FILES:= \
  328. $(LINUX_DIR)/net/rfkill/rfkill.ko
  329. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  330. endef
  331. define KernelPackage/rfkill/description
  332. Say Y here if you want to have control over RF switches
  333. found on many WiFi and Bluetooth cards
  334. endef
  335. $(eval $(call KernelPackage,rfkill))
  336. define KernelPackage/softdog
  337. SUBMENU:=$(OTHER_MENU)
  338. TITLE:=Software watchdog driver
  339. KCONFIG:=CONFIG_SOFT_WATCHDOG \
  340. CONFIG_SOFT_WATCHDOG_PRETIMEOUT=n
  341. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  342. AUTOLOAD:=$(call AutoLoad,50,softdog,1)
  343. endef
  344. define KernelPackage/softdog/description
  345. Software watchdog driver
  346. endef
  347. $(eval $(call KernelPackage,softdog))
  348. define KernelPackage/ssb
  349. SUBMENU:=$(OTHER_MENU)
  350. TITLE:=Silicon Sonics Backplane glue code
  351. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm63xx
  352. KCONFIG:=\
  353. CONFIG_SSB \
  354. CONFIG_SSB_B43_PCI_BRIDGE=y \
  355. CONFIG_SSB_DRIVER_MIPS=n \
  356. CONFIG_SSB_DRIVER_PCICORE=y \
  357. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  358. CONFIG_SSB_FALLBACK_SPROM=y \
  359. CONFIG_SSB_PCIHOST=y \
  360. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  361. CONFIG_SSB_POSSIBLE=y \
  362. CONFIG_SSB_SPROM=y \
  363. CONFIG_SSB_SILENT=y
  364. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  365. AUTOLOAD:=$(call AutoLoad,18,ssb,1)
  366. endef
  367. define KernelPackage/ssb/description
  368. Silicon Sonics Backplane glue code.
  369. endef
  370. $(eval $(call KernelPackage,ssb))
  371. define KernelPackage/bcma
  372. SUBMENU:=$(OTHER_MENU)
  373. TITLE:=BCMA support
  374. DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm53xx
  375. KCONFIG:=\
  376. CONFIG_BCMA \
  377. CONFIG_BCMA_POSSIBLE=y \
  378. CONFIG_BCMA_BLOCKIO=y \
  379. CONFIG_BCMA_FALLBACK_SPROM=y \
  380. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  381. CONFIG_BCMA_HOST_PCI=y \
  382. CONFIG_BCMA_HOST_SOC=n \
  383. CONFIG_BCMA_DRIVER_MIPS=n \
  384. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  385. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  386. CONFIG_BCMA_DEBUG=n
  387. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  388. AUTOLOAD:=$(call AutoLoad,29,bcma)
  389. endef
  390. define KernelPackage/bcma/description
  391. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
  392. endef
  393. $(eval $(call KernelPackage,bcma))
  394. define KernelPackage/rtc-ds1307
  395. SUBMENU:=$(OTHER_MENU)
  396. TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
  397. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  398. DEPENDS:=+kmod-i2c-core +kmod-regmap-i2c +kmod-hwmon-core
  399. KCONFIG:=CONFIG_RTC_DRV_DS1307 \
  400. CONFIG_RTC_CLASS=y
  401. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko
  402. AUTOLOAD:=$(call AutoProbe,rtc-ds1307)
  403. endef
  404. define KernelPackage/rtc-ds1307/description
  405. Kernel module for Dallas/Maxim DS1307/DS1337/DS1338/DS1340/DS1388/DS3231,
  406. Epson RX-8025 and various other compatible RTC chips connected via I2C.
  407. endef
  408. $(eval $(call KernelPackage,rtc-ds1307))
  409. define KernelPackage/rtc-ds1374
  410. SUBMENU:=$(OTHER_MENU)
  411. TITLE:=Dallas/Maxim DS1374 RTC support
  412. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  413. DEPENDS:=+kmod-i2c-core
  414. KCONFIG:=CONFIG_RTC_DRV_DS1374 \
  415. CONFIG_RTC_DRV_DS1374_WDT=n \
  416. CONFIG_RTC_CLASS=y
  417. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1374.ko
  418. AUTOLOAD:=$(call AutoProbe,rtc-ds1374)
  419. endef
  420. define KernelPackage/rtc-ds1374/description
  421. Kernel module for Dallas/Maxim DS1374.
  422. endef
  423. $(eval $(call KernelPackage,rtc-ds1374))
  424. define KernelPackage/rtc-ds1672
  425. SUBMENU:=$(OTHER_MENU)
  426. TITLE:=Dallas/Maxim DS1672 RTC support
  427. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  428. DEPENDS:=+kmod-i2c-core
  429. KCONFIG:=CONFIG_RTC_DRV_DS1672 \
  430. CONFIG_RTC_CLASS=y
  431. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1672.ko
  432. AUTOLOAD:=$(call AutoProbe,rtc-ds1672)
  433. endef
  434. define KernelPackage/rtc-ds1672/description
  435. Kernel module for Dallas/Maxim DS1672 RTC.
  436. endef
  437. $(eval $(call KernelPackage,rtc-ds1672))
  438. define KernelPackage/rtc-em3027
  439. SUBMENU:=$(OTHER_MENU)
  440. TITLE:=Microelectronic EM3027 RTC support
  441. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  442. DEPENDS:=+kmod-i2c-core
  443. KCONFIG:=CONFIG_RTC_DRV_EM3027 \
  444. CONFIG_RTC_CLASS=y
  445. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-em3027.ko
  446. AUTOLOAD:=$(call AutoProbe,rtc-em3027)
  447. endef
  448. define KernelPackage/rtc-em3027/description
  449. Kernel module for Microelectronic EM3027 RTC.
  450. endef
  451. $(eval $(call KernelPackage,rtc-em3027))
  452. define KernelPackage/rtc-isl1208
  453. SUBMENU:=$(OTHER_MENU)
  454. TITLE:=Intersil ISL1208 RTC support
  455. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  456. DEPENDS:=+kmod-i2c-core
  457. KCONFIG:=CONFIG_RTC_DRV_ISL1208 \
  458. CONFIG_RTC_CLASS=y
  459. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  460. AUTOLOAD:=$(call AutoProbe,rtc-isl1208)
  461. endef
  462. define KernelPackage/rtc-isl1208/description
  463. Kernel module for Intersil ISL1208 RTC.
  464. endef
  465. $(eval $(call KernelPackage,rtc-isl1208))
  466. define KernelPackage/rtc-mv
  467. SUBMENU:=$(OTHER_MENU)
  468. TITLE:=Marvell SoC RTC support
  469. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  470. KCONFIG:=CONFIG_RTC_DRV_MV \
  471. CONFIG_RTC_CLASS=y
  472. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
  473. AUTOLOAD:=$(call AutoProbe,rtc-mv)
  474. endef
  475. define KernelPackage/rtc-mv/description
  476. Kernel module for Marvell SoC RTC.
  477. endef
  478. $(eval $(call KernelPackage,rtc-mv))
  479. define KernelPackage/rtc-pcf8563
  480. SUBMENU:=$(OTHER_MENU)
  481. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  482. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  483. DEPENDS:=+kmod-i2c-core
  484. KCONFIG:=CONFIG_RTC_DRV_PCF8563 \
  485. CONFIG_RTC_CLASS=y
  486. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  487. AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
  488. endef
  489. define KernelPackage/rtc-pcf8563/description
  490. Kernel module for Philips PCF8563 RTC chip.
  491. The Epson RTC8564 should work as well.
  492. endef
  493. $(eval $(call KernelPackage,rtc-pcf8563))
  494. define KernelPackage/rtc-pcf2123
  495. SUBMENU:=$(OTHER_MENU)
  496. TITLE:=Philips PCF2123 RTC support
  497. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  498. DEPENDS:=+kmod-regmap-spi
  499. KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
  500. CONFIG_RTC_CLASS=y
  501. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  502. AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
  503. endef
  504. define KernelPackage/rtc-pcf2123/description
  505. Kernel module for Philips PCF2123 RTC chip
  506. endef
  507. $(eval $(call KernelPackage,rtc-pcf2123))
  508. define KernelPackage/rtc-pcf2127
  509. SUBMENU:=$(OTHER_MENU)
  510. TITLE:=NXP PCF2127 and PCF2129 RTC support
  511. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  512. DEPENDS:=+kmod-i2c-core +kmod-regmap-spi
  513. KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
  514. CONFIG_RTC_CLASS=y
  515. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
  516. AUTOLOAD:=$(call AutoProbe,rtc-pcf2127)
  517. endef
  518. define KernelPackage/rtc-pcf2127/description
  519. Kernel module for NXP PCF2127 and PCF2129 RTC chip
  520. endef
  521. $(eval $(call KernelPackage,rtc-pcf2127))
  522. define KernelPackage/rtc-r7301
  523. SUBMENU:=$(OTHER_MENU)
  524. TITLE:=Epson RTC7301 support
  525. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  526. DEPENDS:=+kmod-regmap-mmio
  527. KCONFIG:=CONFIG_RTC_DRV_R7301 \
  528. CONFIG_RTC_CLASS=y
  529. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-r7301.ko
  530. AUTOLOAD:=$(call AutoProbe,rtc-r7301)
  531. endef
  532. define KernelPackage/rtc-r7301/description
  533. Kernel module for Epson RTC7301 RTC chip
  534. endef
  535. $(eval $(call KernelPackage,rtc-r7301))
  536. define KernelPackage/rtc-rs5c372a
  537. SUBMENU:=$(OTHER_MENU)
  538. TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
  539. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  540. DEPENDS:=+kmod-i2c-core
  541. KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
  542. CONFIG_RTC_CLASS=y
  543. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
  544. AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
  545. endef
  546. define KernelPackage/rtc-rs5c372a/description
  547. Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
  548. endef
  549. $(eval $(call KernelPackage,rtc-rs5c372a))
  550. define KernelPackage/rtc-rx8025
  551. SUBMENU:=$(OTHER_MENU)
  552. TITLE:=Epson RX-8025 / RX-8035
  553. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  554. DEPENDS:=+kmod-i2c-core
  555. KCONFIG:=CONFIG_RTC_DRV_RX8025 \
  556. CONFIG_RTC_CLASS=y
  557. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rx8025.ko
  558. AUTOLOAD:=$(call AutoLoad,50,rtc-rx8025,1)
  559. endef
  560. define KernelPackage/rtc-rx8025/description
  561. Kernel module for Epson RX-8025 and RX-8035 I2C RTC chip
  562. endef
  563. $(eval $(call KernelPackage,rtc-rx8025))
  564. define KernelPackage/rtc-s35390a
  565. SUBMENU:=$(OTHER_MENU)
  566. TITLE:=Seico S-35390A
  567. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  568. DEPENDS:=+kmod-i2c-core
  569. KCONFIG:=CONFIG_RTC_DRV_S35390A \
  570. CONFIG_RTC_CLASS=y
  571. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-s35390a.ko
  572. AUTOLOAD:=$(call AutoLoad,50,rtc-s35390a,1)
  573. endef
  574. define KernelPackage/rtc-s35390a/description
  575. Kernel module for Seiko Instruments S-35390A I2C RTC chip
  576. endef
  577. $(eval $(call KernelPackage,rtc-s35390a))
  578. define KernelPackage/rtc-x1205
  579. SUBMENU:=$(OTHER_MENU)
  580. TITLE:=Xicor Intersil X1205
  581. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  582. DEPENDS:=+kmod-i2c-core
  583. KCONFIG:=CONFIG_RTC_DRV_X1205 \
  584. CONFIG_RTC_CLASS=y
  585. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-x1205.ko
  586. AUTOLOAD:=$(call AutoProbe,rtc-x1205)
  587. endef
  588. define KernelPackage/rtc-x1205/description
  589. Kernel module for Xicor Intersil X1205 I2C RTC chip
  590. endef
  591. $(eval $(call KernelPackage,rtc-x1205))
  592. define KernelPackage/mtdtests
  593. SUBMENU:=$(OTHER_MENU)
  594. TITLE:=MTD subsystem tests
  595. KCONFIG:=CONFIG_MTD_TESTS
  596. FILES:=\
  597. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  598. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  599. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  600. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  601. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  602. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  603. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  604. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  605. endef
  606. define KernelPackage/mtdtests/description
  607. Kernel modules for MTD subsystem/driver testing
  608. endef
  609. $(eval $(call KernelPackage,mtdtests))
  610. define KernelPackage/mtdoops
  611. SUBMENU:=$(OTHER_MENU)
  612. TITLE:=Log panic/oops to an MTD buffer
  613. KCONFIG:=CONFIG_MTD_OOPS
  614. FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
  615. endef
  616. define KernelPackage/mtdoops/description
  617. Kernel modules for Log panic/oops to an MTD buffer
  618. endef
  619. $(eval $(call KernelPackage,mtdoops))
  620. define KernelPackage/mtdram
  621. SUBMENU:=$(OTHER_MENU)
  622. TITLE:=Test MTD driver using RAM
  623. KCONFIG:=CONFIG_MTD_MTDRAM \
  624. CONFIG_MTDRAM_TOTAL_SIZE=4096 \
  625. CONFIG_MTDRAM_ERASE_SIZE=128
  626. FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
  627. endef
  628. define KernelPackage/mtdram/description
  629. Test MTD driver using RAM
  630. endef
  631. $(eval $(call KernelPackage,mtdram))
  632. define KernelPackage/ramoops
  633. SUBMENU:=$(OTHER_MENU)
  634. TITLE:=Ramoops (pstore-ram)
  635. DEFAULT:=m if ALL_KMODS
  636. KCONFIG:=CONFIG_PSTORE_RAM \
  637. CONFIG_PSTORE_CONSOLE=y
  638. DEPENDS:=+kmod-pstore +kmod-reed-solomon
  639. FILES:= $(LINUX_DIR)/fs/pstore/ramoops.ko
  640. AUTOLOAD:=$(call AutoLoad,30,ramoops,1)
  641. endef
  642. define KernelPackage/ramoops/description
  643. Kernel module for pstore-ram (ramoops) crash log storage
  644. endef
  645. $(eval $(call KernelPackage,ramoops))
  646. define KernelPackage/reed-solomon
  647. SUBMENU:=$(OTHER_MENU)
  648. TITLE:=Reed-Solomon error correction
  649. DEFAULT:=m if ALL_KMODS
  650. KCONFIG:=CONFIG_REED_SOLOMON \
  651. CONFIG_REED_SOLOMON_DEC8=y \
  652. CONFIG_REED_SOLOMON_ENC8=y
  653. FILES:= $(LINUX_DIR)/lib/reed_solomon/reed_solomon.ko
  654. AUTOLOAD:=$(call AutoLoad,30,reed_solomon,1)
  655. endef
  656. define KernelPackage/reed-solomon/description
  657. Kernel module for Reed-Solomon error correction
  658. endef
  659. $(eval $(call KernelPackage,reed-solomon))
  660. define KernelPackage/serial-8250
  661. SUBMENU:=$(OTHER_MENU)
  662. TITLE:=8250 UARTs
  663. KCONFIG:= CONFIG_SERIAL_8250 \
  664. CONFIG_SERIAL_8250_PCI \
  665. CONFIG_SERIAL_8250_NR_UARTS=16 \
  666. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  667. CONFIG_SERIAL_8250_EXTENDED=y \
  668. CONFIG_SERIAL_8250_MANY_PORTS=y \
  669. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  670. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  671. CONFIG_SERIAL_8250_RSA=n
  672. FILES:= \
  673. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  674. $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
  675. $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko) \
  676. $(if $(CONFIG_GPIOLIB),$(LINUX_DIR)/drivers/tty/serial/serial_mctrl_gpio.ko)
  677. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
  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/serial-8250-exar
  684. SUBMENU:=$(OTHER_MENU)
  685. TITLE:=Exar 8250 UARTs
  686. KCONFIG:= CONFIG_SERIAL_8250_EXAR
  687. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
  688. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
  689. DEPENDS:=@PCI_SUPPORT +kmod-serial-8250
  690. endef
  691. define KernelPackage/serial-8250-exar/description
  692. Kernel module for Exar serial ports
  693. endef
  694. $(eval $(call KernelPackage,serial-8250-exar))
  695. define KernelPackage/regmap-core
  696. SUBMENU:=$(OTHER_MENU)
  697. TITLE:=Generic register map support
  698. HIDDEN:=1
  699. KCONFIG:=CONFIG_REGMAP
  700. ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
  701. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
  702. endif
  703. endef
  704. define KernelPackage/regmap-core/description
  705. Generic register map support
  706. endef
  707. $(eval $(call KernelPackage,regmap-core))
  708. define KernelPackage/regmap-spi
  709. SUBMENU:=$(OTHER_MENU)
  710. TITLE:=SPI register map support
  711. DEPENDS:=+kmod-regmap-core
  712. HIDDEN:=1
  713. KCONFIG:=CONFIG_REGMAP_SPI \
  714. CONFIG_SPI=y
  715. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  716. endef
  717. define KernelPackage/regmap-spi/description
  718. SPI register map support
  719. endef
  720. $(eval $(call KernelPackage,regmap-spi))
  721. define KernelPackage/regmap-i2c
  722. SUBMENU:=$(OTHER_MENU)
  723. TITLE:=I2C register map support
  724. DEPENDS:=+kmod-regmap-core +kmod-i2c-core
  725. HIDDEN:=1
  726. KCONFIG:=CONFIG_REGMAP_I2C
  727. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
  728. endef
  729. define KernelPackage/regmap-i2c/description
  730. I2C register map support
  731. endef
  732. $(eval $(call KernelPackage,regmap-i2c))
  733. define KernelPackage/regmap-mmio
  734. SUBMENU:=$(OTHER_MENU)
  735. TITLE:=MMIO register map support
  736. DEPENDS:=+kmod-regmap-core
  737. HIDDEN:=1
  738. KCONFIG:=CONFIG_REGMAP_MMIO
  739. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
  740. endef
  741. define KernelPackage/regmap-mmio/description
  742. MMIO register map support
  743. endef
  744. $(eval $(call KernelPackage,regmap-mmio))
  745. define KernelPackage/ikconfig
  746. SUBMENU:=$(OTHER_MENU)
  747. TITLE:=Kernel configuration via /proc/config.gz
  748. KCONFIG:=CONFIG_IKCONFIG \
  749. CONFIG_IKCONFIG_PROC=y
  750. FILES:=$(LINUX_DIR)/kernel/configs.ko
  751. AUTOLOAD:=$(call AutoLoad,70,configs)
  752. endef
  753. define KernelPackage/ikconfig/description
  754. Kernel configuration via /proc/config.gz
  755. endef
  756. $(eval $(call KernelPackage,ikconfig))
  757. define KernelPackage/zram
  758. SUBMENU:=$(OTHER_MENU)
  759. TITLE:=ZRAM
  760. KCONFIG:= \
  761. CONFIG_ZSMALLOC \
  762. CONFIG_ZRAM \
  763. CONFIG_ZRAM_DEBUG=n \
  764. CONFIG_ZRAM_WRITEBACK=n \
  765. CONFIG_ZSMALLOC_STAT=n
  766. FILES:= \
  767. $(LINUX_DIR)/mm/zsmalloc.ko \
  768. $(LINUX_DIR)/drivers/block/zram/zram.ko
  769. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  770. endef
  771. define KernelPackage/zram/description
  772. Compressed RAM block device support
  773. endef
  774. define KernelPackage/zram/config
  775. if PACKAGE_kmod-zram
  776. choice
  777. prompt "ZRAM Default compressor"
  778. default ZRAM_DEF_COMP_LZORLE
  779. config ZRAM_DEF_COMP_LZORLE
  780. bool "lzo-rle"
  781. select PACKAGE_kmod-lib-lzo
  782. config ZRAM_DEF_COMP_LZO
  783. bool "lzo"
  784. select PACKAGE_kmod-lib-lzo
  785. config ZRAM_DEF_COMP_LZ4
  786. bool "lz4"
  787. select PACKAGE_kmod-lib-lz4
  788. config ZRAM_DEF_COMP_LZ4HC
  789. bool "lz4-hc"
  790. select PACKAGE_kmod-lib-lz4hc
  791. config ZRAM_DEF_COMP_ZSTD
  792. bool "zstd"
  793. select PACKAGE_kmod-lib-zstd
  794. endchoice
  795. endif
  796. endef
  797. $(eval $(call KernelPackage,zram))
  798. define KernelPackage/pps
  799. SUBMENU:=$(OTHER_MENU)
  800. TITLE:=PPS support
  801. KCONFIG:=CONFIG_PPS
  802. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  803. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  804. endef
  805. define KernelPackage/pps/description
  806. PPS (Pulse Per Second) is a special pulse provided by some GPS
  807. antennae. Userland can use it to get a high-precision time
  808. reference.
  809. endef
  810. $(eval $(call KernelPackage,pps))
  811. define KernelPackage/pps-gpio
  812. SUBMENU:=$(OTHER_MENU)
  813. TITLE:=PPS client using GPIO
  814. DEPENDS:=+kmod-pps
  815. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  816. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  817. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  818. endef
  819. define KernelPackage/pps-gpio/description
  820. Support for a PPS source using GPIO. To be useful you must
  821. also register a platform device specifying the GPIO pin and
  822. other options, usually in your board setup.
  823. endef
  824. $(eval $(call KernelPackage,pps-gpio))
  825. define KernelPackage/pps-ldisc
  826. SUBMENU:=$(OTHER_MENU)
  827. TITLE:=PPS line discipline
  828. DEPENDS:=+kmod-pps
  829. KCONFIG:=CONFIG_PPS_CLIENT_LDISC
  830. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
  831. AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
  832. endef
  833. define KernelPackage/pps-ldisc/description
  834. Support for a PPS source connected with the CD (Carrier
  835. Detect) pin of your serial port.
  836. endef
  837. $(eval $(call KernelPackage,pps-ldisc))
  838. define KernelPackage/ptp
  839. SUBMENU:=$(OTHER_MENU)
  840. TITLE:=PTP clock support
  841. DEPENDS:=+kmod-pps
  842. KCONFIG:= \
  843. CONFIG_PTP_1588_CLOCK \
  844. CONFIG_NET_PTP_CLASSIFY=y
  845. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  846. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  847. endef
  848. define KernelPackage/ptp/description
  849. The IEEE 1588 standard defines a method to precisely
  850. synchronize distributed clocks over Ethernet networks.
  851. endef
  852. $(eval $(call KernelPackage,ptp))
  853. define KernelPackage/ptp-qoriq
  854. SUBMENU:=$(OTHER_MENU)
  855. TITLE:=Freescale QorIQ PTP support
  856. DEPENDS:=@(TARGET_mpc85xx||TARGET_qoriq) +kmod-ptp
  857. KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
  858. FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko
  859. AUTOLOAD:=$(call AutoProbe,ptp-qoriq)
  860. endef
  861. define KernelPackage/ptp-qoriq/description
  862. Kernel module for IEEE 1588 support for Freescale
  863. QorIQ Ethernet drivers
  864. endef
  865. $(eval $(call KernelPackage,ptp-qoriq))
  866. define KernelPackage/random-core
  867. SUBMENU:=$(OTHER_MENU)
  868. TITLE:=Hardware Random Number Generator Core support
  869. KCONFIG:=CONFIG_HW_RANDOM
  870. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  871. endef
  872. define KernelPackage/random-core/description
  873. Kernel module for the HW random number generator core infrastructure
  874. endef
  875. $(eval $(call KernelPackage,random-core))
  876. define KernelPackage/thermal
  877. SUBMENU:=$(OTHER_MENU)
  878. TITLE:=Thermal driver
  879. DEPENDS:=+kmod-hwmon-core
  880. HIDDEN:=1
  881. KCONFIG:= \
  882. CONFIG_THERMAL=y \
  883. CONFIG_THERMAL_OF=y \
  884. CONFIG_CPU_THERMAL=y \
  885. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  886. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  887. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  888. CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
  889. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  890. CONFIG_THERMAL_GOV_STEP_WISE=y \
  891. CONFIG_THERMAL_GOV_USER_SPACE=n \
  892. CONFIG_THERMAL_HWMON=y \
  893. CONFIG_THERMAL_EMULATION=n
  894. endef
  895. define KernelPackage/thermal/description
  896. Thermal driver offers a generic mechanism for thermal management.
  897. Usually it's made up of one or more thermal zone and cooling device.
  898. endef
  899. $(eval $(call KernelPackage,thermal))
  900. define KernelPackage/echo
  901. SUBMENU:=$(OTHER_MENU)
  902. TITLE:=Line Echo Canceller
  903. KCONFIG:=CONFIG_ECHO
  904. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  905. AUTOLOAD:=$(call AutoLoad,50,echo)
  906. endef
  907. define KernelPackage/echo/description
  908. This driver provides line echo cancelling support for mISDN and
  909. DAHDI drivers
  910. endef
  911. $(eval $(call KernelPackage,echo))
  912. define KernelPackage/keys-encrypted
  913. SUBMENU:=$(OTHER_MENU)
  914. TITLE:=encrypted keys on kernel keyring
  915. DEPENDS:=@KERNEL_KEYS +kmod-crypto-cbc +kmod-crypto-hmac +kmod-crypto-rng \
  916. +kmod-crypto-sha256 +kmod-keys-trusted
  917. KCONFIG:=CONFIG_ENCRYPTED_KEYS
  918. FILES:=$(LINUX_DIR)/security/keys/encrypted-keys/encrypted-keys.ko
  919. AUTOLOAD:=$(call AutoLoad,01,encrypted-keys,1)
  920. endef
  921. define KernelPackage/keys-encrypted/description
  922. This module provides support for create/encrypting/decrypting keys
  923. in the kernel. Encrypted keys are kernel generated random numbers,
  924. which are encrypted/decrypted with a 'master' symmetric key. The
  925. 'master' key can be either a trusted-key or user-key type.
  926. Userspace only ever sees/stores encrypted blobs.
  927. endef
  928. $(eval $(call KernelPackage,keys-encrypted))
  929. define KernelPackage/keys-trusted
  930. SUBMENU:=$(OTHER_MENU)
  931. TITLE:=TPM trusted keys on kernel keyring
  932. DEPENDS:=@KERNEL_KEYS +kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha1 +kmod-tpm
  933. KCONFIG:=CONFIG_TRUSTED_KEYS
  934. FILES:= $(LINUX_DIR)/security/keys/trusted-keys/trusted.ko
  935. AUTOLOAD:=$(call AutoLoad,01,trusted-keys,1)
  936. endef
  937. define KernelPackage/keys-trusted/description
  938. This module provides support for creating, sealing, and unsealing
  939. keys in the kernel. Trusted keys are random number symmetric keys,
  940. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  941. if the boot PCRs and other criteria match. Userspace will only ever
  942. see encrypted blobs.
  943. endef
  944. $(eval $(call KernelPackage,keys-trusted))
  945. define KernelPackage/tpm
  946. SUBMENU:=$(OTHER_MENU)
  947. TITLE:=TPM Hardware Support
  948. DEPENDS:= +kmod-random-core +kmod-asn1-decoder \
  949. +kmod-asn1-encoder +kmod-oid-registry
  950. KCONFIG:= CONFIG_TCG_TPM
  951. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
  952. AUTOLOAD:=$(call AutoLoad,10,tpm,1)
  953. endef
  954. define KernelPackage/tpm/description
  955. This enables TPM Hardware Support.
  956. endef
  957. $(eval $(call KernelPackage,tpm))
  958. define KernelPackage/tpm-tis
  959. SUBMENU:=$(OTHER_MENU)
  960. TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
  961. DEPENDS:= @TARGET_x86 +kmod-tpm
  962. KCONFIG:= CONFIG_TCG_TIS
  963. FILES:= \
  964. $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
  965. $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
  966. AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
  967. endef
  968. define KernelPackage/tpm-tis/description
  969. If you have a TPM security chip that is compliant with the
  970. TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
  971. specification (TPM2.0) say Yes and it will be accessible from
  972. within Linux.
  973. endef
  974. $(eval $(call KernelPackage,tpm-tis))
  975. define KernelPackage/tpm-i2c-atmel
  976. SUBMENU:=$(OTHER_MENU)
  977. TITLE:=TPM I2C Atmel Support
  978. DEPENDS:= +kmod-tpm +kmod-i2c-core
  979. KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
  980. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
  981. AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
  982. endef
  983. define KernelPackage/tpm-i2c-atmel/description
  984. This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
  985. endef
  986. $(eval $(call KernelPackage,tpm-i2c-atmel))
  987. define KernelPackage/tpm-i2c-infineon
  988. SUBMENU:=$(OTHER_MENU)
  989. TITLE:= TPM I2C Infineon driver
  990. DEPENDS:= +kmod-tpm +kmod-i2c-core
  991. KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
  992. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
  993. AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
  994. endef
  995. define KernelPackage/tpm-i2c-infineon/description
  996. This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
  997. endef
  998. $(eval $(call KernelPackage,tpm-i2c-infineon))
  999. define KernelPackage/i6300esb-wdt
  1000. SUBMENU:=$(OTHER_MENU)
  1001. TITLE:=Intel 6300ESB Timer/Watchdog
  1002. DEPENDS:=@PCI_SUPPORT @!SMALL_FLASH
  1003. KCONFIG:=CONFIG_I6300ESB_WDT \
  1004. CONFIG_WATCHDOG_CORE=y
  1005. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/i6300esb.ko
  1006. AUTOLOAD:=$(call AutoLoad,50,i6300esb,1)
  1007. endef
  1008. define KernelPackage/i6300esb-wdt/description
  1009. Kernel module for the watchdog timer built into the Intel
  1010. 6300ESB controller hub. Also used by QEMU/libvirt.
  1011. endef
  1012. $(eval $(call KernelPackage,i6300esb-wdt))
  1013. define KernelPackage/mhi-bus
  1014. SUBMENU:=$(OTHER_MENU)
  1015. TITLE:=MHI bus
  1016. KCONFIG:=CONFIG_MHI_BUS \
  1017. CONFIG_MHI_BUS_DEBUG=y
  1018. FILES:=$(LINUX_DIR)/drivers/bus/mhi/host/mhi.ko
  1019. AUTOLOAD:=$(call AutoProbe,mhi)
  1020. endef
  1021. define KernelPackage/mhi-bus/description
  1022. Kernel module for the Qualcomm MHI bus.
  1023. endef
  1024. $(eval $(call KernelPackage,mhi-bus))
  1025. define KernelPackage/mhi-pci-generic
  1026. SUBMENU:=$(OTHER_MENU)
  1027. TITLE:=MHI PCI controller driver
  1028. DEPENDS:=@PCI_SUPPORT +kmod-mhi-bus
  1029. KCONFIG:=CONFIG_MHI_BUS_PCI_GENERIC
  1030. FILES:=$(LINUX_DIR)/drivers/bus/mhi/host/mhi_pci_generic.ko
  1031. AUTOLOAD:=$(call AutoProbe,mhi_pci_generic)
  1032. endef
  1033. define KernelPackage/mhi-pci-generic/description
  1034. Kernel module for the MHI PCI controller driver.
  1035. endef
  1036. $(eval $(call KernelPackage,mhi-pci-generic))