summaryrefslogtreecommitdiffstats
path: root/arch/s390/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/lib/Makefile')
-rw-r--r--arch/s390/lib/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/s390/lib/Makefile b/arch/s390/lib/Makefile
new file mode 100644
index 000000000..5418d10dc
--- /dev/null
+++ b/arch/s390/lib/Makefile
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for s390-specific library files..
+#
+
+lib-y += delay.o string.o uaccess.o find.o
+obj-y += mem.o xor.o
+lib-$(CONFIG_SMP) += spinlock.o
+lib-$(CONFIG_KPROBES) += probes.o
+lib-$(CONFIG_UPROBES) += probes.o
+
+# Instrumenting memory accesses to __user data (in different address space)
+# produce false positives
+KASAN_SANITIZE_uaccess.o := n
+
+chkbss := mem.o
+include $(srctree)/arch/s390/scripts/Makefile.chkbss