xref: /openbmc/linux/arch/s390/lib/Makefile (revision 405db98b)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for s390-specific library files..
4#
5
6lib-y += delay.o string.o uaccess.o find.o spinlock.o
7obj-y += mem.o xor.o
8lib-$(CONFIG_KPROBES) += probes.o
9lib-$(CONFIG_UPROBES) += probes.o
10obj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
11test_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o
12
13# Instrumenting memory accesses to __user data (in different address space)
14# produce false positives
15KASAN_SANITIZE_uaccess.o := n
16
17obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
18CFLAGS_test_unwind.o += -fno-optimize-sibling-calls
19
20lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
21