1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # !! 2 # Makefile for Sparc library files.. 3 # Makefile for alpha-specific library files.. << 4 # 3 # 5 4 6 asflags-y := $(KBUILD_CFLAGS) !! 5 asflags-y := -ansi -DST_DIV0=0x02 7 6 8 # Many of these routines have implementations !! 7 lib-$(CONFIG_SPARC32) += ashrdi3.o 9 # Choose them iff we're targeting ev6 specific !! 8 lib-$(CONFIG_SPARC32) += memcpy.o memset.o 10 ev6-$(CONFIG_ALPHA_EV6) := ev6- !! 9 lib-y += strlen.o 11 !! 10 lib-y += checksum_$(BITS).o 12 # Several make use of the cttz instruction int !! 11 lib-$(CONFIG_SPARC32) += blockops.o 13 ev67-$(CONFIG_ALPHA_EV67) := ev67- !! 12 lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o 14 !! 13 lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o 15 lib-y = __divqu.o __remqu.o __divlu.o __remlu. !! 14 lib-$(CONFIG_SPARC32) += copy_user.o locks.o 16 udiv-qrnnd.o \ !! 15 lib-$(CONFIG_SPARC64) += atomic_64.o 17 udelay.o \ !! 16 lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o 18 $(ev6-y)memset.o \ !! 17 lib-$(CONFIG_SPARC32) += muldi3.o bitext.o 19 $(ev6-y)memcpy.o \ !! 18 lib-$(CONFIG_SPARC64) += multi3.o 20 memmove.o \ !! 19 lib-$(CONFIG_SPARC64) += fls.o 21 checksum.o \ !! 20 lib-$(CONFIG_SPARC64) += fls64.o 22 csum_partial_copy.o \ !! 21 lib-$(CONFIG_SPARC64) += NG4fls.o 23 $(ev67-y)strlen.o \ !! 22 24 stycpy.o \ !! 23 lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o 25 styncpy.o \ !! 24 lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy_from_user.o csum_copy_to_user.o 26 $(ev67-y)strchr.o \ !! 25 lib-$(CONFIG_SPARC64) += VISsave.o 27 $(ev67-y)strrchr.o \ !! 26 lib-$(CONFIG_SPARC64) += bitops.o 28 $(ev6-y)memchr.o \ !! 27 29 $(ev6-y)copy_user.o \ !! 28 lib-$(CONFIG_SPARC64) += U1memcpy.o U1copy_from_user.o U1copy_to_user.o 30 $(ev6-y)clear_user.o \ !! 29 31 $(ev6-y)csum_ipv6_magic.o \ !! 30 lib-$(CONFIG_SPARC64) += U3memcpy.o U3copy_from_user.o U3copy_to_user.o 32 $(ev6-y)clear_page.o \ !! 31 lib-$(CONFIG_SPARC64) += U3patch.o 33 $(ev6-y)copy_page.o \ !! 32 34 fpreg.o \ !! 33 lib-$(CONFIG_SPARC64) += NGmemcpy.o NGcopy_from_user.o NGcopy_to_user.o 35 callback_srm.o srm_puts.o srm_printk.o !! 34 lib-$(CONFIG_SPARC64) += NGpatch.o NGpage.o NGbzero.o 36 fls.o !! 35 37 !! 36 lib-$(CONFIG_SPARC64) += NG2memcpy.o NG2copy_from_user.o NG2copy_to_user.o 38 # The division routines are built from single !! 37 lib-$(CONFIG_SPARC64) += NG2patch.o 39 AFLAGS___divqu.o = -DDIV !! 38 40 AFLAGS___remqu.o = -DREM !! 39 lib-$(CONFIG_SPARC64) += NG4memcpy.o NG4copy_from_user.o NG4copy_to_user.o 41 AFLAGS___divlu.o = -DDIV -DINTSIZE !! 40 lib-$(CONFIG_SPARC64) += NG4patch.o NG4copy_page.o NG4clear_page.o NG4memset.o 42 AFLAGS___remlu.o = -DREM -DINTSIZE !! 41 43 !! 42 lib-$(CONFIG_SPARC64) += Memcpy_utils.o 44 $(addprefix $(obj)/,__divqu.o __remqu.o __divl !! 43 45 !! 44 lib-$(CONFIG_SPARC64) += M7memcpy.o M7copy_from_user.o M7copy_to_user.o 46 $(call if_changed_rule,as_o_S) !! 45 lib-$(CONFIG_SPARC64) += M7patch.o M7memset.o >> 46 >> 47 lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o >> 48 lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o >> 49 >> 50 lib-$(CONFIG_SPARC64) += copy_in_user.o memmove.o >> 51 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o >> 52 >> 53 obj-$(CONFIG_SPARC64) += iomap.o >> 54 obj-$(CONFIG_SPARC32) += atomic32.o >> 55 obj-$(CONFIG_SPARC64) += PeeCeeI.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.