blob: 707cd4622c132d509e71e8d55a48cd2d314858fa [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for s390-specific library files..
4#
5
Heiko Carstens67626fa2019-06-03 14:25:18 +02006lib-y += delay.o string.o uaccess.o find.o spinlock.o
Martin Schwidefsky2cfc5f92016-02-02 14:40:40 +01007obj-y += mem.o xor.o
Jan Willeke975fab12014-09-22 16:37:27 +02008lib-$(CONFIG_KPROBES) += probes.o
9lib-$(CONFIG_UPROBES) += probes.o
Sven Schnelled340d282021-09-09 20:59:17 +020010obj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
11test_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o
Vasily Gorbik0391fcb2018-05-03 16:40:13 +020012
Vasily Gorbikb6cbe3e2017-11-17 17:20:28 +010013# Instrumenting memory accesses to __user data (in different address space)
14# produce false positives
15KASAN_SANITIZE_uaccess.o := n
Ilya Leoshkevichbadbf392019-10-17 15:09:08 +020016
17obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
18CFLAGS_test_unwind.o += -fno-optimize-sibling-calls
Ilya Leoshkevich73d6eb42020-07-22 23:58:54 +020019
20lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o