From f94ba69770e5c5dc1342bf52657b3565b1a56e6d Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 5 Nov 2025 19:17:41 +0100 Subject: [PATCH] package/uboot-tools: add dependency to gnutls for mkeficapsule Buildroot commit 14a0169714cd5c35be40faadc066412f144bc1a6 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 [Julien: remove "https" in comment] Signed-off-by: Julien Olivain --- package/uboot-tools/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/uboot-tools/Config.in b/package/uboot-tools/Config.in index e8bbf3a16e..4ccef30973 100644 --- a/package/uboot-tools/Config.in +++ b/package/uboot-tools/Config.in @@ -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