mac80211: rework memory allocation for software queueing patch
[oweals/openwrt.git] / package / kernel / mac80211 / Makefile
index 98aec09c85ed0ca413a203125c8d2a24fc71acb0..11c8bcfa1ae3be68cdeb740648749165ecd6033d 100644 (file)
@@ -60,7 +60,7 @@ define KernelPackage/mac80211/Default
   SUBMENU:=$(WMENU)
   URL:=https://wireless.wiki.kernel.org/
   MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
-  DEPENDS:=@(!TARGET_avr32||BROKEN)
+  DEPENDS:=@!TARGET_uml
 endef
 
 define KernelPackage/cfg80211
@@ -2010,6 +2010,11 @@ ifneq ($(CONFIG_BRCMFMAC_USB),)
                $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43143.bin \
                $(1)/lib/firmware/brcm/
 endif
+ifneq ($(CONFIG_BRCMFMAC_PCIE),)
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43602-pcie.ap.bin \
+               $(1)/lib/firmware/brcm/brcmfmac43602-pcie.bin
+endif
 endef
 
 $(eval $(call KernelPackage,adm8211))