1
0
Fork 0

sh: Do not include start.o in lib$(CPU).o

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
utp
Masahiro Yamada 2013-10-21 11:53:25 +09:00 committed by Tom Rini
parent 9f414a3ab1
commit 61698478a3
3 changed files with 9 additions and 3 deletions

View File

@ -12,13 +12,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).o
SOBJS = start.o
START = start.o
COBJS = cpu.o interrupts.o watchdog.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
all: $(START) $(LIB)
$(LIB): $(OBJS) $(SOBJS)
$(call cmd_link_o_target, $(OBJS) $(SOBJS))

View File

@ -15,13 +15,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).o
SOBJS = start.o
START = start.o
COBJS = cpu.o interrupts.o watchdog.o cache.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
all: $(START) $(LIB)
$(LIB): $(OBJS) $(SOBJS)
$(call cmd_link_o_target, $(OBJS) $(SOBJS))

View File

@ -12,13 +12,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).o
SOBJS = start.o
START = start.o
COBJS = cpu.o interrupts.o watchdog.o cache.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
all: $(START) $(LIB)
$(LIB): $(OBJS) $(SOBJS)
$(call cmd_link_o_target, $(OBJS) $(SOBJS))