diff options
Diffstat (limited to 'tools/perf/util/intel-pt-decoder/Build')
| -rw-r--r-- | tools/perf/util/intel-pt-decoder/Build | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/perf/util/intel-pt-decoder/Build b/tools/perf/util/intel-pt-decoder/Build index 9d67381a9bd3..5a46ce13c1f8 100644 --- a/tools/perf/util/intel-pt-decoder/Build +++ b/tools/perf/util/intel-pt-decoder/Build | |||
| @@ -1 +1,11 @@ | |||
| 1 | libperf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o | 1 | libperf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o intel-pt-insn-decoder.o |
| 2 | |||
| 3 | inat_tables_script = util/intel-pt-decoder/gen-insn-attr-x86.awk | ||
| 4 | inat_tables_maps = util/intel-pt-decoder/x86-opcode-map.txt | ||
| 5 | |||
| 6 | $(OUTPUT)util/intel-pt-decoder/inat-tables.c: $(inat_tables_script) $(inat_tables_maps) | ||
| 7 | @$(call echo-cmd,gen)$(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@ || rm -f $@ | ||
| 8 | |||
| 9 | $(OUTPUT)util/intel-pt-decoder/intel-pt-insn-decoder.o: util/intel-pt-decoder/inat.c $(OUTPUT)util/intel-pt-decoder/inat-tables.c | ||
| 10 | |||
| 11 | CFLAGS_intel-pt-insn-decoder.o += -I$(OUTPUT)util/intel-pt-decoder -Wno-override-init | ||
