114cf11afSPaul Mackerras# 214cf11afSPaul Mackerras# Makefile for ppc-specific library files.. 314cf11afSPaul Mackerras# 414cf11afSPaul Mackerras 5ba55bd74SMichael Ellermansubdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror 6ba55bd74SMichael Ellerman 78555a002SAnton Blanchardifeq ($(CONFIG_PPC64),y) 88555a002SAnton BlanchardEXTRA_CFLAGS += -mno-minimal-toc 98555a002SAnton Blanchardendif 108555a002SAnton Blanchard 11f1eecf0eSSteven RostedtCFLAGS_REMOVE_code-patching.o = -pg 12f1eecf0eSSteven RostedtCFLAGS_REMOVE_feature-fixups.o = -pg 13f1eecf0eSSteven Rostedt 142578bfaeSStephen Rothwellobj-y := string.o alloc.o \ 152578bfaeSStephen Rothwell checksum_$(CONFIG_WORD_SIZE).o 16da3de6dfSKumar Galaobj-$(CONFIG_PPC32) += div64.o copy_32.o crtsavres.o 170d4b6b90SPaul Mackerrasobj-$(CONFIG_HAS_IOMEM) += devres.o 1840ef8cbcSPaul Mackerras 192578bfaeSStephen Rothwellobj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \ 20ded220bdSDavid S. Miller memcpy_64.o usercopy_64.o mem_64.o string.o 210016a4cfSPaul Mackerrasobj-$(CONFIG_XMON) += sstep.o ldstfp.o 220016a4cfSPaul Mackerrasobj-$(CONFIG_KPROBES) += sstep.o ldstfp.o 23*5aae8a53SK.Prasadobj-$(CONFIG_HAVE_HW_BREAKPOINT) += sstep.o ldstfp.o 24f78541dcSPaul Mackerras 25ecc81e0fSStephen Rothwellifeq ($(CONFIG_PPC64),y) 26ecc81e0fSStephen Rothwellobj-$(CONFIG_SMP) += locks.o 27ecc81e0fSStephen Rothwellendif 28b0c110b4SVitaly Bordug 291088a209SSylvain Munautobj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o 30aaddd3eaSMichael Ellerman 31aaddd3eaSMichael Ellermanobj-y += code-patching.o 3251c52e86SMichael Ellermanobj-y += feature-fixups.o 33362e7701SMichael Ellermanobj-$(CONFIG_FTR_FIXUP_SELFTEST) += feature-fixups-test.o 34