xref: /openbmc/linux/arch/s390/lib/Makefile (revision b285d2ae)
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
10
11# Instrumenting memory accesses to __user data (in different address space)
12# produce false positives
13KASAN_SANITIZE_uaccess.o := n
14
15obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
16CFLAGS_test_unwind.o += -fno-optimize-sibling-calls
17
18lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
19