From 4e70d59c3b53db80fbec5bbc2df6ea8ff4c80aa6 Mon Sep 17 00:00:00 2001 From: makejian Date: Wed, 26 Jul 2023 21:09:43 +0800 Subject: [PATCH] crypto: reduce software algorithm size not compile the software algorithm file when CONFIG_CRYPTO_CRYPTODEV_SOFTWARE not set Signed-off-by: makejian --- crypto/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/Makefile b/crypto/Makefile index aae8be748f..c963f60c8d 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -30,7 +30,9 @@ CRYPTO_CSRCS += crypto.c testmngr.c ifeq ($(CONFIG_CRYPTO_CRYPTODEV),y) CRYPTO_CSRCS += cryptodev.c +ifeq ($(CONFIG_CRYPTO_CRYPTODEV_SOFTWARE),y) CRYPTO_CSRCS += cryptosoft.c +endif CRYPTO_CSRCS += xform.c CRYPTO_CSRCS += aes.c CRYPTO_CSRCS += blf.c