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 | |
Paul Mackerras | f78541d | 2005-10-28 22:53:37 +1000 | [diff] [blame] | 7 | ifdef CONFIG_PPC64 |
| 8 | EXTRA_CFLAGS += -mno-minimal-toc |
| 9 | endif |
Michael Ellerman | e042604 | 2006-11-23 00:46:45 +0100 | [diff] [blame] | 10 | |
Anton Vorontsov | 322b439 | 2008-12-17 10:08:55 +0000 | [diff] [blame] | 11 | obj-y += xmon.o start.o nonstdio.o |
Michael Ellerman | e042604 | 2006-11-23 00:46:45 +0100 | [diff] [blame] | 12 | |
| 13 | ifdef CONFIG_XMON_DISASSEMBLY |
| 14 | obj-y += ppc-dis.o ppc-opc.o |
Arnd Bergmann | e055595 | 2006-11-27 19:18:55 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o |
Michael Ellerman | e042604 | 2006-11-23 00:46:45 +0100 | [diff] [blame] | 16 | endif |