]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
SPL: ARM: spear: Remove some objects from SPL build
authorStefan Roese <sr@denx.de>
Thu, 5 Jan 2012 10:23:45 +0000 (11:23 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:43 +0000 (14:07 +0200)
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Amit Virdi <amit.virdi@st.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
board/spear/common/Makefile
board/spear/spear600/Makefile

index 11f81e48033fc3bb658fb8c06d5074017c39e9da..5c66c3f09294397ad775e5cab401534011de848b 100644 (file)
@@ -29,8 +29,10 @@ endif
 
 LIB    = $(obj)lib$(VENDOR).o
 
+ifndef CONFIG_SPL_BUILD
 COBJS  := spr_misc.o
 SOBJS  := spr_lowlevel_init.o
+endif
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
index e2bd5ab7f5a567fed872e58e31ff0e25896ed9aa..ee66fc65205ac9dd406781f4aaaa513120adf1b8 100644 (file)
@@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(BOARD).o
 
+ifndef CONFIG_SPL_BUILD
 COBJS  := spear600.o
+endif
 SOBJS  :=
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)