Commit 971c450a446a60daf276b9d2adf243be6048c421

Authored by Simon Glass
Committed by Tom Rini
1 parent 4ef400b9f8

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: Simon Glass <sjg@chromium.org>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

... ... @@ -213,6 +213,10 @@
213 213 # TODO(sjg@chromium.org): Is this correct on Mac OS?
214 214 ifdef CONFIG_FIT_SIGNATURE
215 215 HOSTLIBS += -lssl -lcrypto
  216 +
  217 +# This affects include/image.h, but including the board config file
  218 +# is tricky, so manually define this options here.
  219 +HOSTCFLAGS += -DCONFIG_FIT_SIGNATURE
216 220 endif
217 221  
218 222 ifneq ($(CONFIG_SYS_TEXT_BASE),)