Makefile 1.9 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3
#
# Makefile for the linux kernel.
#
4
ifneq ($(CONFIG_PPC_MERGE),y)
L
Linus Torvalds 已提交
5 6 7 8 9 10 11 12

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-$(CONFIG_6xx)		+= idle_6xx.o
extra-$(CONFIG_POWER4)		+= idle_power4.o
13
extra-$(CONFIG_PPC_FPU)		+= fpu.o
L
Linus Torvalds 已提交
14 15 16 17 18
extra-y				+= vmlinux.lds

obj-y				:= entry.o traps.o irq.o idle.o time.o misc.o \
					process.o signal.o ptrace.o align.o \
					semaphore.o syscalls.o setup.o \
19
					cputable.o ppc_htab.o perfmon.o
L
Linus Torvalds 已提交
20 21 22 23 24 25 26 27 28 29
obj-$(CONFIG_6xx)		+= l2cr.o cpu_setup_6xx.o
obj-$(CONFIG_SOFTWARE_SUSPEND)	+= swsusp.o
obj-$(CONFIG_POWER4)		+= cpu_setup_power4.o
obj-$(CONFIG_MODULES)		+= module.o ppc_ksyms.o
obj-$(CONFIG_NOT_COHERENT_CACHE)	+= dma-mapping.o
obj-$(CONFIG_PCI)		+= pci.o
obj-$(CONFIG_KGDB)		+= ppc-stub.o
obj-$(CONFIG_SMP)		+= smp.o smp-tbsync.o
obj-$(CONFIG_TAU)		+= temp.o
obj-$(CONFIG_ALTIVEC)		+= vecemu.o vector.o
30
ifndef CONFIG_E200
L
Linus Torvalds 已提交
31
obj-$(CONFIG_FSL_BOOKE)		+= perfmon_fsl_booke.o
32
endif
33
obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o
L
Linus Torvalds 已提交
34 35 36 37 38

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

39 40
# These are here while we do the architecture merge
vecemu-y			+= ../../powerpc/kernel/vecemu.o
41
vector-y			+= ../../powerpc/kernel/vector.o
42
fpu-y				+= ../../powerpc/kernel/fpu.o
43 44 45 46 47 48 49 50 51

else
obj-y				:= entry.o irq.o idle.o time.o misc.o \
					signal.o ptrace.o align.o \
					syscalls.o setup.o \
					cputable.o perfmon.o
obj-$(CONFIG_6xx)		+= l2cr.o cpu_setup_6xx.o
obj-$(CONFIG_SOFTWARE_SUSPEND)	+= swsusp.o
obj-$(CONFIG_POWER4)		+= cpu_setup_power4.o
52
obj-$(CONFIG_MODULES)		+= module.o
53 54 55 56 57 58 59 60 61 62
obj-$(CONFIG_NOT_COHERENT_CACHE)	+= dma-mapping.o
obj-$(CONFIG_PCI)		+= pci.o
obj-$(CONFIG_KGDB)		+= ppc-stub.o
obj-$(CONFIG_SMP)		+= smp.o smp-tbsync.o
obj-$(CONFIG_TAU)		+= temp.o
ifndef CONFIG_E200
obj-$(CONFIG_FSL_BOOKE)		+= perfmon_fsl_booke.o
endif
obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o
endif