From b9b0407901f6518a0f5c4825208cff542f4b80cd Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 22 Oct 2022 02:26:05 +0200 Subject: [PATCH] kernel: x86: Add glue_helper.ko only on kernel < 5.12 This module was removed with kernel 5.12. This fixes the build of the x86 target. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index f8af5f0a3b..83048e50d3 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -727,10 +727,10 @@ ifndef CONFIG_TARGET_x86_64 FILES+= \ $(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko \ $(LINUX_DIR)/arch/x86/crypto/serpent-sse2-i586.ko \ - $(LINUX_DIR)/arch/x86/crypto/glue_helper.ko \ + $(LINUX_DIR)/arch/x86/crypto/glue_helper.ko@lt5.12 \ $(LINUX_DIR)/crypto/cryptd.ko \ $(LINUX_DIR)/crypto/crypto_simd.ko - AUTOLOAD+= $(call AutoLoad,10,cryptd glue_helper \ + AUTOLOAD+= $(call AutoLoad,10,cryptd glue_helper@lt5.12 \ serpent-sse2-i586 twofish-i586 blowfish_generic) endef endif -- 2.30.2