From d5f45d0a9e8f969181630ca4ba73f314f43728f0 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 23 Feb 2022 21:04:25 -0700 Subject: [PATCH] util/futility: Don't echo the warning message unless it fails Currently, all of the commands for building futility are printed as they are run. This change skips printing the check for libcrypto unless the check actually fails. This prevents the error from being displayed when there isn't actually a problem. Signed-off-by: Martin Roth Change-Id: I9ef36c0b64f7cd69d19b8faabd165ef6651c838e Reviewed-on: https://review.coreboot.org/c/coreboot/+/62322 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- util/futility/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/futility/Makefile.inc b/util/futility/Makefile.inc index 45627a94ed..6a56debfb9 100644 --- a/util/futility/Makefile.inc +++ b/util/futility/Makefile.inc @@ -16,7 +16,7 @@ $(VBOOT_FUTILITY): | check-openssl-presence .PHONY: check-openssl-presence check-openssl-presence: - $(HOSTPKGCONFIG) --exists libcrypto || \ + @$(HOSTPKGCONFIG) --exists libcrypto || \ (echo "Error: Ensure that pkg-config and openssl's libcrypto, including header files, are installed."; exit 1) $(objutil)/futility/futility: $(VBOOT_FUTILITY) -- 2.11.4.GIT