1f78541dcSPaul Mackerras# Makefile for xmon 2f78541dcSPaul Mackerras 3ba55bd74SMichael Ellermansubdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror 4ba55bd74SMichael Ellerman 5a15098c9SMichael EllermanGCOV_PROFILE := n 6bf76f73cSDaniel AxtensUBSAN_SANITIZE := n 7a15098c9SMichael Ellerman 8*e12d94f8SNaveen N. Rao# Disable ftrace for the entire directory 9*e12d94f8SNaveen N. RaoORIG_CFLAGS := $(KBUILD_CFLAGS) 10*e12d94f8SNaveen N. RaoKBUILD_CFLAGS = $(subst -mno-sched-epilog,,$(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))) 11*e12d94f8SNaveen N. Rao 121fbe9cf2SAnton Blanchardccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) 13e0426047SMichael Ellerman 1431cdd0c3SPaul Mackerrasobj-y += xmon.o nonstdio.o spr_access.o 15e0426047SMichael Ellerman 16e0426047SMichael Ellermanifdef CONFIG_XMON_DISASSEMBLY 17e0426047SMichael Ellermanobj-y += ppc-dis.o ppc-opc.o 18e055595dSArnd Bergmannobj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o 19e0426047SMichael Ellermanendif 20