xref: /linux/arch/loongarch/lib/Makefile (revision e7d759f31ca295d589f7420719c311870bb3166f)
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