xref: /linux/arch/sparc/lib/Makefile (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for Sparc library files..
3#
4
5asflags-y := -ansi -DST_DIV0=0x02
6ccflags-y := -Werror
7
8lib-$(CONFIG_SPARC32) += ashrdi3.o
9lib-$(CONFIG_SPARC32) += memcpy.o memset.o
10lib-y                 += strlen.o
11lib-y                 += checksum_$(BITS).o
12lib-$(CONFIG_SPARC32) += blockops.o
13lib-y                 += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
14lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o
15lib-$(CONFIG_SPARC32) += copy_user.o locks.o
16lib-$(CONFIG_SPARC64) += atomic_64.o
17lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o
18lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o
19lib-$(CONFIG_SPARC64) += multi3.o
20lib-$(CONFIG_SPARC64) += fls.o
21lib-$(CONFIG_SPARC64) += fls64.o
22lib-$(CONFIG_SPARC64) += NG4fls.o
23
24lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o
25lib-$(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
38lib-$(CONFIG_SPARC64) +=  NG2patch.o
39
40lib-$(CONFIG_SPARC64) += NG4memcpy.o NG4copy_from_user.o NG4copy_to_user.o
41lib-$(CONFIG_SPARC64) +=  NG4patch.o NG4copy_page.o NG4clear_page.o NG4memset.o
42
43lib-$(CONFIG_SPARC64) += Memcpy_utils.o
44
45lib-$(CONFIG_SPARC64) += M7memcpy.o M7copy_from_user.o M7copy_to_user.o
46lib-$(CONFIG_SPARC64) += M7patch.o M7memset.o
47
48lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o
49lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o
50
51lib-$(CONFIG_SPARC64) += copy_in_user.o memmove.o
52lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
53
54obj-$(CONFIG_SPARC64) += iomap.o
55obj-$(CONFIG_SPARC32) += atomic32.o ucmpdi2.o
56obj-$(CONFIG_SPARC64) += PeeCeeI.o
57