blob: 4bb023f4c8690f332152eb00706f4f7cfa85f3e8 [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
Stephen Rothwell1a3c0612005-10-27 16:25:05 +100013endif
Paul Mackerras40ef8cb2005-10-10 22:50:37 +100014
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100015obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \
David S. Millerded220b2007-03-29 01:18:42 -070016 memcpy_64.o usercopy_64.o mem_64.o string.o
Paul Mackerrasf78541d2005-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 Mackerrasf78541d2005-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
Sylvain Munaut1088a202007-09-16 20:53:25 +100025obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o