other.mk 32 KB

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