114cf11afSPaul Mackerras# 214cf11afSPaul Mackerras# Makefile for the linux kernel. 314cf11afSPaul Mackerras# 414cf11afSPaul Mackerras 5*bd142b70SStephen Rothwellifeq ($(CONFIG_PPC64),y) 6*bd142b70SStephen RothwellEXTRA_CFLAGS += -mno-minimal-toc 7*bd142b70SStephen Rothwellendif 8*bd142b70SStephen Rothwell 914cf11afSPaul Mackerrasextra-$(CONFIG_PPC_STD_MMU) := head.o 1014cf11afSPaul Mackerrasextra_$(CONFIG_PPC64) := head_64.o 1114cf11afSPaul Mackerrasextra-$(CONFIG_40x) := head_4xx.o 1214cf11afSPaul Mackerrasextra-$(CONFIG_44x) := head_44x.o 1314cf11afSPaul Mackerrasextra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 1414cf11afSPaul Mackerrasextra-$(CONFIG_8xx) := head_8xx.o 1514cf11afSPaul Mackerrasextra-$(CONFIG_6xx) += idle_6xx.o 1614cf11afSPaul Mackerrasextra-$(CONFIG_PPC_FPU) += fpu.o 1714cf11afSPaul Mackerrasextra-y += vmlinux.lds 1814cf11afSPaul Mackerras 19*bd142b70SStephen Rothwellobj-y := traps.o 20*bd142b70SStephen Rothwellobj-$(CONFIG_PPC32) += semaphore.o process.o 21*bd142b70SStephen Rothwellobj-$(CONFIG_PPC64) += idle_power4.o 22*bd142b70SStephen Rothwellifeq ($(CONFIG_PPC32),y) 2320c8c210SPaul Mackerrasobj-$(CONFIG_MODULES) += ppc_ksyms.o 24*bd142b70SStephen Rothwellendif 2514cf11afSPaul Mackerrasobj-$(CONFIG_ALTIVEC) += vecemu.o vector.o 26