Paul Mackerras | f78541d | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 1 | # Makefile for xmon |
| 2 | |
Michael Ellerman | ba55bd7 | 2009-06-09 20:48:51 +0000 | [diff] [blame] | 3 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror |
| 4 | |
Michael Ellerman | a15098c | 2009-08-09 19:02:51 +0000 | [diff] [blame] | 5 | GCOV_PROFILE := n |
| 6 | |
matt mooney | 4108d9b | 2010-09-22 20:51:09 +0000 | [diff] [blame] | 7 | ccflags-$(CONFIG_PPC64) := -mno-minimal-toc |
Michael Ellerman | e042604 | 2006-11-23 00:46:45 +0100 | [diff] [blame] | 8 | |
Anton Vorontsov | 322b439 | 2008-12-17 10:08:55 +0000 | [diff] [blame] | 9 | obj-y += xmon.o start.o nonstdio.o |
Michael Ellerman | e042604 | 2006-11-23 00:46:45 +0100 | [diff] [blame] | 10 | |
| 11 | ifdef CONFIG_XMON_DISASSEMBLY |
| 12 | obj-y += ppc-dis.o ppc-opc.o |
Arnd Bergmann | e055595 | 2006-11-27 19:18:55 +0100 | [diff] [blame] | 13 | obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o |
Michael Ellerman | e042604 | 2006-11-23 00:46:45 +0100 | [diff] [blame] | 14 | endif |