diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2022-02-09 13:10:34 +0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-02-11 22:07:55 +0300 |
commit | 9af16cc8f1ad8144db6d70ea65a51e4ef1398397 (patch) | |
tree | 1dd44f21a6c1509784040ba32809bdefbc9201f7 /tools | |
parent | 9ebfc6ba5b2b136932076c73ec8c14350365a0ac (diff) | |
download | u-boot-9af16cc8f1ad8144db6d70ea65a51e4ef1398397.tar.xz |
tools: build mkeficapsule with tools-only_defconfig
Add CONFIG_TOOLS_MKEFICAPSULE. Then we want to always build mkeficapsule
if tools-only_defconfig is used.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Kconfig | 8 | ||||
-rw-r--r-- | tools/Makefile | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/tools/Kconfig b/tools/Kconfig index 91ce8ae3e5..117c921da3 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -90,4 +90,12 @@ config TOOLS_SHA512 help Enable SHA512 support in the tools builds +config TOOLS_MKEFICAPSULE + bool "Build efimkcapsule command" + default y if EFI_CAPSULE_ON_DISK + help + This command allows users to create a UEFI capsule file and, + optionally sign that file. If you want to enable UEFI capsule + update feature on your target, you certainly need this. + endmenu diff --git a/tools/Makefile b/tools/Makefile index 1763f44cac..766c0674f4 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -238,8 +238,7 @@ hostprogs-$(CONFIG_MIPS) += mips-relocs hostprogs-$(CONFIG_ASN1_COMPILER) += asn1_compiler HOSTCFLAGS_asn1_compiler.o = -idirafter $(srctree)/include -mkeficapsule-objs := mkeficapsule.o $(LIBFDT_OBJS) -hostprogs-$(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) += mkeficapsule +hostprogs-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsule # We build some files with extra pedantic flags to try to minimize things # that won't build on some weird host compiler -- though there are lots of |