Makefile (b7f8f259896f669f131713b0c74ba4d008daa71d) Makefile (39352430aaa05fbe4ba710231c70b334513078f2)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for ppc-specific library files..
4#
5
6ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
7
8CFLAGS_REMOVE_code-patching.o = $(CC_FLAGS_FTRACE)
9CFLAGS_REMOVE_feature-fixups.o = $(CC_FLAGS_FTRACE)
10
11KASAN_SANITIZE_code-patching.o := n
12KASAN_SANITIZE_feature-fixups.o := n
13
14ifdef CONFIG_KASAN
15CFLAGS_code-patching.o += -DDISABLE_BRANCH_PROFILING
16CFLAGS_feature-fixups.o += -DDISABLE_BRANCH_PROFILING
17endif
18
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for ppc-specific library files..
4#
5
6ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
7
8CFLAGS_REMOVE_code-patching.o = $(CC_FLAGS_FTRACE)
9CFLAGS_REMOVE_feature-fixups.o = $(CC_FLAGS_FTRACE)
10
11KASAN_SANITIZE_code-patching.o := n
12KASAN_SANITIZE_feature-fixups.o := n
13
14ifdef CONFIG_KASAN
15CFLAGS_code-patching.o += -DDISABLE_BRANCH_PROFILING
16CFLAGS_feature-fixups.o += -DDISABLE_BRANCH_PROFILING
17endif
18
19obj-y += alloc.o code-patching.o feature-fixups.o pmem.o inst.o test_code-patching.o
19obj-y += alloc.o code-patching.o feature-fixups.o pmem.o test_code-patching.o
20
21ifndef CONFIG_KASAN
22obj-y += string.o memcmp_$(BITS).o
23obj-$(CONFIG_PPC32) += strlen_32.o
24endif
25
26obj-$(CONFIG_PPC32) += div64.o copy_32.o crtsavres.o
27

--- 39 unchanged lines hidden ---
20
21ifndef CONFIG_KASAN
22obj-y += string.o memcmp_$(BITS).o
23obj-$(CONFIG_PPC32) += strlen_32.o
24endif
25
26obj-$(CONFIG_PPC32) += div64.o copy_32.o crtsavres.o
27

--- 39 unchanged lines hidden ---