xref: /openbmc/linux/arch/mips/lib/Makefile (revision 455481fc)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for MIPS-specific library files..
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
692d11594SJim Quinlanlib-y	+= bitops.o csum_partial.o delay.o memcpy.o memset.o \
782985258SAl Viro	   mips-atomic.o strncpy_user.o \
8e97c5b60SJim Quinlan	   strnlen_user.o uncached.o
91da177e4SLinus Torvalds
10b962aeb0SPaul Burtonobj-y			+= iomap_copy.o
11140c1729SRalf Baechleobj-$(CONFIG_PCI)	+= iomap-pci.o
124e0748f5SMarkos Chandraslib-$(CONFIG_GENERIC_CSUM)	:= $(filter-out csum_partial.o, $(lib-y))
131da177e4SLinus Torvalds
143165c846SFlorian Fainelliobj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o
154becef1dSAtsushi Nemotoobj-$(CONFIG_CPU_R3000)		+= r3k_dump_tlb.o
164becef1dSAtsushi Nemoto
1772fbfb26SRalf Baechle# libgcc-style stuff needed in the kernel
18740129b3SAntony Pavlovobj-y += bswapsi.o bswapdi.o multi3.o
19