projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf jitdump: Build only on supported archs
[cascardo/linux.git]
/
tools
/
perf
/
config
/
Makefile
diff --git
a/tools/perf/config/Makefile
b/tools/perf/config/Makefile
index
f7aeaf3
..
eca6a91
100644
(file)
--- a/
tools/perf/config/Makefile
+++ b/
tools/perf/config/Makefile
@@
-328,6
+328,13
@@
ifndef NO_LIBELF
endif # NO_LIBBPF
endif # NO_LIBELF
+ifdef PERF_HAVE_JITDUMP
+ ifndef NO_DWARF
+ $(call detected,CONFIG_JITDUMP)
+ CFLAGS += -DHAVE_JITDUMP
+ endif
+endif
+
ifeq ($(ARCH),powerpc)
ifndef NO_DWARF
CFLAGS += -DHAVE_SKIP_CALLCHAIN_IDX