From: Stefano Babic Date: Tue, 3 Apr 2012 04:32:56 +0000 (+0000) Subject: ARM: add u-boot.imx as target for i.MX SOCs X-Git-Tag: v2012.04-rc2~1^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=38fcc71cc58b1c9a224b707b03eb6574cb2dc027;p=u-boot ARM: add u-boot.imx as target for i.MX SOCs Freescale SOCs require an header to u-boot.bin The patch adds u-boot.imx to the default targets if the imx file is set (IMX_CONFIG). Signed-off-by: Stefano Babic Cc: Albert ARIBAUD CC: Loïc Minier CC: Mike Frysinger Acked-by: Mike Frysinger Acked-by: Dirk Behme Tested-by: Dirk Behme --- diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk index 83ddf10f1f..f532d62e57 100644 --- a/arch/arm/cpu/armv7/config.mk +++ b/arch/arm/cpu/armv7/config.mk @@ -31,3 +31,6 @@ PLATFORM_CPPFLAGS += -march=armv5 # ========================================================================= PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT) +ifneq ($(CONFIG_IMX_CONFIG),) +ALL-y += $(obj)u-boot.imx +endif