From b7a625b1ce49ac4e45dbacf476c31d8e312350fb Mon Sep 17 00:00:00 2001 From: Jonathan Humphreys Date: Fri, 31 May 2024 17:51:02 -0500 Subject: [PATCH] tools: Build mkeficapsule tool by default if EFI_LOADER is set Trigger the building of the mkeficapsule tool if EFI_LOADER is enabled. Previously it was triggered on EFI_CAPSULE_ON_DISK, but mkeficapsule is needed when a capsule is being generated for a bootloader stage, not just from the stage applying them. EFI_LOADER is a more accurate approximation of when a capsule may need to be generated. Signed-off-by: Jonathan Humphreys --- tools/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Kconfig b/tools/Kconfig index 667807b331..5c75af48fe 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -98,7 +98,7 @@ config TOOLS_SHA512 config TOOLS_MKEFICAPSULE bool "Build efimkcapsule command" - default y if EFI_CAPSULE_ON_DISK + default y if EFI_LOADER help This command allows users to create a UEFI capsule file and, optionally sign that file. If you want to enable UEFI capsule -- 2.39.5