114cf11afSPaul Mackerras# 214cf11afSPaul Mackerras# Makefile for ppc-specific library files.. 314cf11afSPaul Mackerras# 414cf11afSPaul Mackerras 58555a002SAnton Blanchardifeq ($(CONFIG_PPC64),y) 68555a002SAnton BlanchardEXTRA_CFLAGS += -mno-minimal-toc 78555a002SAnton Blanchardendif 88555a002SAnton Blanchard 91a3c061eSStephen Rothwellifeq ($(CONFIG_PPC_MERGE),y) 102578bfaeSStephen Rothwellobj-y := string.o alloc.o \ 112578bfaeSStephen Rothwell checksum_$(CONFIG_WORD_SIZE).o 122578bfaeSStephen Rothwellobj-$(CONFIG_PPC32) += div64.o copy_32.o 131a3c061eSStephen Rothwellendif 1440ef8cbcSPaul Mackerras 152578bfaeSStephen Rothwellobj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \ 16ded220bdSDavid S. Miller memcpy_64.o usercopy_64.o mem_64.o string.o 175e980823SLi Yangobj-$(CONFIG_QUICC_ENGINE) += rheap.o 18f78541dcSPaul Mackerrasobj-$(CONFIG_XMON) += sstep.o 1982090035SKumar Galaobj-$(CONFIG_KPROBES) += sstep.o 205902ebceSVitaly Bordugobj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o 21f78541dcSPaul Mackerras 22ecc81e0fSStephen Rothwellifeq ($(CONFIG_PPC64),y) 23ecc81e0fSStephen Rothwellobj-$(CONFIG_SMP) += locks.o 24ecc81e0fSStephen Rothwellendif 25b0c110b4SVitaly Bordug 26b0c110b4SVitaly Bordug# Temporary hack until we have migrated to asm-powerpc 275902ebceSVitaly Bordugobj-$(CONFIG_8xx) += rheap.o 28b0c110b4SVitaly Bordugobj-$(CONFIG_CPM2) += rheap.o 29