summaryrefslogtreecommitdiff
path: root/board/spear/common
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/common
parentaca587b0dad5f760e7db0a49e928fd87affcd123 (diff)
downloadu-boot-imx-d014e033889f10d40d009cc7bad00893293b640e.zip
u-boot-imx-d014e033889f10d40d009cc7bad00893293b640e.tar.gz
u-boot-imx-d014e033889f10d40d009cc7bad00893293b640e.tar.bz2
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/common')
-rw-r--r--board/spear/common/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index 11f81e4..5c66c3f 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))