blob: 0726235ef25da8293677065a0f3eb776dc22938e [file] [log] [blame]
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001#
2# Makefile for ppc-specific library files..
3#
4
Stephen Rothwell1a3c0612005-10-27 16:25:05 +10005ifeq ($(CONFIG_PPC_MERGE),y)
Stephen Rothwella2b0ca82005-10-27 17:12:52 +10006obj-y := string.o
Stephen Rothwella0d8bf92005-10-27 17:05:27 +10007obj-$(CONFIG_PPC64) += usercopy_64.o mem_64.o
Stephen Rothwell1a3c0612005-10-27 16:25:05 +10008endif
Paul Mackerras40ef8cb2005-10-10 22:50:37 +10009
Stephen Rothwella2b0ca82005-10-27 17:12:52 +100010obj-y += strcase.o
11obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o
Stephen Rothwell12a39402005-10-27 16:49:44 +100012obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \
13 memcpy_64.o
Stephen Rothwell454fb012005-10-27 16:28:43 +100014obj-$(CONFIG_PPC_ISERIES) += e2a.o
Stephen Rothwellecc81e02005-10-27 16:45:38 +100015ifeq ($(CONFIG_PPC64),y)
16obj-$(CONFIG_SMP) += locks.o
Stephen Rothwella0d8bf92005-10-27 17:05:27 +100017obj-$(CONFIG_DEBUG_KERNEL) += sstep.o
Stephen Rothwellecc81e02005-10-27 16:45:38 +100018endif