Simon Glass 29ce737d6f 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>
2013-06-28 16:26:52 -04:00
..
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2010-04-13 09:13:04 +02:00
2013-02-20 16:48:17 +09:00
2012-08-09 23:42:20 +02:00
2011-08-01 15:19:40 +02:00
2012-05-15 08:31:37 +02:00
2012-11-02 15:20:41 -07:00
2011-08-04 23:34:02 +02:00
2010-01-27 21:23:14 +01:00
2013-04-01 16:33:52 -04:00
2012-12-06 13:56:39 -07:00
2012-03-27 22:05:28 +02:00
2013-06-24 19:07:33 -05:00
2013-06-26 10:16:41 -04:00
2013-04-28 11:07:40 +02:00
2013-06-26 10:07:11 -04:00
2013-06-26 10:07:11 -04:00
2011-10-22 01:22:21 +02:00
2013-06-26 10:07:11 -04:00
2012-12-11 13:17:34 -07:00
2010-09-19 19:29:47 +02:00
2013-02-19 17:01:26 -05:00
2011-08-04 23:34:02 +02:00
2013-06-26 10:13:31 -04:00
2013-05-14 16:00:26 -05:00
2012-10-22 14:31:25 -05:00
2012-05-15 08:31:34 +02:00
2013-04-28 11:07:40 +02:00
2012-11-27 09:41:10 -07:00
2013-03-29 20:10:42 +09:00
2013-01-08 10:54:33 +09:00
2012-11-15 21:08:20 +09:00
2013-06-26 10:26:06 -04:00
2009-10-13 06:17:35 -05:00
2013-06-26 10:18:56 -04:00
2012-05-25 09:15:10 +02:00
2013-04-01 16:33:52 -04:00
2012-10-26 16:28:07 +02:00
2012-10-23 15:23:26 -05:00
2013-05-31 17:12:03 -05:00
2013-06-24 19:11:12 -05:00
2010-03-21 22:44:42 +01:00
2013-06-26 10:26:06 -04:00
2010-03-12 23:06:04 +01:00
2013-06-24 19:07:32 -05:00
2011-10-05 22:03:11 +02:00
2011-03-27 19:19:54 +02:00
2013-06-26 10:18:56 -04:00
2013-04-01 16:33:52 -04:00
2012-11-27 17:26:48 -06:00
2011-08-04 23:34:02 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2013-05-10 08:25:56 -04:00
2012-11-10 19:45:58 +08:00
2009-10-03 10:17:56 +02:00
2013-04-01 16:33:52 -04:00
2012-05-15 08:31:40 +02:00
2013-04-12 14:13:13 -07:00
2013-04-12 14:13:13 -07:00
2012-05-15 08:31:37 +02:00
2013-06-26 10:16:41 -04:00
2011-04-29 07:32:48 -05:00
2013-05-10 08:25:54 -04:00
2013-04-01 16:33:52 -04:00
2011-08-01 15:19:40 +02:00
2012-10-15 11:53:59 -07:00
2013-04-01 16:33:52 -04:00