]> git.sur5r.net Git - u-boot/blobdiff - config.mk
ARM: highbank: compile misc_init_r only if CONFIG_MISC_INIT_R
[u-boot] / config.mk
index 63d25ac61f3d0a2581738c39066d5f0f99cf630e..f71e145d35543f45af135dfe7eac7378ea7d0700 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -210,6 +210,15 @@ CPPFLAGS += -ffunction-sections -fdata-sections
 LDFLAGS_FINAL += --gc-sections
 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),)
 CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE)
 endif