[RFC PATCH] tools: kwbimage: Allow to disable compilation of kwbimage on non-mvebu platforms

Pali Rohár pali at kernel.org
Mon Jun 27 10:00:26 CEST 2022


On Monday 27 June 2022 09:53:22 Alexander Dahl wrote:
> After migrating some boards from u-boot v2021.10 to v2022.01 I found this is 
> still an issue.  Build for example at91 board fails if CONFIG_TOOLS_LIBCRYPTO 
> is disabled and build host has no openssl headers installed.  
> (Error output below.)
> 
> Could anyone please have a look at this patch again?

Reviewing / accepting this patch is up to the u-boot maintainers, not
me. I just provided this patch as I think it could be useful.

> (Actually I don't need kwbimage for my target at all, why is it built for 
> platforms not needing it in the first place?)

This is because mkimage is generic tool which supports all image formats
supported by U-Boot. For example on x86 host it allows users to build
different ARM images, not only x86. I guess this is primary intended for
Linux distributions to support all U-Boot targets...


More information about the U-Boot mailing list