a15098c90d
Make it possible to enable GCOV code coverage measurement on powerpc. Lightly tested on 64-bit, seems to work as expected. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
16 lines
298 B
Makefile
16 lines
298 B
Makefile
# Makefile for xmon
|
|
|
|
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
|
|
|
|
GCOV_PROFILE := n
|
|
|
|
ifdef CONFIG_PPC64
|
|
EXTRA_CFLAGS += -mno-minimal-toc
|
|
endif
|
|
|
|
obj-y += xmon.o start.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
|