Makefile 1.7 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3
# Makefile for Sparc library files..
#

S
Sam Ravnborg 已提交
4 5
asflags-y := -ansi -DST_DIV0=0x02
ccflags-y := -Werror
L
Linus Torvalds 已提交
6

S
Sam Ravnborg 已提交
7 8
lib-$(CONFIG_SPARC32) += mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o
lib-$(CONFIG_SPARC32) += memcpy.o memset.o
D
David S. Miller 已提交
9
lib-y                 += strlen.o
S
Sam Ravnborg 已提交
10 11
lib-y                 += checksum_$(BITS).o
lib-$(CONFIG_SPARC32) += blockops.o
12
lib-y                 += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
S
Sam Ravnborg 已提交
13 14 15
lib-y                 += strncpy_from_user_$(BITS).o strlen_user_$(BITS).o
lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o
lib-$(CONFIG_SPARC32) += copy_user.o locks.o
16
lib-$(CONFIG_SPARC64) += atomic_64.o
S
Sam Ravnborg 已提交
17 18
lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o
lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o
D
David S. Miller 已提交
19

S
Sam Ravnborg 已提交
20
lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o
S
Sam Ravnborg 已提交
21 22 23 24 25 26 27 28 29 30 31 32 33
lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy_from_user.o csum_copy_to_user.o
lib-$(CONFIG_SPARC64) += VISsave.o
lib-$(CONFIG_SPARC64) += bitops.o

lib-$(CONFIG_SPARC64) += U1memcpy.o U1copy_from_user.o U1copy_to_user.o

lib-$(CONFIG_SPARC64) += U3memcpy.o U3copy_from_user.o U3copy_to_user.o
lib-$(CONFIG_SPARC64) += U3patch.o

lib-$(CONFIG_SPARC64) += NGmemcpy.o NGcopy_from_user.o NGcopy_to_user.o
lib-$(CONFIG_SPARC64) += NGpatch.o NGpage.o NGbzero.o

lib-$(CONFIG_SPARC64) += NG2memcpy.o NG2copy_from_user.o NG2copy_to_user.o
34
lib-$(CONFIG_SPARC64) +=  NG2patch.o
S
Sam Ravnborg 已提交
35 36 37 38 39

lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o
lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o

lib-$(CONFIG_SPARC64) += copy_in_user.o user_fixup.o memmove.o
40
lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
S
Sam Ravnborg 已提交
41

S
Sam Ravnborg 已提交
42 43
obj-y                 += iomap.o
obj-$(CONFIG_SPARC32) += atomic32.o
44
obj-y                 += ksyms.o
S
Sam Ravnborg 已提交
45
obj-$(CONFIG_SPARC64) += PeeCeeI.o
46
obj-y                 += usercopy.o