xref: /openbmc/linux/arch/powerpc/lib/Makefile (revision a0e60b20)
114cf11afSPaul Mackerras#
214cf11afSPaul Mackerras# Makefile for ppc-specific library files..
314cf11afSPaul Mackerras#
414cf11afSPaul Mackerras
51a3c061eSStephen Rothwellifeq ($(CONFIG_PPC_MERGE),y)
6a0e60b20SDavid Gibsonobj-y			:= string.o strcase.o
7a0e60b20SDavid Gibsonobj-$(CONFIG_PPC32)	+= div64.o copy_32.o checksum_32.o
81a3c061eSStephen Rothwellendif
940ef8cbcSPaul Mackerras
10a0e60b20SDavid Gibsonobj-y			+= bitops.o
1112a39407SStephen Rothwellobj-$(CONFIG_PPC64)	+= checksum_64.o copypage_64.o copyuser_64.o \
12a0e60b20SDavid Gibson			   memcpy_64.o usercopy_64.o mem_64.o string.o \
13a0e60b20SDavid Gibson			   strcase.o
14454fb016SStephen Rothwellobj-$(CONFIG_PPC_ISERIES) += e2a.o
15f78541dcSPaul Mackerrasobj-$(CONFIG_XMON)	+= sstep.o
16f78541dcSPaul Mackerras
17ecc81e0fSStephen Rothwellifeq ($(CONFIG_PPC64),y)
18ecc81e0fSStephen Rothwellobj-$(CONFIG_SMP)	+= locks.o
19a0d8bf9cSStephen Rothwellobj-$(CONFIG_DEBUG_KERNEL) += sstep.o
20ecc81e0fSStephen Rothwellendif
21