xref: /linux/arch/loongarch/lib/Makefile (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for LoongArch-specific library files.
4#
5
6lib-y	+= delay.o memset.o memcpy.o memmove.o \
7	   clear_user.o copy_user.o csum.o dump_tlb.o unaligned.o
8
9obj-$(CONFIG_CPU_HAS_LSX) += xor_simd.o xor_simd_glue.o
10
11obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
12