summaryrefslogtreecommitdiff
path: root/board/spear
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-01-05 11:23:45 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:43 +0200
commitd014e033889f10d40d009cc7bad00893293b640e (patch)
tree33febe51840e95e9c114abafb004b20d23600520 /board/spear
parentaca587b0dad5f760e7db0a49e928fd87affcd123 (diff)
SPL: ARM: spear: Remove some objects from SPL build
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Amit Virdi <amit.virdi@st.com> Cc: Vipin Kumar <vipin.kumar@st.com>
Diffstat (limited to 'board/spear')
-rw-r--r--board/spear/common/Makefile2
-rw-r--r--board/spear/spear600/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index 11f81e48033..5c66c3f0929 100644
--- a/board/spear/common/Makefile
+++ b/board/spear/common/Makefile
@@ -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))
diff --git a/board/spear/spear600/Makefile b/board/spear/spear600/Makefile
index e2bd5ab7f5a..ee66fc65205 100644
--- a/board/spear/spear600/Makefile
+++ b/board/spear/spear600/Makefile
@@ -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)