فهرست منبع

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>
Masahiro Yamada 11 سال پیش
والد
کامیت
61698478a3
3فایلهای تغییر یافته به همراه9 افزوده شده و 3 حذف شده
  1. 3 1
      arch/sh/cpu/sh2/Makefile
  2. 3 1
      arch/sh/cpu/sh3/Makefile
  3. 3 1
      arch/sh/cpu/sh4/Makefile

+ 3 - 1
arch/sh/cpu/sh2/Makefile

@@ -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))
 

+ 3 - 1
arch/sh/cpu/sh3/Makefile

@@ -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))
 

+ 3 - 1
arch/sh/cpu/sh4/Makefile

@@ -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))