summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2021-06-22 14:31:20 +0000
committerPatrick Georgi <pgeorgi@google.com>2021-06-26 10:07:34 +0000
commit6cd4d320398961aff5ac5de3d380d64c542edabb (patch)
treebdddaf2a11b1fe96aba109b96bf5813933e5c18d /util
parentd7f592deef168b7c40e4943c8a11d8ee0a667c85 (diff)
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 <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55764 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
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