blob: 2a88e8b9a3c6b4d31bef5514996bfbae43a7b9c0 [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
Kumar Galada3de6d2008-06-13 07:20:58 +100012obj-$(CONFIG_PPC32) += div64.o copy_32.o crtsavres.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 Mackerrasf78541d2005-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 Mackerrasf78541d2005-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
Michael Ellermanaaddd3e2008-06-24 11:32:21 +100027
28obj-y += code-patching.o
Michael Ellerman51c52e82008-06-24 11:32:36 +100029obj-y += feature-fixups.o
Michael Ellerman362e7702008-06-24 11:33:03 +100030obj-$(CONFIG_FTR_FIXUP_SELFTEST) += feature-fixups-test.o