[openwrt/openwrt] kernel: crypto: fix missing dependecies for CRYPTO_USER_API_ENABLE_OBSOLETE

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 9 22:37:59 PDT 2023


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/57392d63778b243c83f59c5e16436f4645b24a66

commit 57392d63778b243c83f59c5e16436f4645b24a66
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Sun Apr 9 08:29:26 2023 +0200

    kernel: crypto: fix missing dependecies for CRYPTO_USER_API_ENABLE_OBSOLETE
    
    CRYPTO_USER_API_ENABLE_OBSOLETE config symbol depends on CRYPTO_USER so
    lets add this dependency to relevant modules.
    
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 package/kernel/linux/modules/crypto.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 04499f5f5f..4950b94c62 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -52,6 +52,7 @@ $(eval $(call KernelPackage,crypto-aead))
 
 define KernelPackage/crypto-arc4
   TITLE:=ARC4 cipher CryptoAPI module
+  DEPENDS:=+kmod-crypto-user
   KCONFIG:= \
 	  CONFIG_CRYPTO_ARC4 \
 	  CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y
@@ -678,7 +679,7 @@ $(eval $(call KernelPackage,crypto-michael-mic))
 
 define KernelPackage/crypto-misc
   TITLE:=Other CryptoAPI modules
-  DEPENDS:=+kmod-crypto-xts
+  DEPENDS:=+kmod-crypto-xts +kmod-crypto-user
   KCONFIG:= \
 	CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y \
 	CONFIG_CRYPTO_CAMELLIA_X86_64 \




More information about the lede-commits mailing list