Re: [PATCH 1/1] tools: build mkeficapsule for CONFIG_EFI_HAVE_CAPSULE_SUPPORT=y

Ilias Apalodimas <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <CAC_iWjKNt6T=p5P_UOr-6GR4SryhYR+3KooPUK0ozSPexG=EqQ@mail.gmail.com>
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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.