marvell.mk 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. PKG_DRIVERS += \
  2. libertas-sdio libertas-usb libertas-spi \
  3. mwl8k mwifiex-pcie mwifiex-sdio
  4. config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
  5. config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
  6. config-$(call config_package,libertas-spi) += LIBERTAS LIBERTAS_SPI
  7. config-$(call config_package,mwl8k) += MWL8K
  8. config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
  9. config-$(call config_package,mwifiex-sdio) += MWIFIEX MWIFIEX_SDIO
  10. define KernelPackage/libertas-usb
  11. $(call KernelPackage/mac80211/Default)
  12. DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 +@DRIVER_WEXT_SUPPORT +libertas-usb-firmware
  13. TITLE:=Marvell 88W8015 Wireless Driver
  14. DEFAULT:=n
  15. FILES:= \
  16. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
  17. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/usb8xxx.ko
  18. AUTOLOAD:=$(call AutoProbe,libertas usb8xxx)
  19. endef
  20. define KernelPackage/libertas-sdio
  21. $(call KernelPackage/mac80211/Default)
  22. DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware
  23. TITLE:=Marvell 88W8686 Wireless Driver
  24. DEFAULT:=n
  25. FILES:= \
  26. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
  27. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_sdio.ko
  28. AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio)
  29. endef
  30. define KernelPackage/libertas-spi
  31. $(call KernelPackage/mac80211/Default)
  32. SUBMENU:=Wireless Drivers
  33. DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-spi-firmware
  34. DEFAULT:=n
  35. KCONFIG := \
  36. CONFIG_SPI=y \
  37. CONFIG_SPI_MASTER=y
  38. TITLE:=Marvell 88W8686 SPI Wireless Driver
  39. FILES:= \
  40. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
  41. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_spi.ko
  42. AUTOLOAD:=$(call AutoProbe,libertas libertas_spi)
  43. endef
  44. define KernelPackage/mwl8k
  45. $(call KernelPackage/mac80211/Default)
  46. TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
  47. URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwl8k
  48. DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwl8k-firmware
  49. FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwl8k.ko
  50. AUTOLOAD:=$(call AutoProbe,mwl8k)
  51. endef
  52. define KernelPackage/mwl8k/description
  53. Kernel modules for Marvell TOPDOG 802.11 Wireless cards
  54. endef
  55. define KernelPackage/mwifiex-pcie
  56. $(call KernelPackage/mac80211/Default)
  57. TITLE:=Driver for Marvell 802.11n/802.11ac PCIe Wireless cards
  58. URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
  59. DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-pcie-firmware
  60. FILES:= \
  61. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
  62. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_pcie.ko
  63. AUTOLOAD:=$(call AutoProbe,mwifiex_pcie)
  64. endef
  65. define KernelPackage/mwifiex-pcie/description
  66. Kernel modules for Marvell 802.11n/802.11ac PCIe Wireless cards
  67. endef
  68. define KernelPackage/mwifiex-sdio
  69. $(call KernelPackage/mac80211/Default)
  70. TITLE:=Driver for Marvell 802.11n/802.11ac SDIO Wireless cards
  71. URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
  72. DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-sdio-firmware
  73. FILES:= \
  74. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
  75. $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko
  76. AUTOLOAD:=$(call AutoProbe,mwifiex_sdio)
  77. endef
  78. define KernelPackage/mwifiex-sdio/description
  79. Kernel modules for Marvell 802.11n/802.11ac SDIO Wireless cards
  80. endef