]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm926ejs/config.mk
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[u-boot] / arch / arm / cpu / arm926ejs / config.mk
index f8ef90f2d5180365d5c4719708cf71d98458c432..f0e31d1805a07979529a01e322519b53c6f64208 100644 (file)
@@ -29,4 +29,15 @@ PLATFORM_CPPFLAGS += -march=armv5te
 # Supply options according to compiler version
 #
 # =========================================================================
-PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
+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),)
+ifdef CONFIG_SPL
+ifdef CONFIG_SPL_BUILD
+ALL-y  += $(OBJTREE)/SPL
+endif
+else
+ALL-y  += $(obj)u-boot.imx
+endif
+endif