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 irq.o idle.o time.o misc.o \
16 process.o signal.o align.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_KGDB) += ppc-stub.o
26 obj-$(CONFIG_SMP) += smp.o smp-tbsync.o
27 obj-$(CONFIG_TAU) += temp.o
29 obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o
31 obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
33 ifndef CONFIG_MATH_EMULATION
34 obj-$(CONFIG_8xx) += softemu8xx.o
37 # These are here while we do the architecture merge
40 obj-y := irq.o idle.o time.o \
41 signal.o align.o perfmon.o
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_SMP) += smp.o smp-tbsync.o
49 obj-$(CONFIG_TAU) += temp.o
51 obj-$(CONFIG_FSL_BOOKE) += perfmon_fsl_booke.o
53 obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o