WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / xmon / Makefile
blobeb25d7554ffd1d7f57f039d48a73d6f5849d6be8
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for xmon
4 GCOV_PROFILE := n
5 KCOV_INSTRUMENT := n
6 UBSAN_SANITIZE := n
7 KASAN_SANITIZE := n
9 # Disable ftrace for the entire directory
10 ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
12 ifdef CONFIG_CC_IS_CLANG
13 # clang stores addresses on the stack causing the frame size to blow
14 # out. See https://github.com/ClangBuiltLinux/linux/issues/252
15 KBUILD_CFLAGS += -Wframe-larger-than=4096
16 endif
18 ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
20 obj-y += xmon.o nonstdio.o spr_access.o xmon_bpts.o
22 ifdef CONFIG_XMON_DISASSEMBLY
23 obj-y += ppc-dis.o ppc-opc.o
24 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
25 endif