other.mk 34 KB

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