| Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1 | # | 
|  | 2 | # Makefile for ppc-specific library files.. | 
|  | 3 | # | 
|  | 4 |  | 
| Michael Ellerman | ba55bd7 | 2009-06-09 20:48:51 +0000 | [diff] [blame] | 5 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror | 
|  | 6 |  | 
| matt mooney | 4108d9b | 2010-09-22 20:51:09 +0000 | [diff] [blame] | 7 | ccflags-$(CONFIG_PPC64)	:= -mno-minimal-toc | 
| Anton Blanchard | 8555a00 | 2006-06-10 20:23:54 +1000 | [diff] [blame] | 8 |  | 
| Steven Rostedt | f1eecf0 | 2008-11-26 15:54:46 -0500 | [diff] [blame] | 9 | CFLAGS_REMOVE_code-patching.o = -pg | 
|  | 10 | CFLAGS_REMOVE_feature-fixups.o = -pg | 
|  | 11 |  | 
| Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 12 | obj-y			:= string.o alloc.o \ | 
| Stephen Rothwell | 7fca5dc | 2010-06-29 20:08:42 +0000 | [diff] [blame] | 13 | checksum_$(CONFIG_WORD_SIZE).o crtsavres.o | 
|  | 14 | obj-$(CONFIG_PPC32)	+= div64.o copy_32.o | 
| Paul Mackerras | 0d4b6b9 | 2008-05-12 22:57:51 +1000 | [diff] [blame] | 15 | obj-$(CONFIG_HAS_IOMEM)	+= devres.o | 
| Paul Mackerras | 40ef8cb | 2005-10-10 22:50:37 +1000 | [diff] [blame] | 16 |  | 
| Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 17 | obj-$(CONFIG_PPC64)	+= copypage_64.o copyuser_64.o \ | 
| Anton Blanchard | fdd374b | 2010-08-02 20:09:52 +0000 | [diff] [blame] | 18 | memcpy_64.o usercopy_64.o mem_64.o string.o \ | 
| Anton Blanchard | a66086b | 2011-12-07 20:11:45 +0000 | [diff] [blame] | 19 | checksum_wrappers_64.o hweight_64.o \ | 
| Anton Blanchard | b3f271e | 2012-05-30 20:22:09 +0000 | [diff] [blame] | 20 | copyuser_power7.o string_64.o copypage_power7.o \ | 
|  | 21 | memcpy_power7.o | 
| Paul Mackerras | 0016a4c | 2010-06-15 14:48:58 +1000 | [diff] [blame] | 22 | obj-$(CONFIG_XMON)	+= sstep.o ldstfp.o | 
|  | 23 | obj-$(CONFIG_KPROBES)	+= sstep.o ldstfp.o | 
| K.Prasad | 5aae8a5 | 2010-06-15 11:35:19 +0530 | [diff] [blame] | 24 | obj-$(CONFIG_HAVE_HW_BREAKPOINT)	+= sstep.o ldstfp.o | 
| Paul Mackerras | f78541d | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 25 |  | 
| Stephen Rothwell | ecc81e0 | 2005-10-27 16:45:38 +1000 | [diff] [blame] | 26 | ifeq ($(CONFIG_PPC64),y) | 
|  | 27 | obj-$(CONFIG_SMP)	+= locks.o | 
| Anton Blanchard | 6f7839e | 2012-05-29 19:31:24 +0000 | [diff] [blame] | 28 | obj-$(CONFIG_ALTIVEC)	+= vmx-helper.o | 
| Stephen Rothwell | ecc81e0 | 2005-10-27 16:45:38 +1000 | [diff] [blame] | 29 | endif | 
| Vitaly Bordug | b0c110b | 2006-09-21 22:18:53 +0400 | [diff] [blame] | 30 |  | 
| Sylvain Munaut | 1088a20 | 2007-09-16 20:53:25 +1000 | [diff] [blame] | 31 | obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o | 
| Michael Ellerman | aaddd3e | 2008-06-24 11:32:21 +1000 | [diff] [blame] | 32 |  | 
|  | 33 | obj-y			+= code-patching.o | 
| Michael Ellerman | 51c52e8 | 2008-06-24 11:32:36 +1000 | [diff] [blame] | 34 | obj-y			+= feature-fixups.o | 
| Michael Ellerman | 362e770 | 2008-06-24 11:33:03 +1000 | [diff] [blame] | 35 | obj-$(CONFIG_FTR_FIXUP_SELFTEST) += feature-fixups-test.o |