]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
f78541dc PM |
2 | # Makefile for xmon |
3 | ||
ba55bd74 ME |
4 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror |
5 | ||
a15098c9 | 6 | GCOV_PROFILE := n |
bf76f73c | 7 | UBSAN_SANITIZE := n |
a15098c9 | 8 | |
e12d94f8 NR |
9 | # Disable ftrace for the entire directory |
10 | ORIG_CFLAGS := $(KBUILD_CFLAGS) | |
11 | KBUILD_CFLAGS = $(subst -mno-sched-epilog,,$(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))) | |
12 | ||
1fbe9cf2 | 13 | ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) |
e0426047 | 14 | |
31cdd0c3 | 15 | obj-y += xmon.o nonstdio.o spr_access.o |
e0426047 ME |
16 | |
17 | ifdef CONFIG_XMON_DISASSEMBLY | |
18 | obj-y += ppc-dis.o ppc-opc.o | |
e055595d | 19 | obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o |
e0426047 | 20 | endif |