[openwrt/openwrt] mac80211: Do not build brcmsmac on bcm47xx_legacy

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 24 06:17:25 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cb7d662dac897dd7df6ba6ba60417db822bd68f2

commit cb7d662dac897dd7df6ba6ba60417db822bd68f2
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Dec 24 14:39:17 2022 +0100

    mac80211: Do not build brcmsmac on bcm47xx_legacy
    
    brcmsmac needs bcma. bcma is build into the kernel for the other bcm47xx
    subtargets, but not for the legacy target because it only uses ssb. We
    could build bcma as a module for bcm47xx_legacy, but none of these old
    devices uses a wifi card supported by brcsmac.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/mac80211/broadcom.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/mac80211/broadcom.mk b/package/kernel/mac80211/broadcom.mk
index 67599acbad..90167941c4 100644
--- a/package/kernel/mac80211/broadcom.mk
+++ b/package/kernel/mac80211/broadcom.mk
@@ -381,7 +381,7 @@ define KernelPackage/brcmsmac
   $(call KernelPackage/mac80211/Default)
   TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
   URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
-  DEPENDS+= +kmod-mac80211 +!TARGET_bcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil +!BRCMSMAC_USE_FW_FROM_WL:brcmsmac-firmware
+  DEPENDS+=@!TARGET_bcm47xx_legacy +kmod-mac80211 +!TARGET_bcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil +!BRCMSMAC_USE_FW_FROM_WL:brcmsmac-firmware
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko
   AUTOLOAD:=$(call AutoProbe,brcmsmac)
   MENU:=1




More information about the lede-commits mailing list