blob: c71d37dc6a88220d41b14480cbdf2a6ae692dcd8 [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)
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100010obj-y := string.o alloc.o \
11 checksum_$(CONFIG_WORD_SIZE).o
12obj-$(CONFIG_PPC32) += div64.o copy_32.o
Paul Mackerras0d4b6b92008-05-12 22:57:51 +100013obj-$(CONFIG_HAS_IOMEM) += devres.o
Stephen Rothwell1a3c0612005-10-27 16:25:05 +100014endif
Paul Mackerras40ef8cb2005-10-10 22:50:37 +100015
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100016obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \
David S. Millerded220b2007-03-29 01:18:42 -070017 memcpy_64.o usercopy_64.o mem_64.o string.o
Paul Mackerrasf78541dc2005-10-28 22:53:37 +100018obj-$(CONFIG_XMON) += sstep.o
Kumar Gala82090032007-02-06 22:55:19 -060019obj-$(CONFIG_KPROBES) += sstep.o
Vitaly Bordug5902ebc2007-01-24 22:41:06 +030020obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
Paul Mackerrasf78541dc2005-10-28 22:53:37 +100021
Stephen Rothwellecc81e02005-10-27 16:45:38 +100022ifeq ($(CONFIG_PPC64),y)
23obj-$(CONFIG_SMP) += locks.o
24endif
Vitaly Bordugb0c110b2006-09-21 22:18:53 +040025
Sylvain Munaut1088a202007-09-16 20:53:25 +100026obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o