aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/Makefile
blob: d6a4863d4e7cd9dcf3845e6dd69839bf83a7fe80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# Makefile for the linux kernel.
#
ifneq ($(CONFIG_PPC_MERGE),y)

extra-$(CONFIG_PPC_STD_MMU)	:= head.o
extra-$(CONFIG_40x)		:= head_4xx.o
extra-$(CONFIG_44x)		:= head_44x.o
extra-$(CONFIG_FSL_BOOKE)	:= head_fsl_booke.o
extra-$(CONFIG_8xx)		:= head_8xx.o
extra-y				+= vmlinux.lds

obj-y				:= entry.o traps.o time.o misc.o \
					setup.o \
					ppc_htab.o
obj-$(CONFIG_SOFTWARE_SUSPEND)	+= swsusp.o
obj-$(CONFIG_MODULES)		+= module.o ppc_ksyms.o
obj-$(CONFIG_NOT_COHERENT_CACHE)	+= dma-mapping.o
obj-$(CONFIG_PCI)		+= pci.o
obj-$(CONFIG_RAPIDIO)		+= rio.o
obj-$(CONFIG_KGDB)		+= ppc-stub.o
obj-$(CONFIG_SMP)		+= smp.o smp-tbsync.o
ifndef CONFIG_E200
obj-$(CONFIG_FSL_BOOKE)		+= perfmon_fsl_booke.o
endif
obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o

ifndef CONFIG_MATH_EMULATION
obj-$(CONFIG_8xx)		+= softemu8xx.o
endif

# These are here while we do the architecture merge

else
obj-$(CONFIG_SOFTWARE_SUSPEND)	+= swsusp.o
obj-$(CONFIG_MODULES)		+= module.o
obj-$(CONFIG_NOT_COHERENT_CACHE)	+= dma-mapping.o
obj-$(CONFIG_KGDB)		+= ppc-stub.o
ifndef CONFIG_E200
obj-$(CONFIG_FSL_BOOKE)		+= perfmon_fsl_booke.o
endif
endif