Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # Makefile for Sparc library files.. |
| 2 | # |
| 3 | |
Sam Ravnborg | 18269c0 | 2008-12-03 03:07:00 -0800 | [diff] [blame] | 4 | asflags-y := -ansi -DST_DIV0=0x02 |
| 5 | ccflags-y := -Werror |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
Sam Ravnborg | 18269c0 | 2008-12-03 03:07:00 -0800 | [diff] [blame] | 7 | lib-$(CONFIG_SPARC32) += mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o |
| 8 | lib-$(CONFIG_SPARC32) += memcpy.o memset.o |
David S. Miller | ae984d7 | 2008-12-09 01:07:09 -0800 | [diff] [blame] | 9 | lib-y += strlen.o |
Sam Ravnborg | 18269c0 | 2008-12-03 03:07:00 -0800 | [diff] [blame] | 10 | lib-y += checksum_$(BITS).o |
| 11 | lib-$(CONFIG_SPARC32) += blockops.o |
David S. Miller | 18cdae6 | 2008-12-09 04:09:07 -0800 | [diff] [blame^] | 12 | lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o |
Sam Ravnborg | 18269c0 | 2008-12-03 03:07:00 -0800 | [diff] [blame] | 13 | lib-y += strncpy_from_user_$(BITS).o strlen_user_$(BITS).o |
| 14 | lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o |
| 15 | lib-$(CONFIG_SPARC32) += copy_user.o locks.o |
| 16 | lib-y += atomic_$(BITS).o |
| 17 | lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o |
| 18 | lib-y += rwsem_$(BITS).o |
| 19 | lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o |
David S. Miller | 749805d | 2006-06-25 23:24:24 -0700 | [diff] [blame] | 20 | |
Sam Ravnborg | 478b8fe | 2008-12-03 03:10:25 -0800 | [diff] [blame] | 21 | lib-$(CONFIG_SPARC64) += PeeCeeI.o copy_page.o clear_page.o bzero.o |
| 22 | lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy_from_user.o csum_copy_to_user.o |
| 23 | lib-$(CONFIG_SPARC64) += VISsave.o |
| 24 | lib-$(CONFIG_SPARC64) += bitops.o |
| 25 | |
| 26 | lib-$(CONFIG_SPARC64) += U1memcpy.o U1copy_from_user.o U1copy_to_user.o |
| 27 | |
| 28 | lib-$(CONFIG_SPARC64) += U3memcpy.o U3copy_from_user.o U3copy_to_user.o |
| 29 | lib-$(CONFIG_SPARC64) += U3patch.o |
| 30 | |
| 31 | lib-$(CONFIG_SPARC64) += NGmemcpy.o NGcopy_from_user.o NGcopy_to_user.o |
| 32 | lib-$(CONFIG_SPARC64) += NGpatch.o NGpage.o NGbzero.o |
| 33 | |
| 34 | lib-$(CONFIG_SPARC64) += NG2memcpy.o NG2copy_from_user.o NG2copy_to_user.o |
| 35 | lib-$(CONFIG_SPARC64) += NG2patch.o NG2page.o |
| 36 | |
| 37 | lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o |
| 38 | lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o |
| 39 | |
| 40 | lib-$(CONFIG_SPARC64) += copy_in_user.o user_fixup.o memmove.o |
| 41 | lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o |
| 42 | |
Sam Ravnborg | 18269c0 | 2008-12-03 03:07:00 -0800 | [diff] [blame] | 43 | obj-y += iomap.o |
| 44 | obj-$(CONFIG_SPARC32) += atomic32.o |