other.mk 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. #
  2. # Copyright (C) 2006-2012 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/bluetooth
  10. SUBMENU:=$(OTHER_MENU)
  11. TITLE:=Bluetooth support
  12. DEPENDS:=@USB_SUPPORT +kmod-usb-core
  13. KCONFIG:= \
  14. CONFIG_BLUEZ \
  15. CONFIG_BLUEZ_L2CAP \
  16. CONFIG_BLUEZ_SCO \
  17. CONFIG_BLUEZ_RFCOMM \
  18. CONFIG_BLUEZ_BNEP \
  19. CONFIG_BLUEZ_HCIUART \
  20. CONFIG_BLUEZ_HCIUSB \
  21. CONFIG_BLUEZ_HIDP \
  22. CONFIG_BT \
  23. CONFIG_BT_L2CAP=y \
  24. CONFIG_BT_SCO=y \
  25. CONFIG_BT_RFCOMM \
  26. CONFIG_BT_BNEP \
  27. CONFIG_BT_HCIBTUSB \
  28. CONFIG_BT_HCIUSB \
  29. CONFIG_BT_HCIUART \
  30. CONFIG_BT_HCIUART_H4 \
  31. CONFIG_BT_HIDP \
  32. CONFIG_HID_SUPPORT=y
  33. $(call AddDepends/crc16)
  34. $(call AddDepends/hid)
  35. $(call AddDepends/rfkill)
  36. FILES:= \
  37. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  38. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  39. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  40. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  41. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  42. $(LINUX_DIR)/drivers/bluetooth/btusb.ko
  43. AUTOLOAD:=$(call AutoLoad,90,bluetooth rfcomm bnep hidp hci_uart btusb)
  44. endef
  45. define KernelPackage/bluetooth/description
  46. Kernel support for Bluetooth devices
  47. endef
  48. $(eval $(call KernelPackage,bluetooth))
  49. define KernelPackage/bluetooth-hci-h4p
  50. SUBMENU:=$(OTHER_MENU)
  51. TITLE:=HCI driver with H4 Nokia extensions
  52. DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
  53. KCONFIG:=CONFIG_BT_HCIH4P
  54. FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
  55. AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
  56. endef
  57. define KernelPackage/bluetooth-hci-h4p/description
  58. HCI driver with H4 Nokia extensions
  59. endef
  60. $(eval $(call KernelPackage,bluetooth-hci-h4p))
  61. define KernelPackage/eeprom-93cx6
  62. SUBMENU:=$(OTHER_MENU)
  63. TITLE:=EEPROM 93CX6 support
  64. KCONFIG:=CONFIG_EEPROM_93CX6
  65. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  66. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  67. endef
  68. define KernelPackage/eeprom-93cx6/description
  69. Kernel module for EEPROM 93CX6 support
  70. endef
  71. $(eval $(call KernelPackage,eeprom-93cx6))
  72. define KernelPackage/eeprom-at24
  73. SUBMENU:=$(OTHER_MENU)
  74. TITLE:=EEPROM AT24 support
  75. KCONFIG:=CONFIG_EEPROM_AT24
  76. DEPENDS:=+kmod-i2c-core
  77. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  78. AUTOLOAD:=$(call AutoLoad,60,at24)
  79. endef
  80. define KernelPackage/eeprom-at24/description
  81. Kernel module for most I2C EEPROMs
  82. endef
  83. $(eval $(call KernelPackage,eeprom-at24))
  84. define KernelPackage/eeprom-at25
  85. SUBMENU:=$(OTHER_MENU)
  86. TITLE:=EEPROM AT25 support
  87. KCONFIG:=CONFIG_EEPROM_AT25
  88. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  89. AUTOLOAD:=$(call AutoLoad,61,at25)
  90. endef
  91. define KernelPackage/eeprom-at25/description
  92. Kernel module for most SPI EEPROMs
  93. endef
  94. $(eval $(call KernelPackage,eeprom-at25))
  95. define KernelPackage/gpio-dev
  96. SUBMENU:=$(OTHER_MENU)
  97. TITLE:=Generic GPIO char device support
  98. DEPENDS:=@GPIO_SUPPORT
  99. KCONFIG:=CONFIG_GPIO_DEVICE
  100. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  101. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  102. endef
  103. define KernelPackage/gpio-dev/description
  104. Kernel module to allows control of GPIO pins using a character device.
  105. endef
  106. $(eval $(call KernelPackage,gpio-dev))
  107. define KernelPackage/gpio-nxp-74hc164
  108. SUBMENU:=$(OTHER_MENU)
  109. TITLE:=NXP 74HC164 GPIO expander support
  110. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  111. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  112. AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
  113. endef
  114. define KernelPackage/gpio-nxp-74hc164/description
  115. Kernel module for NXP 74HC164 GPIO expander
  116. endef
  117. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  118. define KernelPackage/lp
  119. SUBMENU:=$(OTHER_MENU)
  120. TITLE:=Parallel port and line printer support
  121. DEPENDS:=@BROKEN
  122. KCONFIG:= \
  123. CONFIG_PARPORT \
  124. CONFIG_PRINTER \
  125. CONFIG_PPDEV
  126. FILES:= \
  127. $(LINUX_DIR)/drivers/parport/parport.ko \
  128. $(LINUX_DIR)/drivers/char/lp.ko \
  129. $(LINUX_DIR)/drivers/char/ppdev.ko
  130. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  131. endef
  132. $(eval $(call KernelPackage,lp))
  133. define KernelPackage/mmc
  134. SUBMENU:=$(OTHER_MENU)
  135. TITLE:=MMC/SD Card Support
  136. KCONFIG:= \
  137. CONFIG_MMC \
  138. CONFIG_MMC_BLOCK \
  139. CONFIG_MMC_DEBUG=n \
  140. CONFIG_MMC_UNSAFE_RESUME=n \
  141. CONFIG_MMC_BLOCK_BOUNCE=y \
  142. CONFIG_MMC_SDHCI=n \
  143. CONFIG_MMC_TIFM_SD=n \
  144. CONFIG_MMC_WBSD=n \
  145. CONFIG_SDIO_UART=n
  146. FILES:= \
  147. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  148. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  149. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  150. endef
  151. define KernelPackage/mmc/description
  152. Kernel support for MMC/SD cards
  153. endef
  154. $(eval $(call KernelPackage,mmc))
  155. define KernelPackage/oprofile
  156. SUBMENU:=$(OTHER_MENU)
  157. TITLE:=OProfile profiling support
  158. KCONFIG:=CONFIG_OPROFILE
  159. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
  160. DEPENDS:=@KERNEL_PROFILING
  161. endef
  162. define KernelPackage/oprofile/description
  163. Kernel module for support for oprofile system profiling.
  164. endef
  165. $(eval $(call KernelPackage,oprofile))
  166. define KernelPackage/rfkill
  167. SUBMENU:=$(OTHER_MENU)
  168. TITLE:=RF switch subsystem support
  169. KCONFIG:= \
  170. CONFIG_RFKILL \
  171. CONFIG_RFKILL_INPUT=y \
  172. CONFIG_RFKILL_LEDS=y \
  173. CONFIG_RFKILL_GPIO=y
  174. FILES:= \
  175. $(LINUX_DIR)/net/rfkill/rfkill.ko
  176. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  177. $(call SetDepends/rfkill)
  178. endef
  179. define KernelPackage/rfkill/description
  180. Say Y here if you want to have control over RF switches
  181. found on many WiFi and Bluetooth cards.
  182. endef
  183. $(eval $(call KernelPackage,rfkill))
  184. define KernelPackage/softdog
  185. SUBMENU:=$(OTHER_MENU)
  186. TITLE:=Software watchdog driver
  187. KCONFIG:=CONFIG_SOFT_WATCHDOG
  188. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  189. AUTOLOAD:=$(call AutoLoad,50,softdog)
  190. endef
  191. define KernelPackage/softdog/description
  192. Software watchdog driver
  193. endef
  194. $(eval $(call KernelPackage,softdog))
  195. define KernelPackage/ssb
  196. SUBMENU:=$(OTHER_MENU)
  197. TITLE:=Silicon Sonics Backplane glue code
  198. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  199. KCONFIG:=\
  200. CONFIG_SSB \
  201. CONFIG_SSB_B43_PCI_BRIDGE=y \
  202. CONFIG_SSB_DRIVER_MIPS=n \
  203. CONFIG_SSB_DRIVER_PCICORE=y \
  204. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  205. CONFIG_SSB_PCIHOST=y \
  206. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  207. CONFIG_SSB_POSSIBLE=y \
  208. CONFIG_SSB_SPROM=y \
  209. CONFIG_SSB_SILENT=y
  210. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  211. AUTOLOAD:=$(call AutoLoad,29,ssb)
  212. endef
  213. define KernelPackage/ssb/description
  214. Silicon Sonics Backplane glue code.
  215. endef
  216. $(eval $(call KernelPackage,ssb))
  217. define KernelPackage/bcma
  218. SUBMENU:=$(OTHER_MENU)
  219. TITLE:=BCMA support
  220. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
  221. KCONFIG:=\
  222. CONFIG_BCMA \
  223. CONFIG_BCMA_POSSIBLE=y \
  224. CONFIG_BCMA_BLOCKIO=y \
  225. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  226. CONFIG_BCMA_HOST_PCI=y \
  227. CONFIG_BCMA_DRIVER_MIPS=n \
  228. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  229. CONFIG_BCMA_DRIVER_GMAC_CMN=n \
  230. CONFIG_BCMA_DEBUG=n
  231. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  232. AUTOLOAD:=$(call AutoLoad,29,bcma)
  233. endef
  234. define KernelPackage/bcma/description
  235. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
  236. endef
  237. $(eval $(call KernelPackage,bcma))
  238. define KernelPackage/wdt-omap
  239. SUBMENU:=$(OTHER_MENU)
  240. TITLE:=OMAP Watchdog timer
  241. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  242. KCONFIG:=CONFIG_OMAP_WATCHDOG
  243. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  244. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  245. endef
  246. define KernelPackage/wdt-omap/description
  247. Kernel module for TI omap watchdog timer.
  248. endef
  249. $(eval $(call KernelPackage,wdt-omap))
  250. define KernelPackage/wdt-orion
  251. SUBMENU:=$(OTHER_MENU)
  252. TITLE:=Marvell Orion Watchdog timer
  253. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
  254. KCONFIG:=CONFIG_ORION_WATCHDOG
  255. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  256. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  257. endef
  258. define KernelPackage/wdt-orion/description
  259. Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer.
  260. endef
  261. $(eval $(call KernelPackage,wdt-orion))
  262. define KernelPackage/booke-wdt
  263. SUBMENU:=$(OTHER_MENU)
  264. TITLE:=PowerPC Book-E Watchdog Timer
  265. DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
  266. KCONFIG:=CONFIG_BOOKE_WDT
  267. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
  268. AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
  269. endef
  270. define KernelPackage/booke-wdt/description
  271. Kernel module for PowerPC Book-E Watchdog Timer.
  272. endef
  273. $(eval $(call KernelPackage,booke-wdt))
  274. define KernelPackage/pwm
  275. SUBMENU:=$(OTHER_MENU)
  276. TITLE:=PWM generic API
  277. KCONFIG:=CONFIG_GENERIC_PWM
  278. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  279. AUTOLOAD:=$(call AutoLoad,50,pwm)
  280. endef
  281. define KernelPackage/pwm/description
  282. Kernel module that implement a generic PWM API
  283. endef
  284. $(eval $(call KernelPackage,pwm))
  285. define KernelPackage/pwm-gpio
  286. SUBMENU:=$(OTHER_MENU)
  287. TITLE:=PWM over GPIO
  288. DEPENDS:=+kmod-pwm
  289. KCONFIG:=CONFIG_GPIO_PWM
  290. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  291. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  292. endef
  293. define KernelPackage/pwm-gpio/description
  294. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  295. endef
  296. $(eval $(call KernelPackage,pwm-gpio))
  297. define KernelPackage/rtc-isl1208
  298. SUBMENU:=$(OTHER_MENU)
  299. TITLE:=Intersil ISL1208 RTC support
  300. $(call AddDepends/rtc)
  301. DEPENDS+=+kmod-i2c-core
  302. KCONFIG:=CONFIG_RTC_DRV_ISL1208
  303. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
  304. AUTOLOAD:=$(call AutoLoad,60,rtc-isl1208)
  305. endef
  306. define KernelPackage/rtc-isl1208/description
  307. Kernel module for Intersil ISL1208 RTC.
  308. endef
  309. $(eval $(call KernelPackage,rtc-isl1208))
  310. define KernelPackage/rtc-marvell
  311. SUBMENU:=$(OTHER_MENU)
  312. TITLE:=Marvell SoC built-in RTC support
  313. $(call AddDepends/rtc)
  314. DEPENDS+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu
  315. KCONFIG:=CONFIG_RTC_DRV_MV
  316. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
  317. AUTOLOAD:=$(call AutoLoad,60,rtc-mv)
  318. endef
  319. define KernelPackage/rtc-marvell/description
  320. Kernel module for Marvell SoC built-in RTC.
  321. endef
  322. $(eval $(call KernelPackage,rtc-marvell))
  323. define KernelPackage/rtc-pcf8563
  324. SUBMENU:=$(OTHER_MENU)
  325. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  326. $(call AddDepends/rtc)
  327. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  328. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  329. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
  330. endef
  331. define KernelPackage/rtc-pcf8563/description
  332. Kernel module for Philips PCF8563 RTC chip.
  333. The Epson RTC8564 should work as well.
  334. endef
  335. $(eval $(call KernelPackage,rtc-pcf8563))
  336. define KernelPackage/rtc-pcf2123
  337. SUBMENU:=$(OTHER_MENU)
  338. TITLE:=Philips PCF2123 RTC support
  339. $(call AddDepends/rtc)
  340. KCONFIG:=CONFIG_RTC_DRV_PCF2123
  341. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
  342. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
  343. endef
  344. define KernelPackage/rtc-pcf2123/description
  345. Kernel module for Philips PCF2123 RTC chip.
  346. endef
  347. $(eval $(call KernelPackage,rtc-pcf2123))
  348. define KernelPackage/rtc-pt7c4338
  349. SUBMENU:=$(OTHER_MENU)
  350. TITLE:=Pericom PT7C4338 RTC support
  351. $(call AddDepends/rtc,+kmod-i2c-core)
  352. KCONFIG:=CONFIG_RTC_DRV_PT7C4338
  353. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
  354. AUTOLOAD:=$(call AutoLoad,60,rtc-pt7c4338)
  355. endef
  356. define KernelPackage/rtc-pt7c4338/description
  357. Kernel module for Pericom PT7C4338 i2c RTC chip.
  358. endef
  359. $(eval $(call KernelPackage,rtc-pt7c4338))
  360. define KernelPackage/mtdtests
  361. SUBMENU:=$(OTHER_MENU)
  362. TITLE:=MTD subsystem tests
  363. KCONFIG:=CONFIG_MTD_TESTS
  364. FILES:=\
  365. $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
  366. $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
  367. $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
  368. $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
  369. $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
  370. $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
  371. $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
  372. $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
  373. endef
  374. define KernelPackage/mtdtests/description
  375. Kernel modules for MTD subsystem/driver testing.
  376. endef
  377. $(eval $(call KernelPackage,mtdtests))
  378. define KernelPackage/nand
  379. SUBMENU:=$(OTHER_MENU)
  380. TITLE:=NAND flash support
  381. KCONFIG:=CONFIG_MTD_NAND \
  382. CONFIG_MTD_NAND_IDS \
  383. CONFIG_MTD_NAND_ECC
  384. FILES:= \
  385. $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
  386. $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
  387. $(LINUX_DIR)/drivers/mtd/nand/nand.ko
  388. AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
  389. endef
  390. define KernelPackage/nand/description
  391. Kernel module for NAND support.
  392. endef
  393. $(eval $(call KernelPackage,nand))
  394. define KernelPackage/nandsim
  395. SUBMENU:=$(OTHER_MENU)
  396. TITLE:=NAND simulator
  397. DEPENDS:=+kmod-nand
  398. KCONFIG:=CONFIG_MTD_NAND_NANDSIM
  399. FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
  400. endef
  401. define KernelPackage/nandsim/description
  402. Kernel module for NAND flash simulation.
  403. endef
  404. $(eval $(call KernelPackage,nandsim))
  405. define KernelPackage/serial-8250
  406. SUBMENU:=$(OTHER_MENU)
  407. TITLE:=8250 UARTs
  408. KCONFIG:= CONFIG_SERIAL_8250 \
  409. CONFIG_SERIAL_8250_NR_UARTS=16 \
  410. CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
  411. CONFIG_SERIAL_8250_EXTENDED=y \
  412. CONFIG_SERIAL_8250_MANY_PORTS=y \
  413. CONFIG_SERIAL_8250_SHARE_IRQ=y \
  414. CONFIG_SERIAL_8250_DETECT_IRQ=n \
  415. CONFIG_SERIAL_8250_RSA=n
  416. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),_core).ko
  417. endef
  418. define KernelPackage/serial-8250/description
  419. Kernel module for 8250 UART based serial ports.
  420. endef
  421. $(eval $(call KernelPackage,serial-8250))
  422. define KernelPackage/regmap
  423. SUBMENU:=$(OTHER_MENU)
  424. TITLE:=Generic register map support
  425. DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
  426. KCONFIG:=CONFIG_REGMAP \
  427. CONFIG_REGMAP_SPI \
  428. CONFIG_REGMAP_I2C \
  429. CONFIG_SPI=y
  430. FILES:= \
  431. $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
  432. $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
  433. $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
  434. AUTOLOAD:=$(call AutoLoad,10,regmap-core regmap-i2c regmap-spi)
  435. endef
  436. define KernelPackage/regmap/description
  437. Generic register map support
  438. endef
  439. $(eval $(call KernelPackage,regmap))
  440. define KernelPackage/ikconfig
  441. SUBMENU:=$(OTHER_MENU)
  442. TITLE:=Kernel configuration via /proc/config.gz
  443. KCONFIG:=CONFIG_IKCONFIG \
  444. CONFIG_IKCONFIG_PROC=y
  445. FILES:=$(LINUX_DIR)/kernel/configs.ko
  446. AUTOLOAD:=$(call AutoLoad,70,configs)
  447. endef
  448. define KernelPackage/ikconfig/description
  449. Kernel configuration via /proc/config.gz
  450. endef
  451. $(eval $(call KernelPackage,ikconfig))
  452. define KernelPackage/zram
  453. SUBMENU:=$(OTHER_MENU)
  454. TITLE:=ZRAM
  455. DEPENDS:=@!LINUX_3_3 +kmod-lib-lzo
  456. KCONFIG:= \
  457. CONFIG_ZSMALLOC \
  458. CONFIG_ZRAM \
  459. CONFIG_ZRAM_DEBUG=n
  460. FILES:= \
  461. $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \
  462. $(LINUX_DIR)/drivers/staging/zram/zram.ko
  463. AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
  464. endef
  465. define KernelPackage/zram/description
  466. Compressed RAM block device support
  467. endef
  468. $(eval $(call KernelPackage,zram))
  469. define KernelPackage/mvsdio
  470. SUBMENU:=$(OTHER_MENU)
  471. TITLE:=Marvell SDIO support
  472. DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
  473. KCONFIG:=CONFIG_MMC_MVSDIO
  474. FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
  475. AUTOLOAD:=$(call AutoLoad,91,mvsdio)
  476. endef
  477. define KernelPacakge/mvsdio/description
  478. Kernel support for the Marvell SDIO controller
  479. endef
  480. $(eval $(call KernelPackage,mvsdio))