소스 검색

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>
Stefan Roese 13 년 전
부모
커밋
d014e03388
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      board/spear/common/Makefile
  2. 2 0
      board/spear/spear600/Makefile

+ 2 - 0
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))

+ 2 - 0
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)