xref: /linux/arch/s390/lib/Makefile (revision d340d28a968ec479d0ed3c38ab716ed821d82ad8)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for s390-specific library files..
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
667626fadSHeiko Carstenslib-y += delay.o string.o uaccess.o find.o spinlock.o
72cfc5f9cSMartin Schwidefskyobj-y += mem.o xor.o
8975fab17SJan Willekelib-$(CONFIG_KPROBES) += probes.o
9975fab17SJan Willekelib-$(CONFIG_UPROBES) += probes.o
10*d340d28aSSven Schnelleobj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
11*d340d28aSSven Schnelletest_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o
120391fcb5SVasily Gorbik
13b6cbe3e8SVasily Gorbik# Instrumenting memory accesses to __user data (in different address space)
14b6cbe3e8SVasily Gorbik# produce false positives
15b6cbe3e8SVasily GorbikKASAN_SANITIZE_uaccess.o := n
16badbf397SIlya Leoshkevich
17badbf397SIlya Leoshkevichobj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
18badbf397SIlya LeoshkevichCFLAGS_test_unwind.o += -fno-optimize-sibling-calls
1973d6eb48SIlya Leoshkevich
2073d6eb48SIlya Leoshkevichlib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
21