Makefile (2a056f58fd33ccc6a0261b552b0f17e7fa4a12f3) | Makefile (aea447141c7e7824b81b49acd1bc785506fba46e) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# Makefile for xmon 3 | 1# SPDX-License-Identifier: GPL-2.0 2# Makefile for xmon 3 |
4subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror | 4# Disable clang warning for using setjmp without setjmp.h header 5subdir-ccflags-y := $(call cc-disable-warning, builtin-requires-header) |
5 | 6 |
7subdir-ccflags-$(CONFIG_PPC_WERROR) += -Werror 8 |
|
6GCOV_PROFILE := n 7UBSAN_SANITIZE := n 8 9# Disable ftrace for the entire directory 10ORIG_CFLAGS := $(KBUILD_CFLAGS) 11KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) 12 13ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) 14 15obj-y += xmon.o nonstdio.o spr_access.o 16 17ifdef CONFIG_XMON_DISASSEMBLY 18obj-y += ppc-dis.o ppc-opc.o 19obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o 20endif | 9GCOV_PROFILE := n 10UBSAN_SANITIZE := n 11 12# Disable ftrace for the entire directory 13ORIG_CFLAGS := $(KBUILD_CFLAGS) 14KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) 15 16ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) 17 18obj-y += xmon.o nonstdio.o spr_access.o 19 20ifdef CONFIG_XMON_DISASSEMBLY 21obj-y += ppc-dis.o ppc-opc.o 22obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o 23endif |