other.mk 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283
  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-pcf8563
  467. SUBMENU:=$(OTHER_MENU)
  468. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  469. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  470. DEPENDS:=+kmod-i2c-core
  471. KCONFIG:=CONFIG_RTC_DRV_PCF8563 \
  472. CONFIG_RTC_CLASS=y
  473. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  474. AUTOLOAD:=$(call AutoProbe,rtc-pcf8563)
  475. endef
  476. define KernelPackage/rtc-pcf8563/description
  477. Kernel module for Philips PCF8563 RTC chip.
  478. The Epson RTC8564 should work as well.
  479. endef
  480. $(eval $(call KernelPackage,rtc-pcf8563))
  481. define KernelPackage/rtc-pcf2123
  482. SUBMENU:=$(OTHER_MENU)
  483. TITLE:=Philips PCF2123 RTC support
  484. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  485. DEPENDS:=+kmod-regmap-spi
  486. KCONFIG:=CONFIG_RTC_DRV_PCF2123 \
  487. CONFIG_RTC_CLASS=y
  488. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  489. AUTOLOAD:=$(call AutoProbe,rtc-pcf2123)
  490. endef
  491. define KernelPackage/rtc-pcf2123/description
  492. Kernel module for Philips PCF2123 RTC chip
  493. endef
  494. $(eval $(call KernelPackage,rtc-pcf2123))
  495. define KernelPackage/rtc-pcf2127
  496. SUBMENU:=$(OTHER_MENU)
  497. TITLE:=NXP PCF2127 and PCF2129 RTC support
  498. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  499. DEPENDS:=+kmod-i2c-core +kmod-regmap-spi
  500. KCONFIG:=CONFIG_RTC_DRV_PCF2127 \
  501. CONFIG_RTC_CLASS=y
  502. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2127.ko
  503. AUTOLOAD:=$(call AutoProbe,rtc-pcf2127)
  504. endef
  505. define KernelPackage/rtc-pcf2127/description
  506. Kernel module for NXP PCF2127 and PCF2129 RTC chip
  507. endef
  508. $(eval $(call KernelPackage,rtc-pcf2127))
  509. define KernelPackage/rtc-r7301
  510. SUBMENU:=$(OTHER_MENU)
  511. TITLE:=Epson RTC7301 support
  512. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  513. DEPENDS:=+kmod-regmap-mmio
  514. KCONFIG:=CONFIG_RTC_DRV_R7301 \
  515. CONFIG_RTC_CLASS=y
  516. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-r7301.ko
  517. AUTOLOAD:=$(call AutoProbe,rtc-r7301)
  518. endef
  519. define KernelPackage/rtc-r7301/description
  520. Kernel module for Epson RTC7301 RTC chip
  521. endef
  522. $(eval $(call KernelPackage,rtc-r7301))
  523. define KernelPackage/rtc-rs5c372a
  524. SUBMENU:=$(OTHER_MENU)
  525. TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
  526. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  527. DEPENDS:=+kmod-i2c-core
  528. KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
  529. CONFIG_RTC_CLASS=y
  530. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
  531. AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
  532. endef
  533. define KernelPackage/rtc-rs5c372a/description
  534. Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
  535. endef
  536. $(eval $(call KernelPackage,rtc-rs5c372a))
  537. define KernelPackage/rtc-rx8025
  538. SUBMENU:=$(OTHER_MENU)
  539. TITLE:=Epson RX-8025 / RX-8035
  540. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  541. DEPENDS:=+kmod-i2c-core
  542. KCONFIG:=CONFIG_RTC_DRV_RX8025 \
  543. CONFIG_RTC_CLASS=y
  544. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rx8025.ko
  545. AUTOLOAD:=$(call AutoLoad,50,rtc-rx8025,1)
  546. endef
  547. define KernelPackage/rtc-rx8025/description
  548. Kernel module for Epson RX-8025 and RX-8035 I2C RTC chip
  549. endef
  550. $(eval $(call KernelPackage,rtc-rx8025))
  551. define KernelPackage/rtc-s35390a
  552. SUBMENU:=$(OTHER_MENU)
  553. TITLE:=Seico S-35390A
  554. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  555. DEPENDS:=+kmod-i2c-core
  556. KCONFIG:=CONFIG_RTC_DRV_S35390A \
  557. CONFIG_RTC_CLASS=y
  558. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-s35390a.ko
  559. AUTOLOAD:=$(call AutoLoad,50,rtc-s35390a,1)
  560. endef
  561. define KernelPackage/rtc-s35390a/description
  562. Kernel module for Seiko Instruments S-35390A I2C RTC chip
  563. endef
  564. $(eval $(call KernelPackage,rtc-s35390a))
  565. define KernelPackage/rtc-x1205
  566. SUBMENU:=$(OTHER_MENU)
  567. TITLE:=Xicor Intersil X1205
  568. DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
  569. DEPENDS:=+kmod-i2c-core
  570. KCONFIG:=CONFIG_RTC_DRV_X1205 \
  571. CONFIG_RTC_CLASS=y
  572. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-x1205.ko
  573. AUTOLOAD:=$(call AutoProbe,rtc-x1205)
  574. endef
  575. define KernelPackage/rtc-x1205/description
  576. Kernel module for Xicor Intersil X1205 I2C RTC chip
  577. endef
  578. $(eval $(call KernelPackage,rtc-x1205))
  579. define KernelPackage/mtdtests
  580. SUBMENU:=$(OTHER_MENU)
  581. TITLE:=MTD subsystem tests
  582. KCONFIG:=CONFIG_MTD_TESTS
  583. FILES:=\
  584. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  585. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  586. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  587. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  588. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  589. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  590. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  591. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  592. endef
  593. define KernelPackage/mtdtests/description
  594. Kernel modules for MTD subsystem/driver testing
  595. endef
  596. $(eval $(call KernelPackage,mtdtests))
  597. define KernelPackage/mtdoops
  598. SUBMENU:=$(OTHER_MENU)
  599. TITLE:=Log panic/oops to an MTD buffer
  600. KCONFIG:=CONFIG_MTD_OOPS
  601. FILES:=$(LINUX_DIR)/drivers/mtd/mtdoops.ko
  602. endef
  603. define KernelPackage/mtdoops/description
  604. Kernel modules for Log panic/oops to an MTD buffer
  605. endef
  606. $(eval $(call KernelPackage,mtdoops))
  607. define KernelPackage/mtdram
  608. SUBMENU:=$(OTHER_MENU)
  609. TITLE:=Test MTD driver using RAM
  610. KCONFIG:=CONFIG_MTD_MTDRAM \
  611. CONFIG_MTDRAM_TOTAL_SIZE=4096 \
  612. CONFIG_MTDRAM_ERASE_SIZE=128
  613. FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
  614. endef
  615. define KernelPackage/mtdram/description
  616. Test MTD driver using RAM
  617. endef
  618. $(eval $(call KernelPackage,mtdram))
  619. define KernelPackage/ramoops
  620. SUBMENU:=$(OTHER_MENU)
  621. TITLE:=Ramoops (pstore-ram)
  622. DEFAULT:=m if ALL_KMODS
  623. KCONFIG:=CONFIG_PSTORE_RAM \
  624. CONFIG_PSTORE_CONSOLE=y
  625. DEPENDS:=+kmod-pstore +kmod-reed-solomon
  626. FILES:= $(LINUX_DIR)/fs/pstore/ramoops.ko
  627. AUTOLOAD:=$(call AutoLoad,30,ramoops,1)
  628. endef
  629. define KernelPackage/ramoops/description
  630. Kernel module for pstore-ram (ramoops) crash log storage
  631. endef
  632. $(eval $(call KernelPackage,ramoops))
  633. define KernelPackage/reed-solomon
  634. SUBMENU:=$(OTHER_MENU)
  635. TITLE:=Reed-Solomon error correction
  636. DEFAULT:=m if ALL_KMODS
  637. KCONFIG:=CONFIG_REED_SOLOMON \
  638. CONFIG_REED_SOLOMON_DEC8=y \
  639. CONFIG_REED_SOLOMON_ENC8=y
  640. FILES:= $(LINUX_DIR)/lib/reed_solomon/reed_solomon.ko
  641. AUTOLOAD:=$(call AutoLoad,30,reed_solomon,1)
  642. endef
  643. define KernelPackage/reed-solomon/description
  644. Kernel module for Reed-Solomon error correction
  645. endef
  646. $(eval $(call KernelPackage,reed-solomon))
  647. define KernelPackage/serial-8250
  648. SUBMENU:=$(OTHER_MENU)
  649. TITLE:=8250 UARTs
  650. KCONFIG:= CONFIG_SERIAL_8250 \
  651. CONFIG_SERIAL_8250_PCI \
  652. CONFIG_SERIAL_8250_NR_UARTS=16 \
  653. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  654. CONFIG_SERIAL_8250_EXTENDED=y \
  655. CONFIG_SERIAL_8250_MANY_PORTS=y \
  656. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  657. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  658. CONFIG_SERIAL_8250_RSA=n
  659. FILES:= \
  660. $(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
  661. $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
  662. $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko) \
  663. $(if $(CONFIG_GPIOLIB),$(LINUX_DIR)/drivers/tty/serial/serial_mctrl_gpio.ko)
  664. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
  665. endef
  666. define KernelPackage/serial-8250/description
  667. Kernel module for 8250 UART based serial ports
  668. endef
  669. $(eval $(call KernelPackage,serial-8250))
  670. define KernelPackage/serial-8250-exar
  671. SUBMENU:=$(OTHER_MENU)
  672. TITLE:=Exar 8250 UARTs
  673. KCONFIG:= CONFIG_SERIAL_8250_EXAR
  674. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
  675. AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
  676. DEPENDS:=@PCI_SUPPORT +kmod-serial-8250
  677. endef
  678. define KernelPackage/serial-8250-exar/description
  679. Kernel module for Exar serial ports
  680. endef
  681. $(eval $(call KernelPackage,serial-8250-exar))
  682. define KernelPackage/regmap-core
  683. SUBMENU:=$(OTHER_MENU)
  684. TITLE:=Generic register map support
  685. HIDDEN:=1
  686. KCONFIG:=CONFIG_REGMAP
  687. ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
  688. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
  689. endif
  690. endef
  691. define KernelPackage/regmap-core/description
  692. Generic register map support
  693. endef
  694. $(eval $(call KernelPackage,regmap-core))
  695. define KernelPackage/regmap-spi
  696. SUBMENU:=$(OTHER_MENU)
  697. TITLE:=SPI register map support
  698. DEPENDS:=+kmod-regmap-core
  699. HIDDEN:=1
  700. KCONFIG:=CONFIG_REGMAP_SPI \
  701. CONFIG_SPI=y
  702. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  703. endef
  704. define KernelPackage/regmap-spi/description
  705. SPI register map support
  706. endef
  707. $(eval $(call KernelPackage,regmap-spi))
  708. define KernelPackage/regmap-i2c
  709. SUBMENU:=$(OTHER_MENU)
  710. TITLE:=I2C register map support
  711. DEPENDS:=+kmod-regmap-core +kmod-i2c-core
  712. HIDDEN:=1
  713. KCONFIG:=CONFIG_REGMAP_I2C
  714. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko
  715. endef
  716. define KernelPackage/regmap-i2c/description
  717. I2C register map support
  718. endef
  719. $(eval $(call KernelPackage,regmap-i2c))
  720. define KernelPackage/regmap-mmio
  721. SUBMENU:=$(OTHER_MENU)
  722. TITLE:=MMIO register map support
  723. DEPENDS:=+kmod-regmap-core
  724. HIDDEN:=1
  725. KCONFIG:=CONFIG_REGMAP_MMIO
  726. FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko
  727. endef
  728. define KernelPackage/regmap-mmio/description
  729. MMIO register map support
  730. endef
  731. $(eval $(call KernelPackage,regmap-mmio))
  732. define KernelPackage/ikconfig
  733. SUBMENU:=$(OTHER_MENU)
  734. TITLE:=Kernel configuration via /proc/config.gz
  735. KCONFIG:=CONFIG_IKCONFIG \
  736. CONFIG_IKCONFIG_PROC=y
  737. FILES:=$(LINUX_DIR)/kernel/configs.ko
  738. AUTOLOAD:=$(call AutoLoad,70,configs)
  739. endef
  740. define KernelPackage/ikconfig/description
  741. Kernel configuration via /proc/config.gz
  742. endef
  743. $(eval $(call KernelPackage,ikconfig))
  744. define KernelPackage/zram
  745. SUBMENU:=$(OTHER_MENU)
  746. TITLE:=ZRAM
  747. KCONFIG:= \
  748. CONFIG_ZSMALLOC \
  749. CONFIG_ZRAM \
  750. CONFIG_ZRAM_DEBUG=n \
  751. CONFIG_ZRAM_WRITEBACK=n \
  752. CONFIG_ZSMALLOC_STAT=n
  753. FILES:= \
  754. $(LINUX_DIR)/mm/zsmalloc.ko \
  755. $(LINUX_DIR)/drivers/block/zram/zram.ko
  756. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  757. endef
  758. define KernelPackage/zram/description
  759. Compressed RAM block device support
  760. endef
  761. define KernelPackage/zram/config
  762. if PACKAGE_kmod-zram
  763. choice
  764. prompt "ZRAM Default compressor"
  765. default ZRAM_DEF_COMP_LZORLE
  766. config ZRAM_DEF_COMP_LZORLE
  767. bool "lzo-rle"
  768. select PACKAGE_kmod-lib-lzo
  769. config ZRAM_DEF_COMP_LZO
  770. bool "lzo"
  771. select PACKAGE_kmod-lib-lzo
  772. config ZRAM_DEF_COMP_LZ4
  773. bool "lz4"
  774. select PACKAGE_kmod-lib-lz4
  775. config ZRAM_DEF_COMP_LZ4HC
  776. bool "lz4-hc"
  777. select PACKAGE_kmod-lib-lz4hc
  778. config ZRAM_DEF_COMP_ZSTD
  779. bool "zstd"
  780. select PACKAGE_kmod-lib-zstd
  781. endchoice
  782. endif
  783. endef
  784. $(eval $(call KernelPackage,zram))
  785. define KernelPackage/pps
  786. SUBMENU:=$(OTHER_MENU)
  787. TITLE:=PPS support
  788. KCONFIG:=CONFIG_PPS
  789. FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
  790. AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
  791. endef
  792. define KernelPackage/pps/description
  793. PPS (Pulse Per Second) is a special pulse provided by some GPS
  794. antennae. Userland can use it to get a high-precision time
  795. reference.
  796. endef
  797. $(eval $(call KernelPackage,pps))
  798. define KernelPackage/pps-gpio
  799. SUBMENU:=$(OTHER_MENU)
  800. TITLE:=PPS client using GPIO
  801. DEPENDS:=+kmod-pps
  802. KCONFIG:=CONFIG_PPS_CLIENT_GPIO
  803. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
  804. AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
  805. endef
  806. define KernelPackage/pps-gpio/description
  807. Support for a PPS source using GPIO. To be useful you must
  808. also register a platform device specifying the GPIO pin and
  809. other options, usually in your board setup.
  810. endef
  811. $(eval $(call KernelPackage,pps-gpio))
  812. define KernelPackage/pps-ldisc
  813. SUBMENU:=$(OTHER_MENU)
  814. TITLE:=PPS line discipline
  815. DEPENDS:=+kmod-pps
  816. KCONFIG:=CONFIG_PPS_CLIENT_LDISC
  817. FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
  818. AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
  819. endef
  820. define KernelPackage/pps-ldisc/description
  821. Support for a PPS source connected with the CD (Carrier
  822. Detect) pin of your serial port.
  823. endef
  824. $(eval $(call KernelPackage,pps-ldisc))
  825. define KernelPackage/ptp
  826. SUBMENU:=$(OTHER_MENU)
  827. TITLE:=PTP clock support
  828. DEPENDS:=+kmod-pps
  829. KCONFIG:= \
  830. CONFIG_PTP_1588_CLOCK \
  831. CONFIG_NET_PTP_CLASSIFY=y
  832. FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
  833. AUTOLOAD:=$(call AutoLoad,18,ptp,1)
  834. endef
  835. define KernelPackage/ptp/description
  836. The IEEE 1588 standard defines a method to precisely
  837. synchronize distributed clocks over Ethernet networks.
  838. endef
  839. $(eval $(call KernelPackage,ptp))
  840. define KernelPackage/ptp-qoriq
  841. SUBMENU:=$(OTHER_MENU)
  842. TITLE:=Freescale QorIQ PTP support
  843. DEPENDS:=@(TARGET_mpc85xx||TARGET_qoriq) +kmod-ptp
  844. KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
  845. FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko
  846. AUTOLOAD:=$(call AutoProbe,ptp-qoriq)
  847. endef
  848. define KernelPackage/ptp-qoriq/description
  849. Kernel module for IEEE 1588 support for Freescale
  850. QorIQ Ethernet drivers
  851. endef
  852. $(eval $(call KernelPackage,ptp-qoriq))
  853. define KernelPackage/random-core
  854. SUBMENU:=$(OTHER_MENU)
  855. TITLE:=Hardware Random Number Generator Core support
  856. KCONFIG:=CONFIG_HW_RANDOM
  857. FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
  858. endef
  859. define KernelPackage/random-core/description
  860. Kernel module for the HW random number generator core infrastructure
  861. endef
  862. $(eval $(call KernelPackage,random-core))
  863. define KernelPackage/thermal
  864. SUBMENU:=$(OTHER_MENU)
  865. TITLE:=Thermal driver
  866. DEPENDS:=+kmod-hwmon-core
  867. HIDDEN:=1
  868. KCONFIG:= \
  869. CONFIG_THERMAL=y \
  870. CONFIG_THERMAL_OF=y \
  871. CONFIG_CPU_THERMAL=y \
  872. CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
  873. CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
  874. CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
  875. CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
  876. CONFIG_THERMAL_GOV_FAIR_SHARE=n \
  877. CONFIG_THERMAL_GOV_STEP_WISE=y \
  878. CONFIG_THERMAL_GOV_USER_SPACE=n \
  879. CONFIG_THERMAL_HWMON=y \
  880. CONFIG_THERMAL_EMULATION=n
  881. endef
  882. define KernelPackage/thermal/description
  883. Thermal driver offers a generic mechanism for thermal management.
  884. Usually it's made up of one or more thermal zone and cooling device.
  885. endef
  886. $(eval $(call KernelPackage,thermal))
  887. define KernelPackage/echo
  888. SUBMENU:=$(OTHER_MENU)
  889. TITLE:=Line Echo Canceller
  890. KCONFIG:=CONFIG_ECHO
  891. FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
  892. AUTOLOAD:=$(call AutoLoad,50,echo)
  893. endef
  894. define KernelPackage/echo/description
  895. This driver provides line echo cancelling support for mISDN and
  896. DAHDI drivers
  897. endef
  898. $(eval $(call KernelPackage,echo))
  899. define KernelPackage/keys-encrypted
  900. SUBMENU:=$(OTHER_MENU)
  901. TITLE:=encrypted keys on kernel keyring
  902. DEPENDS:=@KERNEL_KEYS +kmod-crypto-cbc +kmod-crypto-hmac +kmod-crypto-rng \
  903. +kmod-crypto-sha256 +kmod-keys-trusted
  904. KCONFIG:=CONFIG_ENCRYPTED_KEYS
  905. FILES:=$(LINUX_DIR)/security/keys/encrypted-keys/encrypted-keys.ko
  906. AUTOLOAD:=$(call AutoLoad,01,encrypted-keys,1)
  907. endef
  908. define KernelPackage/keys-encrypted/description
  909. This module provides support for create/encrypting/decrypting keys
  910. in the kernel. Encrypted keys are kernel generated random numbers,
  911. which are encrypted/decrypted with a 'master' symmetric key. The
  912. 'master' key can be either a trusted-key or user-key type.
  913. Userspace only ever sees/stores encrypted blobs.
  914. endef
  915. $(eval $(call KernelPackage,keys-encrypted))
  916. define KernelPackage/keys-trusted
  917. SUBMENU:=$(OTHER_MENU)
  918. TITLE:=TPM trusted keys on kernel keyring
  919. DEPENDS:=@KERNEL_KEYS +kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha1 +kmod-tpm
  920. KCONFIG:=CONFIG_TRUSTED_KEYS
  921. FILES:= $(LINUX_DIR)/security/keys/trusted-keys/trusted.ko
  922. AUTOLOAD:=$(call AutoLoad,01,trusted-keys,1)
  923. endef
  924. define KernelPackage/keys-trusted/description
  925. This module provides support for creating, sealing, and unsealing
  926. keys in the kernel. Trusted keys are random number symmetric keys,
  927. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  928. if the boot PCRs and other criteria match. Userspace will only ever
  929. see encrypted blobs.
  930. endef
  931. $(eval $(call KernelPackage,keys-trusted))
  932. define KernelPackage/tpm
  933. SUBMENU:=$(OTHER_MENU)
  934. TITLE:=TPM Hardware Support
  935. DEPENDS:= +kmod-random-core +kmod-asn1-decoder \
  936. +kmod-asn1-encoder +kmod-oid-registry
  937. KCONFIG:= CONFIG_TCG_TPM
  938. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
  939. AUTOLOAD:=$(call AutoLoad,10,tpm,1)
  940. endef
  941. define KernelPackage/tpm/description
  942. This enables TPM Hardware Support.
  943. endef
  944. $(eval $(call KernelPackage,tpm))
  945. define KernelPackage/tpm-tis
  946. SUBMENU:=$(OTHER_MENU)
  947. TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
  948. DEPENDS:= @TARGET_x86 +kmod-tpm
  949. KCONFIG:= CONFIG_TCG_TIS
  950. FILES:= \
  951. $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
  952. $(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
  953. AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
  954. endef
  955. define KernelPackage/tpm-tis/description
  956. If you have a TPM security chip that is compliant with the
  957. TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
  958. specification (TPM2.0) say Yes and it will be accessible from
  959. within Linux.
  960. endef
  961. $(eval $(call KernelPackage,tpm-tis))
  962. define KernelPackage/tpm-i2c-atmel
  963. SUBMENU:=$(OTHER_MENU)
  964. TITLE:=TPM I2C Atmel Support
  965. DEPENDS:= +kmod-tpm +kmod-i2c-core
  966. KCONFIG:= CONFIG_TCG_TIS_I2C_ATMEL
  967. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_atmel.ko
  968. AUTOLOAD:=$(call AutoLoad,40,tpm_i2c_atmel,1)
  969. endef
  970. define KernelPackage/tpm-i2c-atmel/description
  971. This enables the TPM Interface Specification 1.2 Interface (I2C - Atmel)
  972. endef
  973. $(eval $(call KernelPackage,tpm-i2c-atmel))
  974. define KernelPackage/tpm-i2c-infineon
  975. SUBMENU:=$(OTHER_MENU)
  976. TITLE:= TPM I2C Infineon driver
  977. DEPENDS:= +kmod-tpm +kmod-i2c-core
  978. KCONFIG:= CONFIG_TCG_TIS_I2C_INFINEON
  979. FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_i2c_infineon.ko
  980. AUTOLOAD:= $(call AutoLoad,40,tpm_i2c_infineon,1)
  981. endef
  982. define KernelPackage/tpm-i2c-infineon/description
  983. This enables the TPM Interface Specification 1.2 Interface (I2C - Infineon)
  984. endef
  985. $(eval $(call KernelPackage,tpm-i2c-infineon))
  986. define KernelPackage/i6300esb-wdt
  987. SUBMENU:=$(OTHER_MENU)
  988. TITLE:=Intel 6300ESB Timer/Watchdog
  989. DEPENDS:=@PCI_SUPPORT @!SMALL_FLASH
  990. KCONFIG:=CONFIG_I6300ESB_WDT \
  991. CONFIG_WATCHDOG_CORE=y
  992. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/i6300esb.ko
  993. AUTOLOAD:=$(call AutoLoad,50,i6300esb,1)
  994. endef
  995. define KernelPackage/i6300esb-wdt/description
  996. Kernel module for the watchdog timer built into the Intel
  997. 6300ESB controller hub. Also used by QEMU/libvirt.
  998. endef
  999. $(eval $(call KernelPackage,i6300esb-wdt))
  1000. define KernelPackage/mhi-bus
  1001. SUBMENU:=$(OTHER_MENU)
  1002. TITLE:=MHI bus
  1003. KCONFIG:=CONFIG_MHI_BUS \
  1004. CONFIG_MHI_BUS_DEBUG=y
  1005. FILES:=$(LINUX_DIR)/drivers/bus/mhi/host/mhi.ko
  1006. AUTOLOAD:=$(call AutoProbe,mhi)
  1007. endef
  1008. define KernelPackage/mhi-bus/description
  1009. Kernel module for the Qualcomm MHI bus.
  1010. endef
  1011. $(eval $(call KernelPackage,mhi-bus))
  1012. define KernelPackage/mhi-pci-generic
  1013. SUBMENU:=$(OTHER_MENU)
  1014. TITLE:=MHI PCI controller driver
  1015. DEPENDS:=@PCI_SUPPORT +kmod-mhi-bus
  1016. KCONFIG:=CONFIG_MHI_BUS_PCI_GENERIC
  1017. FILES:=$(LINUX_DIR)/drivers/bus/mhi/host/mhi_pci_generic.ko
  1018. AUTOLOAD:=$(call AutoProbe,mhi_pci_generic)
  1019. endef
  1020. define KernelPackage/mhi-pci-generic/description
  1021. Kernel module for the MHI PCI controller driver.
  1022. endef
  1023. $(eval $(call KernelPackage,mhi-pci-generic))