1# SPDX-License-Identifier: GPL-2.0 2# Makefile for xmon 3 4GCOV_PROFILE := n 5KCOV_INSTRUMENT := n 6UBSAN_SANITIZE := n 7KASAN_SANITIZE := n 8KCSAN_SANITIZE := n 9 10# Disable ftrace for the entire directory 11ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE) 12 13ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) 14 15# Clang stores addresses on the stack causing the frame size to blow 16# out. See https://github.com/ClangBuiltLinux/linux/issues/252 17ccflags-$(CONFIG_CC_IS_CLANG) += -Wframe-larger-than=4096 18 19obj-y += xmon.o nonstdio.o spr_access.o xmon_bpts.o 20 21ifdef CONFIG_XMON_DISASSEMBLY 22obj-y += ppc-dis.o ppc-opc.o 23obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o 24endif 25