blob: 34f5c2e074c987ea3346ad1933c03e745328bb10 [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)
David Gibsona0e60b22005-11-01 17:28:10 +11006obj-y := string.o strcase.o
7obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o
Stephen Rothwell1a3c0612005-10-27 16:25:05 +10008endif
Paul Mackerras40ef8cb2005-10-10 22:50:37 +10009
David Gibsona0e60b22005-11-01 17:28:10 +110010obj-y += bitops.o
Stephen Rothwell12a39402005-10-27 16:49:44 +100011obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \
David Gibsona0e60b22005-11-01 17:28:10 +110012 memcpy_64.o usercopy_64.o mem_64.o string.o \
13 strcase.o
Stephen Rothwell454fb012005-10-27 16:28:43 +100014obj-$(CONFIG_PPC_ISERIES) += e2a.o
Paul Mackerrasf78541d2005-10-28 22:53:37 +100015obj-$(CONFIG_XMON) += sstep.o
16
Stephen Rothwellecc81e02005-10-27 16:45:38 +100017ifeq ($(CONFIG_PPC64),y)
18obj-$(CONFIG_SMP) += locks.o
Stephen Rothwella0d8bf92005-10-27 17:05:27 +100019obj-$(CONFIG_DEBUG_KERNEL) += sstep.o
Stephen Rothwellecc81e02005-10-27 16:45:38 +100020endif