Skip to contentSkip to conversation

SPL: ARM: spear: Remove some objects from SPL build

PATCH New Stefan Roese 2 participants 2 messages May 8, 2012 – May 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 4/7 SPL: ARM: spear: Remove some objects from SPL build

Cc Amit Virdi <[email protected]>
Cc Vipin Kumar <[email protected]>
---
 board/spear/common/Makefile   |    2 ++
 board/spear/spear600/Makefile |    2 ++
 2 files changed, 4 insertions(+)
board/spear/common/Makefile +2 -0
index 11f81e4..5c66c3f 100644
@@ -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))
board/spear/spear600/Makefile +2 -0
index e2bd5ab..ee66fc6 100644
@@ -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)
Signature · 1 line
1.7.10.1
#1 lore raw

PATCH 4/7 SPL: ARM: spear: Remove some objects from SPL build

Stefan,

Quoted 28 lines · Stefan Roese
---
  board/spear/common/Makefile   |    2 ++
  board/spear/spear600/Makefile |    2 ++
  2 files changed, 4 insertions(+)
board/spear/common/Makefile +2 -0
index 11f81e4..5c66c3f 100644
@@ -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))
board/spear/spear600/Makefile +0 -0
index e2bd5ab..ee66fc6 100644

board/spear/spear600/Makefile include $(TOPDIR)/config.mk · line 33

Quoted 9 lines
board/spear/spear600/Makefile +2 -0
@@ -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)

Regards
Amit Virdi