Browse Source

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 <[email protected]>
Hauke Mehrtens 3 years ago
parent
commit
b9b0407901
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/kernel/linux/modules/crypto.mk

+ 2 - 2
package/kernel/linux/modules/crypto.mk

@@ -727,10 +727,10 @@ ifndef CONFIG_TARGET_x86_64
     FILES+= \
     FILES+= \
 	$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko \
 	$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko \
 	$(LINUX_DIR)/arch/x86/crypto/serpent-sse2-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/cryptd.ko \
 	$(LINUX_DIR)/crypto/crypto_simd.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)
 	serpent-sse2-i586 twofish-i586 blowfish_generic)
   endef
   endef
 endif
 endif