mac80211: include brcmfmac USB firmware only if support was enabled

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44808 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Rafał Miłecki 2015-03-16 07:04:28 +00:00
parent b9d37ea08f
commit ccc7fc226c
1 changed files with 2 additions and 0 deletions

View File

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