blob: 063556fe2cb1d8877c0a6028621658e6dd041d07 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002# Makefile for Sparc library files..
3#
4
Sam Ravnborg18269c02008-12-03 03:07:00 -08005asflags-y := -ansi -DST_DIV0=0x02
6ccflags-y := -Werror
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
David S. Miller1b35a572012-05-15 11:23:01 -07008lib-$(CONFIG_SPARC32) += ashrdi3.o
Sam Ravnborg18269c02008-12-03 03:07:00 -08009lib-$(CONFIG_SPARC32) += memcpy.o memset.o
David S. Millerae984d72008-12-09 01:07:09 -080010lib-y += strlen.o
Sam Ravnborg18269c02008-12-03 03:07:00 -080011lib-y += checksum_$(BITS).o
12lib-$(CONFIG_SPARC32) += blockops.o
David S. Miller18cdae62008-12-09 04:09:07 -080013lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
Sam Ravnborg18269c02008-12-03 03:07:00 -080014lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o
15lib-$(CONFIG_SPARC32) += copy_user.o locks.o
David S. Miller73c13772012-05-13 13:07:16 -070016lib-$(CONFIG_SPARC64) += atomic_64.o
Sam Ravnborg18269c02008-12-03 03:07:00 -080017lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o
David S. Miller74c7b282012-05-19 15:27:01 -070018lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o
David S. Miller1b4af132017-06-05 11:28:57 -070019lib-$(CONFIG_SPARC64) += multi3.o
Vijay Kumar41413a62017-10-11 12:50:02 -060020lib-$(CONFIG_SPARC64) += fls.o
Vijay Kumarbe52bbe2017-10-11 12:50:03 -060021lib-$(CONFIG_SPARC64) += fls64.o
David S. Millere5372cd2017-11-29 15:09:29 -050022lib-$(CONFIG_SPARC64) += NG4fls.o
David S. Miller749805d2006-06-25 23:24:24 -070023
Sam Ravnborg62dfcd32009-01-17 23:12:27 -080024lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080025lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy_from_user.o csum_copy_to_user.o
26lib-$(CONFIG_SPARC64) += VISsave.o
27lib-$(CONFIG_SPARC64) += bitops.o
28
29lib-$(CONFIG_SPARC64) += U1memcpy.o U1copy_from_user.o U1copy_to_user.o
30
31lib-$(CONFIG_SPARC64) += U3memcpy.o U3copy_from_user.o U3copy_to_user.o
32lib-$(CONFIG_SPARC64) += U3patch.o
33
34lib-$(CONFIG_SPARC64) += NGmemcpy.o NGcopy_from_user.o NGcopy_to_user.o
35lib-$(CONFIG_SPARC64) += NGpatch.o NGpage.o NGbzero.o
36
37lib-$(CONFIG_SPARC64) += NG2memcpy.o NG2copy_from_user.o NG2copy_to_user.o
David S. Millere95ade02011-08-01 18:18:57 -070038lib-$(CONFIG_SPARC64) += NG2patch.o
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080039
David S. Millerae2c6ca2012-09-26 21:11:01 -070040lib-$(CONFIG_SPARC64) += NG4memcpy.o NG4copy_from_user.o NG4copy_to_user.o
David S. Miller9f825962012-10-05 13:45:26 -070041lib-$(CONFIG_SPARC64) += NG4patch.o NG4copy_page.o NG4clear_page.o NG4memset.o
David S. Millerae2c6ca2012-09-26 21:11:01 -070042
Babu Mogerde5c0732017-08-07 17:52:49 -060043lib-$(CONFIG_SPARC64) += Memcpy_utils.o
44
Babu Mogerb3a04ed2017-08-07 17:52:51 -060045lib-$(CONFIG_SPARC64) += M7memcpy.o M7copy_from_user.o M7copy_to_user.o
46lib-$(CONFIG_SPARC64) += M7patch.o M7memset.o
47
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080048lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o
49lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o
50
David S. Miller0fd0ff02016-10-24 21:25:31 -070051lib-$(CONFIG_SPARC64) += copy_in_user.o memmove.o
David S. Miller56d205c2011-08-02 20:23:34 -070052lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
Sam Ravnborg478b8fe2008-12-03 03:10:25 -080053
Sam Ravnborge1039fb2014-04-26 09:57:36 +020054obj-$(CONFIG_SPARC64) += iomap.o
David S. Miller74c7b282012-05-19 15:27:01 -070055obj-$(CONFIG_SPARC32) += atomic32.o ucmpdi2.o
Sam Ravnborg62dfcd32009-01-17 23:12:27 -080056obj-$(CONFIG_SPARC64) += PeeCeeI.o