Commit d014e033889f10d40d009cc7bad00893293b640e

Authored by Stefan Roese
Committed by Albert ARIBAUD
1 parent aca587b0da

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>

Showing 2 changed files with 4 additions and 0 deletions Side-by-side Diff

board/spear/common/Makefile
... ... @@ -29,8 +29,10 @@
29 29  
30 30 LIB = $(obj)lib$(VENDOR).o
31 31  
  32 +ifndef CONFIG_SPL_BUILD
32 33 COBJS := spr_misc.o
33 34 SOBJS := spr_lowlevel_init.o
  35 +endif
34 36  
35 37 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
36 38 OBJS := $(addprefix $(obj),$(COBJS))
board/spear/spear600/Makefile
... ... @@ -25,7 +25,9 @@
25 25  
26 26 LIB = $(obj)lib$(BOARD).o
27 27  
  28 +ifndef CONFIG_SPL_BUILD
28 29 COBJS := spear600.o
  30 +endif
29 31 SOBJS :=
30 32  
31 33 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)