aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass2013-07-17 17:10:59 -0500
committerTom Rini2013-07-19 08:45:19 -0500
commit971c450a446a60daf276b9d2adf243be6048c421 (patch)
treed05ad66144c8724ccb410d3e30ef85100aa579b8 /config.mk
parent4ef400b9f84af699cfeef60c871174b6e1defc59 (diff)
downloadu-boot-971c450a446a60daf276b9d2adf243be6048c421.tar.gz
u-boot-971c450a446a60daf276b9d2adf243be6048c421.tar.xz
u-boot-971c450a446a60daf276b9d2adf243be6048c421.zip
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>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 81c2584216..f71e145d35 100644
--- a/config.mk
+++ b/config.mk
@@ -213,6 +213,10 @@ endif
213# TODO(sjg@chromium.org): Is this correct on Mac OS? 213# TODO(sjg@chromium.org): Is this correct on Mac OS?
214ifdef CONFIG_FIT_SIGNATURE 214ifdef CONFIG_FIT_SIGNATURE
215HOSTLIBS += -lssl -lcrypto 215HOSTLIBS += -lssl -lcrypto
216
217# This affects include/image.h, but including the board config file
218# is tricky, so manually define this options here.
219HOSTCFLAGS += -DCONFIG_FIT_SIGNATURE
216endif 220endif
217 221
218ifneq ($(CONFIG_SYS_TEXT_BASE),) 222ifneq ($(CONFIG_SYS_TEXT_BASE),)