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) |
David Gibson | a0e60b2 | 2005-11-01 17:28:10 +1100 | [diff] [blame] | 10 | obj-y := string.o strcase.o |
| 11 | obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o |
Stephen Rothwell | 1a3c061 | 2005-10-27 16:25:05 +1000 | [diff] [blame] | 12 | endif |
Paul Mackerras | 40ef8cb | 2005-10-10 22:50:37 +1000 | [diff] [blame] | 13 | |
Stephen Rothwell | 12a39407 | 2005-10-27 16:49:44 +1000 | [diff] [blame] | 14 | obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \ |
David Gibson | a0e60b2 | 2005-11-01 17:28:10 +1100 | [diff] [blame] | 15 | memcpy_64.o usercopy_64.o mem_64.o string.o \ |
| 16 | strcase.o |
Li Yang | 5e98082 | 2006-09-29 18:15:52 +0800 | [diff] [blame] | 17 | obj-$(CONFIG_QUICC_ENGINE) += rheap.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 | |
| 26 | # Temporary hack until we have migrated to asm-powerpc |
| 27 | ifeq ($(CONFIG_PPC_MERGE),y) |
Vitaly Bordug | 5902ebc | 2007-01-24 22:41:06 +0300 | [diff] [blame] | 28 | obj-$(CONFIG_8xx) += rheap.o |
Vitaly Bordug | b0c110b | 2006-09-21 22:18:53 +0400 | [diff] [blame] | 29 | obj-$(CONFIG_CPM2) += rheap.o |
| 30 | endif |