Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for s390-specific library files.. |
| 4 | # |
| 5 | |
Heiko Carstens | 67626fa | 2019-06-03 14:25:18 +0200 | [diff] [blame] | 6 | lib-y += delay.o string.o uaccess.o find.o spinlock.o |
Martin Schwidefsky | 2cfc5f9 | 2016-02-02 14:40:40 +0100 | [diff] [blame] | 7 | obj-y += mem.o xor.o |
Jan Willeke | 975fab1 | 2014-09-22 16:37:27 +0200 | [diff] [blame] | 8 | lib-$(CONFIG_KPROBES) += probes.o |
| 9 | lib-$(CONFIG_UPROBES) += probes.o |
Sven Schnelle | d340d28 | 2021-09-09 20:59:17 +0200 | [diff] [blame] | 10 | obj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o |
| 11 | test_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o |
Vasily Gorbik | 0391fcb | 2018-05-03 16:40:13 +0200 | [diff] [blame] | 12 | |
Vasily Gorbik | b6cbe3e | 2017-11-17 17:20:28 +0100 | [diff] [blame] | 13 | # Instrumenting memory accesses to __user data (in different address space) |
| 14 | # produce false positives |
| 15 | KASAN_SANITIZE_uaccess.o := n |
Ilya Leoshkevich | badbf39 | 2019-10-17 15:09:08 +0200 | [diff] [blame] | 16 | |
| 17 | obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o |
| 18 | CFLAGS_test_unwind.o += -fno-optimize-sibling-calls |
Ilya Leoshkevich | 73d6eb4 | 2020-07-22 23:58:54 +0200 | [diff] [blame] | 19 | |
| 20 | lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o |