1# SPDX-License-Identifier: GPL-2.0 2lib-y := clear_user.o delay.o copy_from_user.o \ 3 copy_to_user.o copy_page.o \ 4 clear_page.o csum.o insn.o memchr.o memcpy.o \ 5 memset.o memcmp.o strcmp.o strncmp.o strlen.o \ 6 strnlen.o strchr.o strrchr.o tishift.o 7 8ifeq ($(CONFIG_KERNEL_MODE_NEON), y) 9obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o 10CFLAGS_REMOVE_xor-neon.o += -mgeneral-regs-only 11CFLAGS_xor-neon.o += -ffreestanding 12# Enable <arm_neon.h> 13CFLAGS_xor-neon.o += -isystem $(shell $(CC) -print-file-name=include) 14endif 15 16lib-$(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) += uaccess_flushcache.o 17 18obj-$(CONFIG_CRC32) += crc32.o 19 20obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o 21 22obj-$(CONFIG_ARM64_MTE) += mte.o 23 24obj-$(CONFIG_KASAN_SW_TAGS) += kasan_sw_tags.o 25