powerpc: Consolidate obj-y assignments
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 8 Nov 2010 17:31:36 +0000 (17:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:22 +0000 (15:48 +1100)
No need to have three of them.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/Makefile

index 36c30f3..3bb2a3e 100644 (file)
@@ -29,8 +29,10 @@ endif
 obj-y                          := cputable.o ptrace.o syscalls.o \
                                   irq.o align.o signal_32.o pmc.o vdso.o \
                                   init_task.o process.o systbl.o idle.o \
-                                  signal.o sysfs.o cacheinfo.o
-obj-y                          += vdso32/
+                                  signal.o sysfs.o cacheinfo.o time.o \
+                                  prom.o traps.o setup-common.o \
+                                  udbg.o misc.o io.o dma.o \
+                                  misc_$(CONFIG_WORD_SIZE).o vdso32/
 obj-$(CONFIG_PPC64)            += setup_64.o sys_ppc32.o \
                                   signal_64.o ptrace32.o \
                                   paca.o nvram_64.o firmware.o
@@ -80,9 +82,6 @@ extra-$(CONFIG_FSL_BOOKE)     := head_fsl_booke.o
 extra-$(CONFIG_8xx)            := head_8xx.o
 extra-y                                += vmlinux.lds
 
-obj-y                          += time.o prom.o traps.o setup-common.o \
-                                  udbg.o misc.o io.o dma.o \
-                                  misc_$(CONFIG_WORD_SIZE).o
 obj-$(CONFIG_PPC32)            += entry_32.o setup_32.o
 obj-$(CONFIG_PPC64)            += dma-iommu.o iommu.o
 obj-$(CONFIG_KGDB)             += kgdb.o