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