mac80211: brcmfmac: copy SDIO firmwares when CONFIG_BRCMFMAC_SDIO is selected
authorZoltan Herpai <wigyori@uid0.hu>
Sat, 9 Jan 2016 16:46:42 +0000 (16:46 +0000)
committerZoltan Herpai <wigyori@uid0.hu>
Sat, 9 Jan 2016 16:46:42 +0000 (16:46 +0000)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48162

package/kernel/mac80211/Makefile

index eb0f70c247e9aecdf1426a2129c2e7a2d862f7af..23b0d96d39a266d6f8c1c6b69f1e84b3f34efd9a 100644 (file)
@@ -1945,6 +1945,14 @@ ifneq ($(CONFIG_BRCMFMAC_PCIE),)
                $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43602-pcie.ap.bin \
                $(1)/lib/firmware/brcm/brcmfmac43602-pcie.bin
 endif
+ifneq ($(CONFIG_BRCMFMAC_SDIO),)
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac4329-sdio.bin \
+               $(1)/lib/firmware/brcm/brcmfmac4329-sdio.bin
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43362-sdio.bin \
+               $(1)/lib/firmware/brcm/brcmfmac43362-sdio.bin
+endif
 endef
 
 define KernelPackage/carl9170/install