diff options
author | Simon Glass <sjg@chromium.org> | 2013-06-27 10:43:18 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-28 16:26:52 -0400 |
commit | 29ce737d6f4a8e19cbc8c54451e72e059e4d56e7 (patch) | |
tree | b4cfb68ecf76e4ae5674696f93e5a904205cb497 /tools/ublimage.c | |
parent | 5ff0d0832e085fe64740e6c78e11193b048896da (diff) | |
download | u-boot-imx-29ce737d6f4a8e19cbc8c54451e72e059e4d56e7.zip u-boot-imx-29ce737d6f4a8e19cbc8c54451e72e059e4d56e7.tar.gz u-boot-imx-29ce737d6f4a8e19cbc8c54451e72e059e4d56e7.tar.bz2 |
mkimage: Build signing only if board has CONFIG_FIT_SIGNATURE
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 <sjg@chromium.org>
Diffstat (limited to 'tools/ublimage.c')
0 files changed, 0 insertions, 0 deletions