From d611ecd9295eafa268b5a1390baabefcd5c980cd Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 28 Sep 2019 14:11:47 +0200 Subject: backports: lib-arc4: Do not build when activated in kernel 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 --- 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 -- cgit v1.2.3