kernel: modules: 6.18: update module file

Wrap the crc32c dependency in !LINUX_6_18 to allow the package to
build correctly on 6.18-based targets.

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/21078
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
John Audia 2026-02-05 15:13:15 -05:00 committed by Robert Marko
parent dc0389172b
commit 8c6e25fd90

View File

@ -5,7 +5,7 @@
define KernelPackage/amd-xgbe
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=AMD Ethernet on SoC support
DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +kmod-mdio-devres
DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +!LINUX_6_18:kmod-lib-crc32c +kmod-ptp +kmod-libphy +kmod-mdio-devres
KCONFIG:= \
CONFIG_AMD_XGBE \
CONFIG_AMD_XGBE_DCB=y