33b5cd6866
The routines in start.c are only ever called from nonstdio.c, so if we move them in there they can become static which is nice. I suspect the idea behind the separation was that start.c could be replaced in order to build xmon in userland. If anyone still cares about doing that we could handle that with an ifdef or two. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
14 lines
276 B
Makefile
14 lines
276 B
Makefile
# Makefile for xmon
|
|
|
|
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
|
|
|
|
GCOV_PROFILE := n
|
|
|
|
ccflags-$(CONFIG_PPC64) := -mno-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
|