vfs: Make __vfs_write() static
[linux/fpc-iii.git] / arch / powerpc / xmon / Makefile
blob878f9c1d36150c80a021413f23ac36577ef881c0
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for xmon
4 # Disable clang warning for using setjmp without setjmp.h header
5 subdir-ccflags-y := $(call cc-disable-warning, builtin-requires-header)
7 GCOV_PROFILE := n
8 UBSAN_SANITIZE := n
10 # Disable ftrace for the entire directory
11 ORIG_CFLAGS := $(KBUILD_CFLAGS)
12 KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))
14 ifdef CONFIG_CC_IS_CLANG
15 # clang stores addresses on the stack causing the frame size to blow
16 # out. See https://github.com/ClangBuiltLinux/linux/issues/252
17 KBUILD_CFLAGS += -Wframe-larger-than=4096
18 endif
20 ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
22 obj-y += xmon.o nonstdio.o spr_access.o
24 ifdef CONFIG_XMON_DISASSEMBLY
25 obj-y += ppc-dis.o ppc-opc.o
26 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
27 endif