kernel: kmod-ag71xx: Depend on ath79 only

The kernel driver configuration depends on ath79 or compile test and not
on PCI. Allow this package in OpenWrt only for the ath79 target.

Link: https://github.com/openwrt/openwrt/pull/19480
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2025-07-20 18:34:59 +02:00
parent aa04a5366c
commit 7b3e9b7bab
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ $(eval $(call KernelPackage,skge))
define KernelPackage/ag71xx
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Atheros AR7XXX/AR9XXX ethernet mac support
DEPENDS:=@PCI_SUPPORT||TARGET_ath79 +kmod-phylink +kmod-mdio-devres +kmod-net-selftests
DEPENDS:=@TARGET_ath79 +kmod-phylink +kmod-mdio-devres +kmod-net-selftests
KCONFIG:=CONFIG_AG71XX
FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/ag71xx.ko
AUTOLOAD:=$(call AutoLoad,50,ag71xx,1)