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 130d4b6b90SPaul Mackerrasobj-$(CONFIG_HAS_IOMEM) += devres.o 141a3c061eSStephen Rothwellendif 1540ef8cbcSPaul Mackerras 162578bfaeSStephen Rothwellobj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \ 17ded220bdSDavid S. Miller memcpy_64.o usercopy_64.o mem_64.o string.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 261088a209SSylvain Munautobj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o 27