[openwrt/openwrt] kernel: x86: Add glue_helper.ko only on kernel < 5.12
LEDE Commits
lede-commits at lists.infradead.org
Fri Oct 21 17:40:40 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b9b0407901f6518a0f5c4825208cff542f4b80cd
commit b9b0407901f6518a0f5c4825208cff542f4b80cd
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Oct 22 02:26:05 2022 +0200
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 <hauke at hauke-m.de>
---
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 at 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 at lt5.12 \
serpent-sse2-i586 twofish-i586 blowfish_generic)
endef
endif
More information about the lede-commits
mailing list