X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=config.mk;h=48913f6659f101e9009d54b5886bab44f0fafccd;hb=4d4ec9927f92014195bc5ba79ad43e1103256639;hp=5dfbad7d4b99f1e316fd1ad38c7dcd176b077173;hpb=cb4ef5ba3653a60a4b7fcd59bab4c032cd5cc82a;p=oweals%2Fu-boot.git diff --git a/config.mk b/config.mk index 5dfbad7d4b..48913f6659 100644 --- 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 @@ -232,10 +241,6 @@ ifneq ($(CONFIG_SYS_TEXT_BASE),) CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) endif -ifneq ($(CONFIG_SPL_PAD_TO),) -CPPFLAGS += -DCONFIG_SPL_PAD_TO=$(CONFIG_SPL_PAD_TO) -endif - ifeq ($(CONFIG_SPL_BUILD),y) CPPFLAGS += -DCONFIG_SPL_BUILD ifeq ($(CONFIG_TPL_BUILD),y)