Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 # Makefile for xmon
0003 
0004 GCOV_PROFILE := n
0005 KCOV_INSTRUMENT := n
0006 UBSAN_SANITIZE := n
0007 KASAN_SANITIZE := n
0008 
0009 # Disable ftrace for the entire directory
0010 ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
0011 
0012 ifdef CONFIG_CC_IS_CLANG
0013 # clang stores addresses on the stack causing the frame size to blow
0014 # out. See https://github.com/ClangBuiltLinux/linux/issues/252
0015 KBUILD_CFLAGS += -Wframe-larger-than=4096
0016 endif
0017 
0018 ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
0019 
0020 obj-y                   += xmon.o nonstdio.o spr_access.o xmon_bpts.o
0021 
0022 ifdef CONFIG_XMON_DISASSEMBLY
0023 obj-y                   += ppc-dis.o ppc-opc.o
0024 obj-$(CONFIG_SPU_BASE)  += spu-dis.o spu-opc.o
0025 endif