]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: fix build without LIBCRYPTO support
authorPaul-Erwan Rio <paulerwan.rio@gmail.com>
Thu, 21 Dec 2023 07:26:11 +0000 (08:26 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jan 2024 03:09:11 +0000 (22:09 -0500)
commit03e598263e3878b6f5d58f5525577903edadc644
tree22ac5da5ccb9298e7046389802af067937c23ac9
parentb646a1053fda188bfb054acc98aa73bb23b158b1
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>
include/image.h
tools/Kconfig
tools/fit_image.c
tools/image-host.c
tools/mkimage.c