forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/arch/powerpc/xmon/Makefile
....@@ -1,14 +1,13 @@
11 # SPDX-License-Identifier: GPL-2.0
22 # Makefile for xmon
33
4
-subdir-ccflags-$(CONFIG_PPC_WERROR) += -Werror
5
-
64 GCOV_PROFILE := n
5
+KCOV_INSTRUMENT := n
76 UBSAN_SANITIZE := n
7
+KASAN_SANITIZE := n
88
99 # 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)
1211
1312 ifdef CONFIG_CC_IS_CLANG
1413 # clang stores addresses on the stack causing the frame size to blow
....@@ -18,7 +17,7 @@
1817
1918 ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
2019
21
-obj-y += xmon.o nonstdio.o spr_access.o
20
+obj-y += xmon.o nonstdio.o spr_access.o xmon_bpts.o
2221
2322 ifdef CONFIG_XMON_DISASSEMBLY
2423 obj-y += ppc-dis.o ppc-opc.o