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