mac80211: include brcmfmac USB firmware only if support was enabled

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44808
This commit is contained in:
Rafał Miłecki 2015-03-16 07:04:28 +00:00
parent 190cd817b0
commit f60113762a

View file

@ -2002,12 +2002,14 @@ endef
define KernelPackage/brcmfmac/install define KernelPackage/brcmfmac/install
$(INSTALL_DIR) $(1)/lib/firmware/brcm $(INSTALL_DIR) $(1)/lib/firmware/brcm
ifneq ($(CONFIG_BRCMFMAC_USB),)
$(INSTALL_DATA) \ $(INSTALL_DATA) \
$(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \ $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \
$(1)/lib/firmware/brcm/ $(1)/lib/firmware/brcm/
$(INSTALL_DATA) \ $(INSTALL_DATA) \
$(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43143.bin \ $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43143.bin \
$(1)/lib/firmware/brcm/ $(1)/lib/firmware/brcm/
endif
endef endef
$(eval $(call KernelPackage,adm8211)) $(eval $(call KernelPackage,adm8211))