[Buildroot] [PATCH 4/4] boot/uboot: bump to 2022.04

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon May 30 19:44:55 UTC 2022


Hello,

On Sat, 21 May 2022 14:38:44 +0200
Heiko Thiery <heiko.thiery at gmail.com> wrote:

> Since U-Boot 2022.04 a host dependency to gnutls is required.

Are you sure this is an unconditional dependency?

When I read tools/Makefile, I see:

HOSTLDLIBS_mkeficapsule += -lgnutls -luuid
hostprogs-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsule

so it's only configurations with CONFIG_TOOLS_MKEFICAPSULE=y that need
host-gnutls.

So unless I'm missing something, the host-gnutls dependency should not
be made a new mandatory dependency, and instead a "U-Boot needs
host-gnutls" option should be added, like
BR2_TARGET_UBOOT_NEEDS_OPENSSL.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list