Build with CONFIG_TOOLS_LIBCRYPTO disabled is broken

Tom Rini trini at konsulko.com
Wed Jul 27 15:08:56 CEST 2022


On Tue, Jul 26, 2022 at 10:27:01AM +0200, Alexander Dahl wrote:
> Hei hei,
> 
> once again I tried building U-Boot with CONFIG_TOOLS_LIBCRYPTO disabled and 
> with no libssl-dev installed on the build machine. It does not work. 
> 
> Even porting the patch disabling the build with kwbimage (see links below) 
> does not help anymore, because since commit 6e052d1cbafb ("mkimage: add public 
> key for image pre-load stage") there's a new hard dependency on host openssl 
> in tools/image-host.c and the corresponding kconfig symbol CONFIG_TOOLS_FIT 
> can not be disabled through menuconfig.
> 
> Just read those discussions again, but not sure what can be done to proceed 
> here? Can I help somehow?

I think we need a new patch that guards the new functions / calls under
CONFIG_TOOLS_LIBCRYPTO and then a new CI job that removes libssl-dev
before building tools-only so we don't re-introduce the problem is what
we need to move forward here.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220727/2b6d8060/attachment.sig>


More information about the U-Boot mailing list