kernel: crypto: fix missing dependecies for CRYPTO_USER_API_ENABLE_OBSOLETE
authorPetr Štetiar <ynezz@true.cz>
Sun, 9 Apr 2023 06:29:26 +0000 (08:29 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 10 Apr 2023 05:36:33 +0000 (07:36 +0200)
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@true.cz>
package/kernel/linux/modules/crypto.mk

index 04499f5f5fa5fdf37eefe1fc78cfd4562fe3c383..4950b94c62d019365e918a678b7785aeba2b0f98 100644 (file)
@@ -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 \