.. | .. |
---|
1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | # Makefile for xmon |
---|
3 | 3 | |
---|
4 | | -subdir-ccflags-$(CONFIG_PPC_WERROR) += -Werror |
---|
5 | | - |
---|
6 | 4 | GCOV_PROFILE := n |
---|
| 5 | +KCOV_INSTRUMENT := n |
---|
7 | 6 | UBSAN_SANITIZE := n |
---|
| 7 | +KASAN_SANITIZE := n |
---|
8 | 8 | |
---|
9 | 9 | # Disable ftrace for the entire directory |
---|
10 | | -ORIG_CFLAGS := $(KBUILD_CFLAGS) |
---|
11 | | -KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) |
---|
| 10 | +ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE) |
---|
12 | 11 | |
---|
13 | 12 | ifdef CONFIG_CC_IS_CLANG |
---|
14 | 13 | # clang stores addresses on the stack causing the frame size to blow |
---|
.. | .. |
---|
18 | 17 | |
---|
19 | 18 | ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) |
---|
20 | 19 | |
---|
21 | | -obj-y += xmon.o nonstdio.o spr_access.o |
---|
| 20 | +obj-y += xmon.o nonstdio.o spr_access.o xmon_bpts.o |
---|
22 | 21 | |
---|
23 | 22 | ifdef CONFIG_XMON_DISASSEMBLY |
---|
24 | 23 | obj-y += ppc-dis.o ppc-opc.o |
---|