aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/Makefile
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-03-16 07:04:28 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-03-16 07:04:28 +0000
commitf60113762adbf2cf3aab2c57e2559c61ab98cb18 (patch)
tree0dd321496c485076cd2156fa52b5ea4d34bbc2c0 /package/kernel/mac80211/Makefile
parent190cd817b0c1ed712496f6a69a82b45305048938 (diff)
downloadupstream-f60113762adbf2cf3aab2c57e2559c61ab98cb18.tar.gz
upstream-f60113762adbf2cf3aab2c57e2559c61ab98cb18.tar.bz2
upstream-f60113762adbf2cf3aab2c57e2559c61ab98cb18.zip
mac80211: include brcmfmac USB firmware only if support was enabled
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44808
Diffstat (limited to 'package/kernel/mac80211/Makefile')
-rw-r--r--package/kernel/mac80211/Makefile2
1 files changed, 2 insertions, 0 deletions
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))