summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/xmon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/xmon/Makefile')
-rw-r--r--kernel/arch/powerpc/xmon/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/xmon/Makefile b/kernel/arch/powerpc/xmon/Makefile
new file mode 100644
index 000000000..1278788d9
--- /dev/null
+++ b/kernel/arch/powerpc/xmon/Makefile
@@ -0,0 +1,14 @@
+# Makefile for xmon
+
+subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
+
+GCOV_PROFILE := n
+
+ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
+
+obj-y += xmon.o nonstdio.o
+
+ifdef CONFIG_XMON_DISASSEMBLY
+obj-y += ppc-dis.o ppc-opc.o
+obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
+endif