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 |
Paul Mackerras | f78541dc | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 17 | obj-$(CONFIG_XMON) += sstep.o |
| 18 | |
Stephen Rothwell | ecc81e0 | 2005-10-27 16:45:38 +1000 | [diff] [blame] | 19 | ifeq ($(CONFIG_PPC64),y) |
| 20 | obj-$(CONFIG_SMP) += locks.o |
Stephen Rothwell | a0d8bf9 | 2005-10-27 17:05:27 +1000 | [diff] [blame] | 21 | obj-$(CONFIG_DEBUG_KERNEL) += sstep.o |
Stephen Rothwell | ecc81e0 | 2005-10-27 16:45:38 +1000 | [diff] [blame] | 22 | endif |
Vitaly Bordug | b0c110b | 2006-09-21 22:18:53 +0400 | [diff] [blame^] | 23 | |
| 24 | # Temporary hack until we have migrated to asm-powerpc |
| 25 | ifeq ($(CONFIG_PPC_MERGE),y) |
| 26 | obj-$(CONFIG_CPM2) += rheap.o |
| 27 | endif |