Skip to content
Snippets Groups Projects
Commit 971c450a authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 4ef400b9
No related branches found
No related tags found
No related merge requests found
...@@ -213,6 +213,10 @@ endif ...@@ -213,6 +213,10 @@ endif
# TODO(sjg@chromium.org): Is this correct on Mac OS? # TODO(sjg@chromium.org): Is this correct on Mac OS?
ifdef CONFIG_FIT_SIGNATURE ifdef CONFIG_FIT_SIGNATURE
HOSTLIBS += -lssl -lcrypto 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 endif
ifneq ($(CONFIG_SYS_TEXT_BASE),) ifneq ($(CONFIG_SYS_TEXT_BASE),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment