xref: /openbmc/linux/arch/mips/lib/Makefile (revision d8c825e2)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for MIPS-specific library files..
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
592d11594SJim Quinlanlib-y	+= bitops.o csum_partial.o delay.o memcpy.o memset.o \
682985258SAl Viro	   mips-atomic.o strncpy_user.o \
7e97c5b60SJim Quinlan	   strnlen_user.o uncached.o
81da177e4SLinus Torvalds
9d8c825e2SPaul Burtonobj-y			+= iomap.o iomap_copy.o
10140c1729SRalf Baechleobj-$(CONFIG_PCI)	+= iomap-pci.o
114e0748f5SMarkos Chandraslib-$(CONFIG_GENERIC_CSUM)	:= $(filter-out csum_partial.o, $(lib-y))
121da177e4SLinus Torvalds
133165c846SFlorian Fainelliobj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o
144becef1dSAtsushi Nemotoobj-$(CONFIG_CPU_R3000)		+= r3k_dump_tlb.o
154becef1dSAtsushi Nemotoobj-$(CONFIG_CPU_TX39XX)	+= r3k_dump_tlb.o
164becef1dSAtsushi Nemoto
1772fbfb26SRalf Baechle# libgcc-style stuff needed in the kernel
181ee3630aSRalf Baechleobj-y += ashldi3.o ashrdi3.o bswapsi.o bswapdi.o cmpdi2.o lshrdi3.o ucmpdi2.o
19