1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # Makefile for SuperH-specific library files.. !! 3 # Makefile for MIPS-specific library files.. 4 # 4 # 5 5 6 lib-y = delay.o memmove.o memchr.o \ !! 6 lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \ 7 checksum.o strlen.o div64.o div64-gen !! 7 mips-atomic.o strncpy_user.o \ >> 8 strnlen_user.o uncached.o >> 9 >> 10 obj-y += iomap_copy.o >> 11 obj-$(CONFIG_PCI) += iomap-pci.o >> 12 lib-$(CONFIG_GENERIC_CSUM) := $(filter-out csum_partial.o, $(lib-y)) 8 13 9 # Extracted from libgcc !! 14 obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o 10 obj-y += movmem.o ashlsi3.o ashrsi3.o ashiftrt !! 15 obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o 11 16 12 udivsi3-y := udivsi3_i4i !! 17 # libgcc-style stuff needed in the kernel 13 !! 18 obj-y += bswapsi.o bswapdi.o multi3.o 14 ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y) << 15 udivsi3-$(CONFIG_CPU_SH3) := udivsi3_i4i << 16 udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i << 17 endif << 18 udivsi3-y += udivsi3.o << 19 << 20 obj-y += io.o << 21 << 22 memcpy-y := memcpy.o << 23 memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4. << 24 << 25 memset-y := memset.o << 26 memset-$(CONFIG_CPU_SH4) := memset-sh4. << 27 << 28 lib-$(CONFIG_MMU) += copy_page.o << 29 lib-$(CONFIG_MCOUNT) += mcount.o << 30 lib-y += $(memcpy-y) <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.