blob: 450258de7ca1215cdd9f2d63dea6e91053def2ee [file] [log] [blame]
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001#
2# Makefile for ppc-specific library files..
3#
4
Anton Blanchard8555a002006-06-10 20:23:54 +10005ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc
7endif
8
Stephen Rothwell1a3c0612005-10-27 16:25:05 +10009ifeq ($(CONFIG_PPC_MERGE),y)
David S. Millerded220b2007-03-29 01:18:42 -070010obj-y := string.o
David Gibsona0e60b22005-11-01 17:28:10 +110011obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o
Stephen Rothwell1a3c0612005-10-27 16:25:05 +100012endif
Paul Mackerras40ef8cb2005-10-10 22:50:37 +100013
Stephen Rothwell12a394072005-10-27 16:49:44 +100014obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \
David S. Millerded220b2007-03-29 01:18:42 -070015 memcpy_64.o usercopy_64.o mem_64.o string.o
Li Yang5e980822006-09-29 18:15:52 +080016obj-$(CONFIG_QUICC_ENGINE) += rheap.o
Paul Mackerrasf78541dc2005-10-28 22:53:37 +100017obj-$(CONFIG_XMON) += sstep.o
Kumar Gala82090032007-02-06 22:55:19 -060018obj-$(CONFIG_KPROBES) += sstep.o
Vitaly Bordug5902ebc2007-01-24 22:41:06 +030019obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
Paul Mackerrasf78541dc2005-10-28 22:53:37 +100020
Stephen Rothwellecc81e02005-10-27 16:45:38 +100021ifeq ($(CONFIG_PPC64),y)
22obj-$(CONFIG_SMP) += locks.o
23endif
Vitaly Bordugb0c110b2006-09-21 22:18:53 +040024
25# Temporary hack until we have migrated to asm-powerpc
26ifeq ($(CONFIG_PPC_MERGE),y)
Vitaly Bordug5902ebc2007-01-24 22:41:06 +030027obj-$(CONFIG_8xx) += rheap.o
Vitaly Bordugb0c110b2006-09-21 22:18:53 +040028obj-$(CONFIG_CPM2) += rheap.o
29endif