kernel: netdevices: disable ice build for apm821xx target

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 4637533b95)
This commit is contained in:
Tianling Shen
2024-02-08 19:53:32 +08:00
parent 21b89bff23
commit c520ea6730
2 changed files with 6 additions and 2 deletions

View File

@ -913,8 +913,11 @@ $(eval $(call KernelPackage,iavf))
define KernelPackage/ice
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) Ethernet Controller E810 Series support
DEPENDS:=@PCI_SUPPORT +kmod-ptp
KCONFIG:=CONFIG_ICE
DEPENDS:=@PCI_SUPPORT +kmod-ptp @!TARGET_apm821xx
KCONFIG:=\
CONFIG_ICE \
CONFIG_ICE_HWTS=y \
CONFIG_ICE_SWITCHDEV=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ice/ice.ko
AUTOLOAD:=$(call AutoProbe,ice)
endef

View File

@ -513,6 +513,7 @@ endef
$(eval $(call KernelPackage,ipt-nat))
define KernelPackage/ipt-raw
TITLE:=Netfilter IPv4 raw table support
KCONFIG:=CONFIG_IP_NF_RAW