Message ID | 1336462226-21417-1-git-send-email-sr@denx.de |
---|---|
State | Accepted |
Commit | d014e033889f10d40d009cc7bad00893293b640e |
Headers | show |
Stefan, On 5/8/2012 1:00 PM, Stefan Roese wrote: > Signed-off-by: Stefan Roese<sr@denx.de> > Cc: Amit Virdi<amit.virdi@st.com> > Cc: Vipin Kumar<vipin.kumar@st.com> > --- > board/spear/common/Makefile | 2 ++ > board/spear/spear600/Makefile | 2 ++ > 2 files changed, 4 insertions(+) > > 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)) > diff --git a/board/spear/spear600/Makefile b/board/spear/spear600/Makefile > index e2bd5ab..ee66fc6 100644 > --- a/board/spear/spear600/Makefile > +++ b/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) Acked-by: Amit Virdi <amit.virdi@st.com> Regards Amit Virdi
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)) diff --git a/board/spear/spear600/Makefile b/board/spear/spear600/Makefile index e2bd5ab..ee66fc6 100644 --- a/board/spear/spear600/Makefile +++ b/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)
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Amit Virdi <amit.virdi@st.com> Cc: Vipin Kumar <vipin.kumar@st.com> --- board/spear/common/Makefile | 2 ++ board/spear/spear600/Makefile | 2 ++ 2 files changed, 4 insertions(+)