blob: 1e9e900cd3c382a4a8c3bce2ab7ca2987a1acfcd [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 Baechle2704afe2007-08-24 13:47:45 +010018obj-y += ashldi3.o ashrdi3.o cmpdi2.o lshrdi3.o ucmpdi2.o