From 6cd4d320398961aff5ac5de3d380d64c542edabb Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 22 Jun 2021 14:31:20 +0000 Subject: [PATCH] cbfstool: Unset ${DEBUG} when making vboot hostlib Vboot's Makefile is controlled by a ${DEBUG} environment variable. As the name is very generic, it may be set by accident without any intention to change the build. Having it set would break reproduci- bility at least but it also turns out that the hostlib build would be incomplete so that linking cbfstool fails due to internal calls to vb2api_fail() which is not built in. Change-Id: I2a9eb9a645c70451a320c455b8f24bfed197117c Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/55764 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- util/cbfstool/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 47b89e57b0..94dacf47cc 100644 --- a/util/cbfstool/Makefile.inc +++ b/util/cbfstool/Makefile.inc @@ -135,6 +135,7 @@ $(VBOOT_HOSTLIB): CC="$(HOSTCC)" \ PKG_CONFIG="true" \ V=$(V) \ + DEBUG= \ hostlib $(objutil)/cbfstool/%.o: $(objutil)/cbfstool/%.c