summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-02-01 06:57:35 -0500
committerTom Rini <trini@konsulko.com>2017-02-01 06:57:35 -0500
commitf77309d34325369dbdf0bf62387c9e974f1b37da (patch)
treee78043de1b4f3659f755074887fbc52ba95fc0a2 /tools/Makefile
parentdd3b64eb56dae10016bd314e59a650da511c1a4e (diff)
parenta1b6b0a9c1f91756b93e6d804837dc178d79d39e (diff)
downloadu-boot-imx-f77309d34325369dbdf0bf62387c9e974f1b37da.zip
u-boot-imx-f77309d34325369dbdf0bf62387c9e974f1b37da.tar.gz
u-boot-imx-f77309d34325369dbdf0bf62387c9e974f1b37da.tar.bz2
Merge git://www.denx.de/git/u-boot-marvell
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index cefcedf..f5ac631 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -142,8 +142,12 @@ ifdef CONFIG_SYS_U_BOOT_OFFS
HOSTCFLAGS_kwbimage.o += -DCONFIG_SYS_U_BOOT_OFFS=$(CONFIG_SYS_U_BOOT_OFFS)
endif
+ifneq ($(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X),)
+HOSTCFLAGS_kwbimage.o += -DCONFIG_KWB_SECURE
+endif
+
# MXSImage needs LibSSL
-ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),)
+ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),)
HOSTLOADLIBES_mkimage += \
$(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")