From: Janusz Dziedzic Date: Tue, 24 Sep 2024 10:21:52 +0000 (+0200) Subject: mac80211: ath12k: add PCI_SUPPORT dependency X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bffcc3c775629a24dae2a1bcbde998a66f4d83db;p=openwrt%2Fstaging%2Fxback.git mac80211: ath12k: add PCI_SUPPORT dependency Always depend on PCI and don't build on platforms without PCI. Signed-off-by: Janusz Dziedzic Link: https://github.com/openwrt/openwrt/pull/16475 Signed-off-by: Robert Marko --- diff --git a/package/kernel/mac80211/ath.mk b/package/kernel/mac80211/ath.mk index f56fd7a961..eecaef4588 100644 --- a/package/kernel/mac80211/ath.mk +++ b/package/kernel/mac80211/ath.mk @@ -360,7 +360,7 @@ define KernelPackage/ath12k $(call KernelPackage/mac80211/Default) TITLE:=Qualcomm 802.11be wireless chipset support URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath12k - DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \ + DEPENDS+= @PCI_SUPPORT +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \ +kmod-crypto-michael-mic +kmod-qrtr-mhi \ +kmod-qcom-qmi-helpers FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath12k/ath12k.ko