From: Petr Štetiar Date: Sun, 9 Apr 2023 06:29:26 +0000 (+0200) Subject: kernel: crypto: fix missing dependecies for CRYPTO_USER_API_ENABLE_OBSOLETE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=57392d63778b243c83f59c5e16436f4645b24a66;p=openwrt%2Fstaging%2Fsvanheule.git 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 --- 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 \