[PATCH v1 2/2] tools: fix build without LIBCRYPTO support

Simon Glass sjg at chromium.org
Mon Jan 23 19:50:03 CET 2023


On Sat, 21 Jan 2023 at 08:48, Paul-Erwan Rio <paulerwan.rio at gmail.com> wrote:
>
> Commit <cb9faa6f98ae56d70d59505dad290dd3d381cb7b> introduced a
> target-independent configuration to build crypto features in host tools.
>
> But since commit <2c21256b27d70b5950bd059330cdab027fb6ab7e>, 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 at gmail.com>
> ---
>
>  include/image.h    | 2 +-
>  tools/Kconfig      | 1 +
>  tools/fit_image.c  | 2 +-
>  tools/image-host.c | 2 ++
>  tools/mkimage.c    | 5 +++--
>  5 files changed, 8 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

If we really want to avoid this sort of thing we should add a test in .gitlab

buildman -a ~CONFIG_TOOLS_FIT_SIGNATURE tools-only

or similar


More information about the U-Boot mailing list