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 | |
David S. Miller | 1b35a57 | 2012-05-15 11:23:01 -0700 | [diff] [blame] | 7 | lib-$(CONFIG_SPARC32) += ashrdi3.o |
Sam Ravnborg | 18269c0 | 2008-12-03 03:07:00 -0800 | [diff] [blame] | 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-$(CONFIG_SPARC32) += divdi3.o udivdi3.o |
| 14 | lib-$(CONFIG_SPARC32) += copy_user.o locks.o |
David S. Miller | 73c1377 | 2012-05-13 13:07:16 -0700 | [diff] [blame] | 15 | lib-$(CONFIG_SPARC64) += atomic_64.o |
Sam Ravnborg | 18269c0 | 2008-12-03 03:07:00 -0800 | [diff] [blame] | 16 | lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o |
David S. Miller | 74c7b28 | 2012-05-19 15:27:01 -0700 | [diff] [blame] | 17 | lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o |
David S. Miller | 1b4af13 | 2017-06-05 11:28:57 -0700 | [diff] [blame^] | 18 | lib-$(CONFIG_SPARC64) += multi3.o |
David S. Miller | 749805d | 2006-06-25 23:24:24 -0700 | [diff] [blame] | 19 | |
Sam Ravnborg | 62dfcd3 | 2009-01-17 23:12:27 -0800 | [diff] [blame] | 20 | lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o |
Sam Ravnborg | 478b8fe | 2008-12-03 03:10:25 -0800 | [diff] [blame] | 21 | lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy_from_user.o csum_copy_to_user.o |
| 22 | lib-$(CONFIG_SPARC64) += VISsave.o |
| 23 | lib-$(CONFIG_SPARC64) += bitops.o |
| 24 | |
| 25 | lib-$(CONFIG_SPARC64) += U1memcpy.o U1copy_from_user.o U1copy_to_user.o |
| 26 | |
| 27 | lib-$(CONFIG_SPARC64) += U3memcpy.o U3copy_from_user.o U3copy_to_user.o |
| 28 | lib-$(CONFIG_SPARC64) += U3patch.o |
| 29 | |
| 30 | lib-$(CONFIG_SPARC64) += NGmemcpy.o NGcopy_from_user.o NGcopy_to_user.o |
| 31 | lib-$(CONFIG_SPARC64) += NGpatch.o NGpage.o NGbzero.o |
| 32 | |
| 33 | lib-$(CONFIG_SPARC64) += NG2memcpy.o NG2copy_from_user.o NG2copy_to_user.o |
David S. Miller | e95ade0 | 2011-08-01 18:18:57 -0700 | [diff] [blame] | 34 | lib-$(CONFIG_SPARC64) += NG2patch.o |
Sam Ravnborg | 478b8fe | 2008-12-03 03:10:25 -0800 | [diff] [blame] | 35 | |
David S. Miller | ae2c6ca | 2012-09-26 21:11:01 -0700 | [diff] [blame] | 36 | lib-$(CONFIG_SPARC64) += NG4memcpy.o NG4copy_from_user.o NG4copy_to_user.o |
David S. Miller | 9f82596 | 2012-10-05 13:45:26 -0700 | [diff] [blame] | 37 | lib-$(CONFIG_SPARC64) += NG4patch.o NG4copy_page.o NG4clear_page.o NG4memset.o |
David S. Miller | ae2c6ca | 2012-09-26 21:11:01 -0700 | [diff] [blame] | 38 | |
Sam Ravnborg | 478b8fe | 2008-12-03 03:10:25 -0800 | [diff] [blame] | 39 | lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o |
| 40 | lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o |
| 41 | |
David S. Miller | 0fd0ff0 | 2016-10-24 21:25:31 -0700 | [diff] [blame] | 42 | lib-$(CONFIG_SPARC64) += copy_in_user.o memmove.o |
David S. Miller | 56d205c | 2011-08-02 20:23:34 -0700 | [diff] [blame] | 43 | lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o |
Sam Ravnborg | 478b8fe | 2008-12-03 03:10:25 -0800 | [diff] [blame] | 44 | |
Sam Ravnborg | e1039fb | 2014-04-26 09:57:36 +0200 | [diff] [blame] | 45 | obj-$(CONFIG_SPARC64) += iomap.o |
David S. Miller | 74c7b28 | 2012-05-19 15:27:01 -0700 | [diff] [blame] | 46 | obj-$(CONFIG_SPARC32) += atomic32.o ucmpdi2.o |
Sam Ravnborg | 62dfcd3 | 2009-01-17 23:12:27 -0800 | [diff] [blame] | 47 | obj-$(CONFIG_SPARC64) += PeeCeeI.o |