2 # Makefile for the linux kernel.
4 ifneq ($(CONFIG_PPC_MERGE),y)
6 extra-$(CONFIG_PPC_STD_MMU) := head.o
7 extra-$(CONFIG_40x) := head_4xx.o
8 extra-$(CONFIG_44x) := head_44x.o
9 extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
10 extra-$(CONFIG_8xx) := head_8xx.o
11 extra-$(CONFIG_6xx) += idle_6xx.o
12 extra-y += vmlinux.lds
14 obj-y := entry.o traps.o idle.o time.o misc.o \
17 obj-$(CONFIG_6xx) += l2cr.o cpu_setup_6xx.o
18 obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o
19 obj-$(CONFIG_MODULES) += module.o ppc_ksyms.o
20 obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o
21 obj-$(CONFIG_PCI) += pci.o
22 obj-$(CONFIG_RAPIDIO) += rio.o
23 obj-$(CONFIG_KGDB) += ppc-stub.o
24 obj-$(CONFIG_SMP) += smp.o smp-tbsync.o
25 obj-$(CONFIG_TAU) += temp.o
27 obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o
29 obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
31 ifndef CONFIG_MATH_EMULATION
32 obj-$(CONFIG_8xx) += softemu8xx.o
35 # These are here while we do the architecture merge
39 obj-$(CONFIG_6xx) += l2cr.o cpu_setup_6xx.o
40 obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o
41 obj-$(CONFIG_MODULES) += module.o
42 obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o
43 obj-$(CONFIG_KGDB) += ppc-stub.o
44 obj-$(CONFIG_TAU) += temp.o
46 obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o