From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 28 Jun 2013 18:07:31 -0400 Subject: [U-Boot] [PATCH] mkimage: Build signing only if board has CONFIG_FIT_SIGNATURE In-Reply-To: <1372354998-22542-1-git-send-email-sjg@chromium.org> References: <1372354998-22542-1-git-send-email-sjg@chromium.org> Message-ID: <20130628220731.GK28078@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 27, 2013 at 10:43:18AM -0700, Simon Glass wrote: > At present mkimage is set up to always build with image signing support. > This means that the SSL libraries (e.g. libssl-dev) are always required. > > Adjust things so that mkimage can be built with and without image signing, > controlled by the presence of CONFIG_FIT_SIGNATURE in the board config file. > > If CONFIG_FIT_SIGNATURE is not enabled, then mkimage will report a warning > that signing is not supported. If the option is enabled, but libraries are > not available, then a build error similar to this will be shown: > > lib/rsa/rsa-sign.c:26:25: fatal error: openssl/rsa.h: No such file or directory > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: