xref: /linux/arch/s390/lib/Makefile (revision fbac266f095de92b93e7c91c71cdca432c2c9275)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for s390-specific library files..
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6*fbac266fSHeiko Carstenslib-y += delay.o string.o uaccess.o find.o spinlock.o tishift.o
72cfc5f9cSMartin Schwidefskyobj-y += mem.o xor.o
8975fab17SJan Willekelib-$(CONFIG_KPROBES) += probes.o
9975fab17SJan Willekelib-$(CONFIG_UPROBES) += probes.o
10d340d28aSSven Schnelleobj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
11d340d28aSSven 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
2090c53187SIlya Leoshkevichobj-$(CONFIG_S390_MODULES_SANITY_TEST) += test_modules.o
2190c53187SIlya Leoshkevichobj-$(CONFIG_S390_MODULES_SANITY_TEST_HELPERS) += test_modules_helpers.o
2290c53187SIlya Leoshkevich
2373d6eb48SIlya Leoshkevichlib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
24c4e78957SVasily Gorbik
25c4e78957SVasily Gorbikobj-$(CONFIG_EXPOLINE_EXTERN) += expoline/
26