Makefile (f26e8817b235d8764363bffcc9cbfc61867371f2) Makefile (e12d94f80614475b07d046eb095e6b8c1d9dd38d)
1# Makefile for xmon
2
3subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
4
5GCOV_PROFILE := n
6UBSAN_SANITIZE := n
7
1# Makefile for xmon
2
3subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
4
5GCOV_PROFILE := n
6UBSAN_SANITIZE := n
7
8# Disable ftrace for the entire directory
9ORIG_CFLAGS := $(KBUILD_CFLAGS)
10KBUILD_CFLAGS = $(subst -mno-sched-epilog,,$(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)))
11
8ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
9
10obj-y += xmon.o nonstdio.o spr_access.o
11
12ifdef CONFIG_XMON_DISASSEMBLY
13obj-y += ppc-dis.o ppc-opc.o
14obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
15endif
12ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
13
14obj-y += xmon.o nonstdio.o spr_access.o
15
16ifdef CONFIG_XMON_DISASSEMBLY
17obj-y += ppc-dis.o ppc-opc.o
18obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
19endif