xref: /openbmc/linux/arch/powerpc/lib/Makefile (revision 454fb016)
114cf11afSPaul Mackerras#
214cf11afSPaul Mackerras# Makefile for ppc-specific library files..
314cf11afSPaul Mackerras#
414cf11afSPaul Mackerras
51a3c061eSStephen Rothwellifeq ($(CONFIG_PPC_MERGE),y)
614cf11afSPaul Mackerrasobj-y			:= strcase.o string.o
770d64ceaSPaul Mackerrasobj-$(CONFIG_PPC32)	+= div64.o copy_32.o checksum_32.o
870d64ceaSPaul Mackerrasobj-$(CONFIG_PPC64)	+= copypage_64.o copyuser_64.o memcpy_64.o \
91a3c061eSStephen Rothwell			   usercopy_64.o sstep.o mem_64.o
1040ef8cbcSPaul Mackerrasifeq ($(CONFIG_PPC64),y)
1140ef8cbcSPaul Mackerrasobj-$(CONFIG_SMP)	+= locks.o
1240ef8cbcSPaul Mackerrasendif
131a3c061eSStephen Rothwellendif
1440ef8cbcSPaul Mackerras
151a3c061eSStephen Rothwellobj-$(CONFIG_PPC64)	+= checksum_64.o
16454fb016SStephen Rothwellobj-$(CONFIG_PPC_ISERIES) += e2a.o
17