On Thu, 20 Aug 2026 at 10:26, Heinrich Schuchardt <
[email protected]> wrote:

> Currently we build mkeficapsule by default even if we don't have EFI
> capsule support enabled. This adds a host GnuTLS build dependency.
>
> Only build mkeficapsule by default if CONFIG_EFI_HAVE_CAPSULE_SUPPORT=y.
>
> tools-only_defconfig explicitly selects CONFIG_TOOLS_MKEFICAPSULE=y.
> Hence distro packages like Debian's u-boot-tools will still contain
> mkeficapsule.
>
> Reported-by: Linus Walleij <[email protected]>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
>

 Reviewed-by: Ilias Apalodimas <[email protected]>

> ---
>  tools/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/Kconfig b/tools/Kconfig
> index ef33295b8ec..e151b30217e 100644
> --- a/tools/Kconfig
> +++ b/tools/Kconfig
> @@ -108,7 +108,7 @@ config TOOLS_SHA512
>
>  config TOOLS_MKEFICAPSULE
>         bool "Build efimkcapsule command"
> -       default y if EFI_LOADER
> +       default y if EFI_HAVE_CAPSULE_SUPPORT
>         help
>           This command allows users to create a UEFI capsule file and,
>           optionally sign that file. If you want to enable UEFI capsule
> --
> 2.53.0
>
>

Reply via email to