1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Makefile for Sparc library files.. !! 2 # >> 3 # Makefile for alpha-specific library files.. 3 # 4 # 4 5 5 asflags-y := -ansi -DST_DIV0=0x02 !! 6 asflags-y := $(KBUILD_CFLAGS) 6 7 7 lib-$(CONFIG_SPARC32) += ashrdi3.o !! 8 # Many of these routines have implementations tuned for ev6. 8 lib-$(CONFIG_SPARC32) += memcpy.o memset.o !! 9 # Choose them iff we're targeting ev6 specifically. 9 lib-y += strlen.o !! 10 ev6-$(CONFIG_ALPHA_EV6) := ev6- 10 lib-y += checksum_$(BITS).o !! 11 11 lib-$(CONFIG_SPARC32) += blockops.o !! 12 # Several make use of the cttz instruction introduced in ev67. 12 lib-y += memscan_$(BITS).o mem !! 13 ev67-$(CONFIG_ALPHA_EV67) := ev67- 13 lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o !! 14 14 lib-$(CONFIG_SPARC32) += copy_user.o locks.o !! 15 lib-y = __divqu.o __remqu.o __divlu.o __remlu.o \ 15 lib-$(CONFIG_SPARC64) += atomic_64.o !! 16 udiv-qrnnd.o \ 16 lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o !! 17 udelay.o \ 17 lib-$(CONFIG_SPARC32) += muldi3.o bitext.o !! 18 $(ev6-y)memset.o \ 18 lib-$(CONFIG_SPARC64) += multi3.o !! 19 $(ev6-y)memcpy.o \ 19 lib-$(CONFIG_SPARC64) += fls.o !! 20 memmove.o \ 20 lib-$(CONFIG_SPARC64) += fls64.o !! 21 checksum.o \ 21 lib-$(CONFIG_SPARC64) += NG4fls.o !! 22 csum_partial_copy.o \ 22 !! 23 $(ev67-y)strlen.o \ 23 lib-$(CONFIG_SPARC64) += copy_page.o clear_pag !! 24 stycpy.o \ 24 lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy !! 25 styncpy.o \ 25 lib-$(CONFIG_SPARC64) += VISsave.o !! 26 $(ev67-y)strchr.o \ 26 lib-$(CONFIG_SPARC64) += bitops.o !! 27 $(ev67-y)strrchr.o \ 27 !! 28 $(ev6-y)memchr.o \ 28 lib-$(CONFIG_SPARC64) += U1memcpy.o U1copy_fro !! 29 $(ev6-y)copy_user.o \ 29 !! 30 $(ev6-y)clear_user.o \ 30 lib-$(CONFIG_SPARC64) += U3memcpy.o U3copy_fro !! 31 $(ev6-y)csum_ipv6_magic.o \ 31 lib-$(CONFIG_SPARC64) += U3patch.o !! 32 $(ev6-y)clear_page.o \ 32 !! 33 $(ev6-y)copy_page.o \ 33 lib-$(CONFIG_SPARC64) += NGmemcpy.o NGcopy_fro !! 34 fpreg.o \ 34 lib-$(CONFIG_SPARC64) += NGpatch.o NGpage.o NG !! 35 callback_srm.o srm_puts.o srm_printk.o \ 35 !! 36 fls.o 36 lib-$(CONFIG_SPARC64) += NG2memcpy.o NG2copy_f !! 37 37 lib-$(CONFIG_SPARC64) += NG2patch.o !! 38 # The division routines are built from single source, with different defines. 38 !! 39 AFLAGS___divqu.o = -DDIV 39 lib-$(CONFIG_SPARC64) += NG4memcpy.o NG4copy_f !! 40 AFLAGS___remqu.o = -DREM 40 lib-$(CONFIG_SPARC64) += NG4patch.o NG4copy_p !! 41 AFLAGS___divlu.o = -DDIV -DINTSIZE 41 !! 42 AFLAGS___remlu.o = -DREM -DINTSIZE 42 lib-$(CONFIG_SPARC64) += Memcpy_utils.o !! 43 43 !! 44 $(addprefix $(obj)/,__divqu.o __remqu.o __divlu.o __remlu.o): \ 44 lib-$(CONFIG_SPARC64) += M7memcpy.o M7copy_fro !! 45 $(src)/$(ev6-y)divide.S FORCE 45 lib-$(CONFIG_SPARC64) += M7patch.o M7memset.o !! 46 $(call if_changed_rule,as_o_S) 46 << 47 lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_f << 48 lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o << 49 << 50 lib-$(CONFIG_SPARC64) += copy_in_user.o memmov << 51 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor << 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.