[PATCH] powerpc: only build idle_6xx for 6xx
authorKumar Gala <galak@freescale.com>
Thu, 27 Oct 2005 13:54:36 +0000 (08:54 -0500)
committerPaul Mackerras <paulus@samba.org>
Fri, 28 Oct 2005 01:36:55 +0000 (11:36 +1000)
For the current time idle_6xx only applies to 6xx ppc32 CPUs

Signed-off-by: Kumar K. Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/Makefile

index 68543201df3d5522ca1af359c67792448415e282..8421f1975dadb3d8bb1828891751dc654041c21c 100644 (file)
@@ -33,11 +33,12 @@ extra-y                             += vmlinux.lds
 
 obj-y                          += process.o init_task.o time.o \
                                   prom.o systbl.o traps.o setup-common.o
-obj-$(CONFIG_PPC32)            += entry_32.o idle_6xx.o setup_32.o misc_32.o
+obj-$(CONFIG_PPC32)            += entry_32.o setup_32.o misc_32.o
 obj-$(CONFIG_PPC64)            += misc_64.o
 obj-$(CONFIG_PPC_OF)           += prom_init.o
 obj-$(CONFIG_MODULES)          += ppc_ksyms.o
 obj-$(CONFIG_BOOTX_TEXT)       += btext.o
+obj-$(CONFIG_6xx)              += idle_6xx.o
 
 ifeq ($(CONFIG_PPC_ISERIES),y)
 $(obj)/head_64.o: $(obj)/lparmap.s