License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[sfrench/cifs-2.6.git] / arch / powerpc / xmon / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for xmon
3
4 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
5
6 GCOV_PROFILE := n
7 UBSAN_SANITIZE := n
8
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
13 ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
14
15 obj-y                   += xmon.o nonstdio.o spr_access.o
16
17 ifdef CONFIG_XMON_DISASSEMBLY
18 obj-y                   += ppc-dis.o ppc-opc.o
19 obj-$(CONFIG_SPU_BASE)  += spu-dis.o spu-opc.o
20 endif