1# Makefile for xmon 2 3subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror 4 5GCOV_PROFILE := n 6UBSAN_SANITIZE := n 7 8# Disable ftrace for the entire directory 9ORIG_CFLAGS := $(KBUILD_CFLAGS) 10KBUILD_CFLAGS = $(subst -mno-sched-epilog,,$(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))) 11 12ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) 13 14obj-y += xmon.o nonstdio.o spr_access.o 15 16ifdef CONFIG_XMON_DISASSEMBLY 17obj-y += ppc-dis.o ppc-opc.o 18obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o 19endif 20