mkimage: Use board config to get CONFIG_FIT_SIGNATURE value
PATCH 1/1 mkimage: Use board config to get CONFIG_FIT_SIGNATURE value
The value of this config variable is not available to image.h on the host, since the board config is not actually included. Bring this in so that mkimage will be built with image-signing support for sandbox at least.
--- config.mk | 4 ++++ 1 file changed, 4 insertions(+)
config.mk +4 -0
@@ -213,6 +213,10 @@ endif # TODO(sjg at chromium.org): Is this correct on Mac OS? ifdef CONFIG_FIT_SIGNATURE HOSTLIBS += -lssl -lcrypto + +# This affects include/image.h, but including the board config file +# is tricky, so manually define this options here. +HOSTCFLAGS += -DCONFIG_FIT_SIGNATURE endif ifneq ($(CONFIG_SYS_TEXT_BASE),)
Signature · 1 line
1.8.3
PATCH 1/1 mkimage: Use board config to get CONFIG_FIT_SIGNATURE value
Hi Tom,
Quoted 6 lines · Simon Glass
The value of this config variable is not available to
image.hon the host, since the board config is not actually included. Bring this in so that mkimage will be built with image-signing support for sandbox at least.Signed-off-by Simon Glass <[email protected]>
This is another bug fix - although I don't have a good explanation for why I didn't seem to need this when I was testing a few weeks ago.
Regards,
Simon
PATCH 1/1 mkimage: Use board config to get CONFIG_FIT_SIGNATURE value
In reply to Simon GlassQuoted 5 lines · Simon Glass
The value of this config variable is not available to
image.hon the host, since the board config is not actually included. Bring this in so that mkimage will be built with image-signing support for sandbox at least.Signed-off-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130719/b66f6f96/attachment.pgp>