mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
4ef400b9f8
commit
971c450a44
1 changed files with 4 additions and 0 deletions
|
@ -213,6 +213,10 @@ endif
|
|||
# TODO(sjg@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),)
|
||||
|
|
Loading…
Add table
Reference in a new issue