xref: /openbmc/linux/arch/powerpc/xmon/Makefile (revision ba55bd74)
1f78541dcSPaul Mackerras# Makefile for xmon
2f78541dcSPaul Mackerras
3ba55bd74SMichael Ellermansubdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
4ba55bd74SMichael Ellerman
5f78541dcSPaul Mackerrasifdef CONFIG_PPC64
6f78541dcSPaul MackerrasEXTRA_CFLAGS += -mno-minimal-toc
7f78541dcSPaul Mackerrasendif
8e0426047SMichael Ellerman
9322b4394SAnton Vorontsovobj-y			+= xmon.o start.o nonstdio.o
10e0426047SMichael Ellerman
11e0426047SMichael Ellermanifdef CONFIG_XMON_DISASSEMBLY
12e0426047SMichael Ellermanobj-y			+= ppc-dis.o ppc-opc.o
13e055595dSArnd Bergmannobj-$(CONFIG_SPU_BASE)	+= spu-dis.o spu-opc.o
14e0426047SMichael Ellermanendif
15