]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/mpc85xx: consistently use COBJS-y
authorScott Wood <scottwood@freescale.com>
Tue, 25 Sep 2012 23:17:45 +0000 (18:17 -0500)
committerScott Wood <scottwood@freescale.com>
Mon, 26 Nov 2012 21:41:24 +0000 (15:41 -0600)
A subsequent patch will conditionalize some of the files that are
currently unconditional.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/Makefile

index 78c412d9f31b7e6927fce5ca2651e128ddf55958..a7dbfa78599dc3ab5e5c33037aacfca176720322 100644 (file)
@@ -121,17 +121,18 @@ COBJS-$(CONFIG_PPC_P5040) += p5040_serdes.o
 COBJS-$(CONFIG_PPC_T4240) += t4240_serdes.o
 COBJS-$(CONFIG_PPC_B4860) += b4860_serdes.o
 
-COBJS  = $(COBJS-y)
-COBJS  += cpu.o
-COBJS  += cpu_init.o
-COBJS  += cpu_init_early.o
-COBJS  += interrupts.o
-COBJS  += speed.o
-COBJS  += tlb.o
-COBJS  += traps.o
+COBJS-y        += cpu.o
+COBJS-y        += cpu_init.o
+COBJS-y        += cpu_init_early.o
+COBJS-y        += interrupts.o
+COBJS-y        += speed.o
+COBJS-y        += tlb.o
+COBJS-y        += traps.o
 
 # Stub implementations of cache management functions for USB
-COBJS += cache.o
+COBJS-y += cache.o
+
+COBJS  = $(COBJS-y)
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))