]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - config.mk
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / config.mk
index b55ed563a5e0307edc26c5369cb74c4a424c8d27..48913f6659f101e9009d54b5886bab44f0fafccd 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -220,6 +220,15 @@ LDFLAGS_FINAL += --gc-sections
 endif
 
 # TODO(sjg@chromium.org): Is this correct on Mac OS?
+
+# MXSImage needs LibSSL
+ifneq ($(CONFIG_MX23)$(CONFIG_MX28),)
+HOSTLIBS       += -lssl -lcrypto
+# Add CONFIG_MXS into host CFLAGS, so we can check whether or not register
+# the mxsimage support within tools/mxsimage.c .
+HOSTCFLAGS     += -DCONFIG_MXS
+endif
+
 ifdef CONFIG_FIT_SIGNATURE
 HOSTLIBS       += -lssl -lcrypto