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-$(CONFIG_POWER4) += idle_power4.o
13 extra-y += vmlinux.lds
15 obj-y := entry.o traps.o idle.o time.o misc.o \
19 obj-$(CONFIG_6xx) += l2cr.o cpu_setup_6xx.o
20 obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o
21 obj-$(CONFIG_POWER4) += cpu_setup_power4.o
22 obj-$(CONFIG_MODULES) += module.o ppc_ksyms.o
23 obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o
24 obj-$(CONFIG_PCI) += pci.o
25 obj-$(CONFIG_RAPIDIO) += rio.o
26 obj-$(CONFIG_KGDB) += ppc-stub.o
27 obj-$(CONFIG_SMP) += smp.o smp-tbsync.o
28 obj-$(CONFIG_TAU) += temp.o
30 obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o
32 obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
34 ifndef CONFIG_MATH_EMULATION
35 obj-$(CONFIG_8xx) += softemu8xx.o
38 # These are here while we do the architecture merge
42 obj-$(CONFIG_6xx) += l2cr.o cpu_setup_6xx.o
43 obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o
44 obj-$(CONFIG_MODULES) += module.o
45 obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o
46 obj-$(CONFIG_PCI) += pci.o
47 obj-$(CONFIG_KGDB) += ppc-stub.o
48 obj-$(CONFIG_TAU) += temp.o
50 obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o
52 obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o