diff options
author | Martin Roth <gaumless@gmail.com> | 2022-02-23 21:04:25 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2022-03-09 16:16:55 +0000 |
commit | d5f45d0a9e8f969181630ca4ba73f314f43728f0 (patch) | |
tree | b9111673fab0c717f699a00145c50060282915ab | |
parent | c52aecca11c3c24fc2e843e75037c2c94fd48b2d (diff) | |
download | coreboot-d5f45d0a9e8f969181630ca4ba73f314f43728f0.tar.gz coreboot-d5f45d0a9e8f969181630ca4ba73f314f43728f0.tar.bz2 coreboot-d5f45d0a9e8f969181630ca4ba73f314f43728f0.zip |
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>
-rw-r--r-- | util/futility/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/futility/Makefile.inc b/util/futility/Makefile.inc index 45627a94ed0b..6a56debfb98c 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) |