summaryrefslogtreecommitdiff
path: root/util/futility
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-02-23 21:04:25 -0700
committerMartin Roth <martinroth@google.com>2022-03-09 16:16:55 +0000
commitd5f45d0a9e8f969181630ca4ba73f314f43728f0 (patch)
treeb9111673fab0c717f699a00145c50060282915ab /util/futility
parentc52aecca11c3c24fc2e843e75037c2c94fd48b2d (diff)
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 <gaumless@gmail.com> Change-Id: I9ef36c0b64f7cd69d19b8faabd165ef6651c838e Reviewed-on: https://review.coreboot.org/c/coreboot/+/62322 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'util/futility')
-rw-r--r--util/futility/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
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)