1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for MIPS-specific library files.. 4# 5 6lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \ 7 mips-atomic.o strncpy_user.o \ 8 strnlen_user.o uncached.o 9 10obj-y += iomap.o iomap_copy.o 11obj-$(CONFIG_PCI) += iomap-pci.o 12lib-$(CONFIG_GENERIC_CSUM) := $(filter-out csum_partial.o, $(lib-y)) 13 14obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o 15obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o 16obj-$(CONFIG_CPU_TX39XX) += r3k_dump_tlb.o 17 18# libgcc-style stuff needed in the kernel 19obj-y += ashldi3.o ashrdi3.o bswapsi.o bswapdi.o cmpdi2.o lshrdi3.o ucmpdi2.o 20