powerpc: Merge smp.c and smp.h
[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-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_KGDB)              += ppc-stub.o
26 obj-$(CONFIG_SMP)               += smp.o smp-tbsync.o
27 obj-$(CONFIG_TAU)               += temp.o
28 ifndef CONFIG_E200
29 obj-$(CONFIG_FSL_BOOKE)         += perfmon_fsl_booke.o
30 endif
31 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
32
33 ifndef CONFIG_MATH_EMULATION
34 obj-$(CONFIG_8xx)               += softemu8xx.o
35 endif
36
37 # These are here while we do the architecture merge
38
39 else
40 obj-y                           := irq.o idle.o \
41                                         align.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_TAU)               += temp.o
49 ifndef CONFIG_E200
50 obj-$(CONFIG_FSL_BOOKE)         += perfmon_fsl_booke.o
51 endif
52 obj-$(CONFIG_KEXEC)             += machine_kexec.o relocate_kernel.o
53 endif