blob: dbe119b63b48ba968a503ee3bd40d3dceaa8ac13 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Makefile for Sparc library files..
2#
3
Sam Ravnborg18269c02008-12-03 03:07:00 -08004asflags-y := -ansi -DST_DIV0=0x02
5ccflags-y := -Werror
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
David S. Miller1b35a572012-05-15 11:23:01 -07007lib-$(CONFIG_SPARC32) += ashrdi3.o
Sam Ravnborg18269c02008-12-03 03:07:00 -08008lib-$(CONFIG_SPARC32) += memcpy.o memset.o
David S. Millerae984d72008-12-09 01:07:09 -08009lib-y += strlen.o
Sam Ravnborg18269c02008-12-03 03:07:00 -080010lib-y += checksum_$(BITS).o
11lib-$(CONFIG_SPARC32) += blockops.o
David S. Miller18cdae62008-12-09 04:09:07 -080012lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
Sam Ravnborg18269c02008-12-03 03:07:00 -080013lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o
14lib-$(CONFIG_SPARC32) += copy_user.o locks.o
David S. Miller73c13772012-05-13 13:07:16 -070015lib-$(CONFIG_SPARC64) += atomic_64.o
Sam Ravnborg18269c02008-12-03 03:07:00 -080016lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o
David S. Miller74c7b282012-05-19 15:27:01 -070017lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o
David S. Miller749805d2006-06-25 23:24:24 -070018
Sam Ravnborg62dfcd32009-01-17 23:12:27 -080019lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080020lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy_from_user.o csum_copy_to_user.o
21lib-$(CONFIG_SPARC64) += VISsave.o
22lib-$(CONFIG_SPARC64) += bitops.o
23
24lib-$(CONFIG_SPARC64) += U1memcpy.o U1copy_from_user.o U1copy_to_user.o
25
26lib-$(CONFIG_SPARC64) += U3memcpy.o U3copy_from_user.o U3copy_to_user.o
27lib-$(CONFIG_SPARC64) += U3patch.o
28
29lib-$(CONFIG_SPARC64) += NGmemcpy.o NGcopy_from_user.o NGcopy_to_user.o
30lib-$(CONFIG_SPARC64) += NGpatch.o NGpage.o NGbzero.o
31
32lib-$(CONFIG_SPARC64) += NG2memcpy.o NG2copy_from_user.o NG2copy_to_user.o
David S. Millere95ade02011-08-01 18:18:57 -070033lib-$(CONFIG_SPARC64) += NG2patch.o
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080034
David S. Millerae2c6ca2012-09-26 21:11:01 -070035lib-$(CONFIG_SPARC64) += NG4memcpy.o NG4copy_from_user.o NG4copy_to_user.o
David S. Miller9f825962012-10-05 13:45:26 -070036lib-$(CONFIG_SPARC64) += NG4patch.o NG4copy_page.o NG4clear_page.o NG4memset.o
David S. Millerae2c6ca2012-09-26 21:11:01 -070037
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080038lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o
39lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o
40
41lib-$(CONFIG_SPARC64) += copy_in_user.o user_fixup.o memmove.o
David S. Miller56d205c2011-08-02 20:23:34 -070042lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080043
Sam Ravnborg18269c02008-12-03 03:07:00 -080044obj-y += iomap.o
David S. Miller74c7b282012-05-19 15:27:01 -070045obj-$(CONFIG_SPARC32) += atomic32.o ucmpdi2.o
Sam Ravnborg45536ff2009-01-08 16:57:35 -080046obj-y += ksyms.o
Sam Ravnborg62dfcd32009-01-17 23:12:27 -080047obj-$(CONFIG_SPARC64) += PeeCeeI.o