From: Hauke Mehrtens Date: Wed, 13 Mar 2024 19:24:23 +0000 (+0100) Subject: kernel: kmod-crypto-gf128: Fix build with kernel 6.6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c00fbba57c321fa5a1d063527f7e851aa30458ab;p=openwrt%2Fstaging%2Frmilecki.git kernel: kmod-crypto-gf128: Fix build with kernel 6.6 The gf128mul.ko module was moved in kernel 6.2: https://git.kernel.org/linus/61c581a46a9668747d355436bd4b2505594539bd Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index ea2a104335b..21b7aa51bd5 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -290,8 +290,12 @@ $(eval $(call KernelPackage,crypto-xcbc)) define KernelPackage/crypto-gf128 TITLE:=GF(2^128) multiplication functions CryptoAPI module - KCONFIG:=CONFIG_CRYPTO_GF128MUL - FILES:=$(LINUX_DIR)/crypto/gf128mul.ko + KCONFIG:= \ + CONFIG_CRYPTO_GF128MUL \ + CONFIG_CRYPTO_LIB_GF128MUL + FILES:= \ + $(LINUX_DIR)/crypto/gf128mul.ko@lt6.2 \ + $(LINUX_DIR)/lib/crypto/gf128mul.ko@ge6.2 AUTOLOAD:=$(call AutoLoad,09,gf128mul) $(call AddDepends/crypto) endef