batman-adv: drop kmod-lib-crc32c on newer kernels

This patch makes the dependency on kmod-lib-crc32c for the batman-adv package conditional: it is only required for Linux kernel 6.12. For kernel 6.18 and newer, the dependency is no longer needed. This prevents installing unnecessary modules on newer kernels.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@poczta.onet.pl>
This commit is contained in:
Mieczyslaw Nalewaj
2026-03-03 20:24:14 +01:00
committed by GitHub
parent 7c432d2e09
commit 52ba65e168

View File

@@ -34,7 +34,7 @@ define KernelPackage/batman-adv
SUBMENU:=Network Support
TITLE:=B.A.T.M.A.N. Adv
URL:=https://www.open-mesh.org/
DEPENDS:=+BATMAN_ADV_BLA:kmod-lib-crc16 +kmod-lib-crc32c +kmod-cfg80211 +batctl
DEPENDS:=+BATMAN_ADV_BLA:kmod-lib-crc16 +LINUX_6_12:kmod-lib-crc32c +kmod-cfg80211 +batctl
FILES:=$(PKG_BUILD_DIR)/net/batman-adv/batman-adv.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoProbe,batman-adv)
endef