xref: /openbmc/linux/arch/mips/lib/Makefile (revision b2441318)
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
10d8c825e2SPaul Burtonobj-y			+= iomap.o 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 Nemotoobj-$(CONFIG_CPU_TX39XX)	+= r3k_dump_tlb.o
174becef1dSAtsushi Nemoto
1872fbfb26SRalf Baechle# libgcc-style stuff needed in the kernel
191ee3630aSRalf Baechleobj-y += ashldi3.o ashrdi3.o bswapsi.o bswapdi.o cmpdi2.o lshrdi3.o ucmpdi2.o
20