aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
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
commitccc7fc226c86369f9ec259d1d7dd02c95737c950 (patch)
treeb85d65d017f7531625effa5a988d67f9a8eeb52d /package/kernel/mac80211
parentb9d37ea08fb05230449f3cc79e5fa5c4d50264fc (diff)
downloadupstream-ccc7fc226c86369f9ec259d1d7dd02c95737c950.tar.gz
upstream-ccc7fc226c86369f9ec259d1d7dd02c95737c950.tar.bz2
upstream-ccc7fc226c86369f9ec259d1d7dd02c95737c950.zip
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
Diffstat (limited to 'package/kernel/mac80211')
-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))