Merge git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs
[linux-2.6] / arch / powerpc / platforms / cell / Makefile
1 obj-$(CONFIG_PPC_CELL_NATIVE)           += interrupt.o iommu.o setup.o \
2                                            cbe_regs.o spider-pic.o \
3                                            pervasive.o pmu.o io-workarounds.o \
4                                            spider-pci.o
5 obj-$(CONFIG_CBE_RAS)                   += ras.o
6
7 obj-$(CONFIG_CBE_THERM)                 += cbe_thermal.o
8 obj-$(CONFIG_CBE_CPUFREQ_PMI)           += cbe_cpufreq_pmi.o
9 obj-$(CONFIG_CBE_CPUFREQ)               += cbe-cpufreq.o
10 cbe-cpufreq-y                           += cbe_cpufreq_pervasive.o cbe_cpufreq.o
11
12 ifeq ($(CONFIG_SMP),y)
13 obj-$(CONFIG_PPC_CELL_NATIVE)           += smp.o
14 endif
15
16 # needed only when building loadable spufs.ko
17 spu-priv1-$(CONFIG_PPC_CELL_NATIVE)     += spu_priv1_mmio.o
18
19 spu-manage-$(CONFIG_PPC_CELLEB)         += spu_manage.o
20 spu-manage-$(CONFIG_PPC_CELL_NATIVE)    += spu_manage.o
21
22 obj-$(CONFIG_SPU_BASE)                  += spu_callbacks.o spu_base.o \
23                                            spu_notify.o \
24                                            spu_syscalls.o spu_fault.o \
25                                            $(spu-priv1-y) \
26                                            $(spu-manage-y) \
27                                            spufs/
28
29 obj-$(CONFIG_PCI_MSI)                   += axon_msi.o
30
31
32 # celleb stuff
33 ifeq ($(CONFIG_PPC_CELLEB),y)
34 obj-y                                   += celleb_setup.o \
35                                            celleb_pci.o celleb_scc_epci.o \
36                                            celleb_scc_pciex.o \
37                                            celleb_scc_uhc.o \
38                                            io-workarounds.o spider-pci.o \
39                                            beat.o beat_htab.o beat_hvCall.o \
40                                            beat_interrupt.o beat_iommu.o
41
42 obj-$(CONFIG_SMP)                       += beat_smp.o
43 obj-$(CONFIG_PPC_UDBG_BEAT)             += beat_udbg.o
44 obj-$(CONFIG_SERIAL_TXX9)               += celleb_scc_sio.o
45 obj-$(CONFIG_SPU_BASE)                  += beat_spu_priv1.o
46 endif