Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for ppc-specific library files.. |
| 3 | # |
| 4 | |
Anton Blanchard | 8555a00 | 2006-06-10 20:23:54 +1000 | [diff] [blame] | 5 | ifeq ($(CONFIG_PPC64),y) |
| 6 | EXTRA_CFLAGS += -mno-minimal-toc |
| 7 | endif |
| 8 | |
Stephen Rothwell | 1a3c061 | 2005-10-27 16:25:05 +1000 | [diff] [blame] | 9 | ifeq ($(CONFIG_PPC_MERGE),y) |
Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 10 | obj-y := string.o alloc.o \ |
| 11 | checksum_$(CONFIG_WORD_SIZE).o |
| 12 | obj-$(CONFIG_PPC32) += div64.o copy_32.o |
Paul Mackerras | 0d4b6b9 | 2008-05-12 22:57:51 +1000 | [diff] [blame^] | 13 | obj-$(CONFIG_HAS_IOMEM) += devres.o |
Stephen Rothwell | 1a3c061 | 2005-10-27 16:25:05 +1000 | [diff] [blame] | 14 | endif |
Paul Mackerras | 40ef8cb | 2005-10-10 22:50:37 +1000 | [diff] [blame] | 15 | |
Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 16 | obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \ |
David S. Miller | ded220b | 2007-03-29 01:18:42 -0700 | [diff] [blame] | 17 | memcpy_64.o usercopy_64.o mem_64.o string.o |
Paul Mackerras | f78541d | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 18 | obj-$(CONFIG_XMON) += sstep.o |
Kumar Gala | 8209003 | 2007-02-06 22:55:19 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_KPROBES) += sstep.o |
Vitaly Bordug | 5902ebc | 2007-01-24 22:41:06 +0300 | [diff] [blame] | 20 | obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o |
Paul Mackerras | f78541d | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 21 | |
Stephen Rothwell | ecc81e0 | 2005-10-27 16:45:38 +1000 | [diff] [blame] | 22 | ifeq ($(CONFIG_PPC64),y) |
| 23 | obj-$(CONFIG_SMP) += locks.o |
| 24 | endif |
Vitaly Bordug | b0c110b | 2006-09-21 22:18:53 +0400 | [diff] [blame] | 25 | |
Sylvain Munaut | 1088a20 | 2007-09-16 20:53:25 +1000 | [diff] [blame] | 26 | obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o |