diff options
| author | Simon Glass <[email protected]> | 2013-07-17 15:10:59 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-07-19 09:45:19 -0400 |
| commit | 971c450a446a60daf276b9d2adf243be6048c421 (patch) | |
| tree | d05ad66144c8724ccb410d3e30ef85100aa579b8 | |
| parent | 4ef400b9f84af699cfeef60c871174b6e1defc59 (diff) | |
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 <[email protected]>
| -rw-r--r-- | config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk index 81c25842162..f71e145d355 100644 --- a/config.mk +++ b/config.mk @@ -213,6 +213,10 @@ endif # TODO([email protected]): 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),) |
