xref: /openbmc/linux/arch/powerpc/lib/Makefile (revision f78541dc)
114cf11afSPaul Mackerras#
214cf11afSPaul Mackerras# Makefile for ppc-specific library files..
314cf11afSPaul Mackerras#
414cf11afSPaul Mackerras
51a3c061eSStephen Rothwellifeq ($(CONFIG_PPC_MERGE),y)
6a2b0ca84SStephen Rothwellobj-y			:= string.o
71a3c061eSStephen Rothwellendif
840ef8cbcSPaul Mackerras
9a2b0ca84SStephen Rothwellobj-y			+= strcase.o
10a2b0ca84SStephen Rothwellobj-$(CONFIG_PPC32)	+= div64.o copy_32.o checksum_32.o
1112a39407SStephen Rothwellobj-$(CONFIG_PPC64)	+= checksum_64.o copypage_64.o copyuser_64.o \
12299f6ce4SStephen Rothwell			   memcpy_64.o usercopy_64.o mem_64.o
13454fb016SStephen Rothwellobj-$(CONFIG_PPC_ISERIES) += e2a.o
14f78541dcSPaul Mackerrasobj-$(CONFIG_XMON)	+= sstep.o
15f78541dcSPaul Mackerras
16ecc81e0fSStephen Rothwellifeq ($(CONFIG_PPC64),y)
17ecc81e0fSStephen Rothwellobj-$(CONFIG_SMP)	+= locks.o
18a0d8bf9cSStephen Rothwellobj-$(CONFIG_DEBUG_KERNEL) += sstep.o
19ecc81e0fSStephen Rothwellendif
20