[openwrt/openwrt] kernel: crypto: add kmod-crypto-geniv as dependency to modules that use it

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 11 12:18:05 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/729ad2feb32b70e9060073c29e3feedc5f6c418a

commit 729ad2feb32b70e9060073c29e3feedc5f6c418a
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Thu Mar 7 15:08:27 2024 +0100

    kernel: crypto: add kmod-crypto-geniv as dependency to modules that use it
    
    Now that geniv is packaged separately for kernel 6.6, we need to add it
    as a dependency to kmod-crypto-seqiv and kmod-crypto-echainiv that require
    it under kernel 6.6.
    
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 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 36b03bcdef..49882c58df 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -231,7 +231,7 @@ $(eval $(call KernelPackage,crypto-ecdh))
 
 define KernelPackage/crypto-echainiv
   TITLE:=Encrypted Chain IV Generator
-  DEPENDS:=+kmod-crypto-aead
+  DEPENDS:=+kmod-crypto-aead +LINUX_6_6:kmod-crypto-geniv
   KCONFIG:=CONFIG_CRYPTO_ECHAINIV
   FILES:=$(LINUX_DIR)/crypto/echainiv.ko
   AUTOLOAD:=$(call AutoLoad,09,echainiv)
@@ -906,7 +906,7 @@ $(eval $(call KernelPackage,crypto-geniv))
 
 define KernelPackage/crypto-seqiv
   TITLE:=CryptoAPI Sequence Number IV Generator
-  DEPENDS:=+kmod-crypto-aead +kmod-crypto-rng
+  DEPENDS:=+kmod-crypto-aead +kmod-crypto-rng +LINUX_6_6:kmod-crypto-geniv
   KCONFIG:=CONFIG_CRYPTO_SEQIV
   FILES:=$(LINUX_DIR)/crypto/seqiv.ko
   AUTOLOAD:=$(call AutoLoad,09,seqiv)




More information about the lede-commits mailing list