]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: Add SPL target to arm1136
authorStefano Babic <sbabic@denx.de>
Wed, 17 Oct 2012 06:04:30 +0000 (06:04 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 26 Oct 2012 14:27:59 +0000 (16:27 +0200)
The patch adds SPL for the arm1136 architecture and
inserts SPL (the produced binary) to clobber target
in the main Makefile.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Makefile
arch/arm/cpu/arm1136/config.mk

index 08eecbbbcdff22746e2febc856c8045f600ec6b6..249b109c32a76e4576d2b439cc0ce280532d2a28 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -844,6 +844,7 @@ clobber:    tidy
        @rm -f $(obj)nand_spl/{u-boot.lds,u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map,System.map}
        @rm -f $(obj)spl/{u-boot-spl,u-boot-spl.bin,u-boot-spl.lds,u-boot-spl.map}
        @rm -f $(obj)MLO
+       @rm -f $(obj)SPL
        @rm -f $(obj)tools/xway-swap-bytes
        @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c
        @rm -f $(obj)arch/powerpc/cpu/mpc83xx/ddr-gen?.c
index efee0d1dca6253f69839e1cb3be8f594a192236c..9092d914f6037283d49273688325380f902616c0 100644 (file)
@@ -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)
+ifdef CONFIG_SPL_BUILD
+ALL-y  += $(OBJTREE)/SPL
+endif