summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-09-28 14:11:47 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-10-09 23:03:34 +0200
commitd611ecd9295eafa268b5a1390baabefcd5c980cd (patch)
tree2ae4bafd1feb94f1e291bcd6f5fdf302a476fc2d
parent787008a95b94c0666d562b8ed9a438fb54a197ac (diff)
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 <hauke@hauke-m.de>
-rw-r--r--backport/compat/Kconfig2
1 files changed, 1 insertions, 1 deletions
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