Makefile (4f2c0a4acffbec01079c28f839422e64ddeff004) Makefile (fbac266f095de92b93e7c91c71cdca432c2c9275)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for s390-specific library files..
4#
5
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for s390-specific library files..
4#
5
6lib-y += delay.o string.o uaccess.o find.o spinlock.o
6lib-y += delay.o string.o uaccess.o find.o spinlock.o tishift.o
7obj-y += mem.o xor.o
8lib-$(CONFIG_KPROBES) += probes.o
9lib-$(CONFIG_UPROBES) += probes.o
10obj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
11test_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o
12
13# Instrumenting memory accesses to __user data (in different address space)
14# produce false positives
15KASAN_SANITIZE_uaccess.o := n
16
17obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
18CFLAGS_test_unwind.o += -fno-optimize-sibling-calls
19
20obj-$(CONFIG_S390_MODULES_SANITY_TEST) += test_modules.o
21obj-$(CONFIG_S390_MODULES_SANITY_TEST_HELPERS) += test_modules_helpers.o
22
23lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
24
25obj-$(CONFIG_EXPOLINE_EXTERN) += expoline/
7obj-y += mem.o xor.o
8lib-$(CONFIG_KPROBES) += probes.o
9lib-$(CONFIG_UPROBES) += probes.o
10obj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
11test_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o
12
13# Instrumenting memory accesses to __user data (in different address space)
14# produce false positives
15KASAN_SANITIZE_uaccess.o := n
16
17obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
18CFLAGS_test_unwind.o += -fno-optimize-sibling-calls
19
20obj-$(CONFIG_S390_MODULES_SANITY_TEST) += test_modules.o
21obj-$(CONFIG_S390_MODULES_SANITY_TEST_HELPERS) += test_modules_helpers.o
22
23lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
24
25obj-$(CONFIG_EXPOLINE_EXTERN) += expoline/