| 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 | 
| Stephen Rothwell | 1a3c061 | 2005-10-27 16:25:05 +1000 | [diff] [blame] | 13 | endif | 
| Paul Mackerras | 40ef8cb | 2005-10-10 22:50:37 +1000 | [diff] [blame] | 14 |  | 
| Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 15 | obj-$(CONFIG_PPC64)	+= copypage_64.o copyuser_64.o \ | 
| David S. Miller | ded220b | 2007-03-29 01:18:42 -0700 | [diff] [blame] | 16 | 			   memcpy_64.o usercopy_64.o mem_64.o string.o | 
| Paul Mackerras | f78541d | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 17 | obj-$(CONFIG_XMON)	+= sstep.o | 
| Kumar Gala | 8209003 | 2007-02-06 22:55:19 -0600 | [diff] [blame] | 18 | obj-$(CONFIG_KPROBES)	+= sstep.o | 
| Vitaly Bordug | 5902ebc | 2007-01-24 22:41:06 +0300 | [diff] [blame] | 19 | obj-$(CONFIG_NOT_COHERENT_CACHE)	+= dma-noncoherent.o | 
| Paul Mackerras | f78541d | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 20 |  | 
| Stephen Rothwell | ecc81e0 | 2005-10-27 16:45:38 +1000 | [diff] [blame] | 21 | ifeq ($(CONFIG_PPC64),y) | 
 | 22 | obj-$(CONFIG_SMP)	+= locks.o | 
 | 23 | endif | 
| Vitaly Bordug | b0c110b | 2006-09-21 22:18:53 +0400 | [diff] [blame] | 24 |  | 
| Sylvain Munaut | 1088a20 | 2007-09-16 20:53:25 +1000 | [diff] [blame] | 25 | obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o |