[PATCH 10/11] backports: lib-arc4: Do not build when activated in kernel

Hauke Mehrtens <[email protected]>
Newsgroups org.kernel.vger.backports
Message-ID <[email protected]>
Only build the own lib-arc4 version when it is not build as a module or
into the kernel. Without this change it was also build when
CRYPTO_LIB_ARC4 was build as a module in the kernel.

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 backport/compat/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index e462776e..3af729a3 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -175,6 +175,6 @@ config BPAUTO_CRYPTO_LIB_ARC4
 config BPAUTO_BUILD_CRYPTO_LIB_ARC4
 	bool
 	default y if BPAUTO_CRYPTO_LIB_ARC4
-	depends on KERNEL_4_20 || !CRYPTO_LIB_ARC4
+	depends on !(CRYPTO_LIB_ARC4=y || CRYPTO_LIB_ARC4=m)
 	#h-file crypto/arc4.h
 	#c-file lib/crypto/arc4.c
-- 
2.20.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.