xref: /linux/arch/riscv/lib/Makefile (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2fbe934d6SPalmer Dabbeltlib-y			+= delay.o
3fbe934d6SPalmer Dabbeltlib-y			+= memcpy.o
4fbe934d6SPalmer Dabbeltlib-y			+= memset.o
504091d6cSNylon Chenlib-y			+= memmove.o
6*58ff5371SSamuel Hollandifeq ($(CONFIG_KASAN_GENERIC)$(CONFIG_KASAN_SW_TAGS),)
756e0790cSHeiko Stuebnerlib-y			+= strcmp.o
856e0790cSHeiko Stuebnerlib-y			+= strlen.o
956e0790cSHeiko Stuebnerlib-y			+= strncmp.o
10*58ff5371SSamuel Hollandendif
11a04c192eSCharlie Jenkinslib-y			+= csum.o
12c2a658d4SAndy Chiuifeq ($(CONFIG_MMU), y)
13c2a658d4SAndy Chiulib-$(CONFIG_RISCV_ISA_V)	+= uaccess_vector.o
14c2a658d4SAndy Chiuendif
1511129e8eSChristoph Hellwiglib-$(CONFIG_MMU)	+= uaccess.o
1685d90b91SOlof Johanssonlib-$(CONFIG_64BIT)	+= tishift.o
17ab0f7746SAndrew Joneslib-$(CONFIG_RISCV_ISA_ZICBOZ)	+= clear_page.o
18a43fe27dSXiao Wanglib-$(CONFIG_RISCV_ISA_ZBC)	+= crc32.o
19ee55ff80SGuo Ren
20ee55ff80SGuo Renobj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
21c5674d00SGreentime Hulib-$(CONFIG_RISCV_ISA_V)	+= xor.o
22c2a658d4SAndy Chiulib-$(CONFIG_RISCV_ISA_V)	+= riscv_v_helpers.o
23