[PATCH] RapidIO support: ppc32
[linux-2.6.git] / arch / ppc / kernel / Makefile
1 #
2 # Makefile for the linux kernel.
3 #
4 ifneq ($(CONFIG_PPC_MERGE),y)
5
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
14
15 obj-y                           := entry.o traps.o irq.o idle.o time.o misc.o \
16                                         process.o align.o \
17                                         setup.o \
18                                         ppc_htab.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
29 ifndef CONFIG_E200
30 obj-$(CONFIG_FSL_BOOKE)         += perfmon_fsl_booke.o
31 endif
32 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
33
34 ifndef CONFIG_MATH_EMULATION
35 obj-$(CONFIG_8xx)               += softemu8xx.o
36 endif
37
38 # These are here while we do the architecture merge
39
40 else
41 obj-y                           := irq.o idle.o \
42                                         align.o
43 obj-$(CONFIG_6xx)               += l2cr.o cpu_setup_6xx.o
44 obj-$(CONFIG_SOFTWARE_SUSPEND)  += swsusp.o
45 obj-$(CONFIG_MODULES)           += module.o
46 obj-$(CONFIG_NOT_COHERENT_CACHE)        += dma-mapping.o
47 obj-$(CONFIG_PCI)               += pci.o
48 obj-$(CONFIG_KGDB)              += ppc-stub.o
49 obj-$(CONFIG_TAU)               += temp.o
50 ifndef CONFIG_E200
51 obj-$(CONFIG_FSL_BOOKE)         += perfmon_fsl_booke.o
52 endif
53 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
54 endif