From f60113762adbf2cf3aab2c57e2559c61ab98cb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Mon, 16 Mar 2015 07:04:28 +0000 Subject: mac80211: include brcmfmac USB firmware only if support was enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki SVN-Revision: 44808 --- package/kernel/mac80211/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 60dfb748d0..589b0cb1bd 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -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)) -- cgit v1.2.3