powerpc: remove old vector.S files
[linux-2.6] / 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-$(CONFIG_PPC_FPU)         += fpu.o
14 extra-y                         += vmlinux.lds
15
16 obj-y                           := entry.o traps.o irq.o idle.o time.o misc.o \
17                                         process.o signal.o ptrace.o align.o \
18                                         semaphore.o syscalls.o setup.o \
19                                         cputable.o ppc_htab.o perfmon.o
20 obj-$(CONFIG_6xx)               += l2cr.o cpu_setup_6xx.o
21 obj-$(CONFIG_SOFTWARE_SUSPEND)  += swsusp.o
22 obj-$(CONFIG_POWER4)            += cpu_setup_power4.o
23 obj-$(CONFIG_MODULES)           += module.o ppc_ksyms.o
24 obj-$(CONFIG_NOT_COHERENT_CACHE)        += dma-mapping.o
25 obj-$(CONFIG_PCI)               += pci.o
26 obj-$(CONFIG_KGDB)              += ppc-stub.o
27 obj-$(CONFIG_SMP)               += smp.o smp-tbsync.o
28 obj-$(CONFIG_TAU)               += temp.o
29 obj-$(CONFIG_ALTIVEC)           += vecemu.o vector.o
30 ifndef CONFIG_E200
31 obj-$(CONFIG_FSL_BOOKE)         += perfmon_fsl_booke.o
32 endif
33 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
34
35 ifndef CONFIG_MATH_EMULATION
36 obj-$(CONFIG_8xx)               += softemu8xx.o
37 endif
38
39 # These are here while we do the architecture merge
40 vecemu-y                        += ../../powerpc/kernel/vecemu.o
41 vector-y                        += ../../powerpc/kernel/vector.o
42
43 else
44 obj-y                           := entry.o irq.o idle.o time.o misc.o \
45                                         signal.o ptrace.o align.o \
46                                         syscalls.o setup.o \
47                                         cputable.o perfmon.o
48 obj-$(CONFIG_6xx)               += l2cr.o cpu_setup_6xx.o
49 obj-$(CONFIG_SOFTWARE_SUSPEND)  += swsusp.o
50 obj-$(CONFIG_POWER4)            += cpu_setup_power4.o
51 obj-$(CONFIG_MODULES)           += module.o
52 obj-$(CONFIG_NOT_COHERENT_CACHE)        += dma-mapping.o
53 obj-$(CONFIG_PCI)               += pci.o
54 obj-$(CONFIG_KGDB)              += ppc-stub.o
55 obj-$(CONFIG_SMP)               += smp.o smp-tbsync.o
56 obj-$(CONFIG_TAU)               += temp.o
57 ifndef CONFIG_E200
58 obj-$(CONFIG_FSL_BOOKE)         += perfmon_fsl_booke.o
59 endif
60 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
61 endif