perf tools: Fix build error on read only source.
[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
7 ifdef CONFIG_PPC64
8 EXTRA_CFLAGS += -mno-minimal-toc
9 endif
10
11 obj-y                   += xmon.o start.o nonstdio.o
12
13 ifdef CONFIG_XMON_DISASSEMBLY
14 obj-y                   += ppc-dis.o ppc-opc.o
15 obj-$(CONFIG_SPU_BASE)  += spu-dis.o spu-opc.o
16 endif