package/uboot-tools: add dependency to gnutls for mkeficapsule

Buildroot commit 14a0169714 added gnutls
as dependency to BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE in uboot-tools.mk
without adding the dependency and its reverse dependencies to the
Config.in causing a build error:

Makefile:578: *** gnutls is in the dependency chain of uboot-tools that
 has added it to its _DEPENDENCIES variable without selecting it or
 depending on it from Config.in.  Stop.

Fixes:
https://autobuild.buildroot.net/results/39d/39db5ae9aad95e4976c3d8a40aca95b26568f8ea/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: remove "https" in comment]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-11-05 19:17:41 +01:00
committed by Julien Olivain
parent 885f452df1
commit f94ba69770

View File

@@ -68,12 +68,17 @@ config BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE
config BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE
bool "mkeficapsule"
depends on !BR2_STATIC_LIBS # gnutls
depends on BR2_USE_WCHAR # gnutls
help
Install the mkeficapsule tool on the target system
The mkeficapsule tool from Das U-Boot bootloader, which allows
generation of UEFI capsule binaries.
comment "mkeficapsule support needs a toolchain w/ wchar, dynamic library"
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
config BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE
bool "mkenvimage"
help