blob: 0344e575f522982dc4725479d66544d79837b0b4 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for MIPS-specific library files..
3#
4
Jim Quinlan92d11592012-09-06 11:36:55 -04005lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \
Jim Quinlane97c5b62012-09-06 11:36:56 -04006 mips-atomic.o strlen_user.o strncpy_user.o \
7 strnlen_user.o uncached.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Ralf Baechle140c1722006-12-07 15:35:43 +01009obj-y += iomap.o
10obj-$(CONFIG_PCI) += iomap-pci.o
Markos Chandras4e0748f2014-11-13 11:25:27 +000011lib-$(CONFIG_GENERIC_CSUM) := $(filter-out csum_partial.o, $(lib-y))
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Florian Fainelli3165c842012-01-31 18:18:43 +010013obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o
Atsushi Nemoto4becef12007-06-02 00:21:30 +090014obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o
Atsushi Nemoto4becef12007-06-02 00:21:30 +090015obj-$(CONFIG_CPU_TX39XX) += r3k_dump_tlb.o
Atsushi Nemoto4becef12007-06-02 00:21:30 +090016
Ralf Baechle72fbfb262006-06-07 13:25:37 +010017# libgcc-style stuff needed in the kernel
Ralf Baechle1ee36302015-09-29 12:19:48 +020018obj-y += ashldi3.o ashrdi3.o bswapsi.o bswapdi.o cmpdi2.o lshrdi3.o ucmpdi2.o