util/futility: Don't echo the warning message unless it fails
commitd5f45d0a9e8f969181630ca4ba73f314f43728f0
authorMartin Roth <gaumless@gmail.com>
Thu, 24 Feb 2022 04:04:25 +0000 (23 21:04 -0700)
committerMartin Roth <martinroth@google.com>
Wed, 9 Mar 2022 16:16:55 +0000 (9 16:16 +0000)
treeb9111673fab0c717f699a00145c50060282915ab
parentc52aecca11c3c24fc2e843e75037c2c94fd48b2d
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>
util/futility/Makefile.inc