提交 61698478 编写于 作者: M Masahiro Yamada 提交者: Tom Rini

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

Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
上级 9f414a3a
......@@ -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))
......
......@@ -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))
......
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册