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>
This commit is contained in:
Stefan Roese 2012-01-05 11:23:45 +01:00 committed by Albert ARIBAUD
parent aca587b0da
commit d014e03388
2 changed files with 4 additions and 0 deletions

View file

@ -29,8 +29,10 @@ endif
LIB = $(obj)lib$(VENDOR).o LIB = $(obj)lib$(VENDOR).o
ifndef CONFIG_SPL_BUILD
COBJS := spr_misc.o COBJS := spr_misc.o
SOBJS := spr_lowlevel_init.o SOBJS := spr_lowlevel_init.o
endif
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS)) OBJS := $(addprefix $(obj),$(COBJS))

View file

@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o LIB = $(obj)lib$(BOARD).o
ifndef CONFIG_SPL_BUILD
COBJS := spear600.o COBJS := spear600.o
endif
SOBJS := SOBJS :=
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)