aboutsummaryrefslogtreecommitdiff
path: root/tools/Kconfig
diff options
context:
space:
mode:
authorPaul-Erwan Rio2023-12-21 08:26:11 +0100
committerTom Rini2024-01-11 22:09:11 -0500
commit03e598263e3878b6f5d58f5525577903edadc644 (patch)
tree22ac5da5ccb9298e7046389802af067937c23ac9 /tools/Kconfig
parentb646a1053fda188bfb054acc98aa73bb23b158b1 (diff)
tools: fix build without LIBCRYPTO support
Commit cb9faa6f98ae ("tools: Use a single target-independent config to enable OpenSSL") introduced a target-independent configuration to build crypto features in host tools. But since commit 2c21256b27d7 ("hash: Use Kconfig to enable hashing in host tools and SPL") the build without OpenSSL is broken, due to FIT signature/encryption features. Add missing conditional compilation tokens to fix this. Signed-off-by: Paul-Erwan Rio <paulerwan.rio@gmail.com> Tested-by: Alexander Dahl <ada@thorsis.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/Kconfig')
-rw-r--r--tools/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Kconfig b/tools/Kconfig
index f8632cd59d0..f01ed783e6f 100644
--- a/tools/Kconfig
+++ b/tools/Kconfig
@@ -51,6 +51,7 @@ config TOOLS_FIT_RSASSA_PSS
Support the rsassa-pss signature scheme in the tools builds
config TOOLS_FIT_SIGNATURE
+ depends on TOOLS_LIBCRYPTO
def_bool y
help
Enable signature verification of FIT uImages in the tools builds