xref: /linux/arch/s390/lib/Makefile (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for s390-specific library files..
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6fbac266fSHeiko Carstenslib-y += delay.o string.o uaccess.o find.o spinlock.o tishift.o
7cb2a1dd5SHeiko Carstenslib-y += csum-partial.o
82cfc5f9cSMartin Schwidefskyobj-y += mem.o xor.o
9975fab17SJan Willekelib-$(CONFIG_KPROBES) += probes.o
10975fab17SJan Willekelib-$(CONFIG_UPROBES) += probes.o
11d340d28aSSven Schnelleobj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
12d340d28aSSven Schnelletest_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o
130391fcb5SVasily Gorbik
14b6cbe3e8SVasily Gorbik# Instrumenting memory accesses to __user data (in different address space)
15b6cbe3e8SVasily Gorbik# produce false positives
16b6cbe3e8SVasily GorbikKASAN_SANITIZE_uaccess.o := n
17badbf397SIlya Leoshkevich
18badbf397SIlya Leoshkevichobj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
19badbf397SIlya LeoshkevichCFLAGS_test_unwind.o += -fno-optimize-sibling-calls
2073d6eb48SIlya Leoshkevich
2190c53187SIlya Leoshkevichobj-$(CONFIG_S390_MODULES_SANITY_TEST) += test_modules.o
2290c53187SIlya Leoshkevichobj-$(CONFIG_S390_MODULES_SANITY_TEST_HELPERS) += test_modules_helpers.o
2390c53187SIlya Leoshkevich
2473d6eb48SIlya Leoshkevichlib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
25c4e78957SVasily Gorbik
26*ba05b39dSVasily Gorbikobj-$(CONFIG_EXPOLINE_EXTERN) += expoline.o
27