Merge tag 'powerpc-5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux/fpc-iii.git] / tools / perf / util / intel-pt-decoder / Build
blobbc629359826fbf234393993f6345cdd80e86b944
1 perf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o intel-pt-insn-decoder.o intel-pt-log.o intel-pt-decoder.o
3 inat_tables_script = $(srctree)/tools/arch/x86/tools/gen-insn-attr-x86.awk
4 inat_tables_maps = $(srctree)/tools/arch/x86/lib/x86-opcode-map.txt
6 $(OUTPUT)util/intel-pt-decoder/inat-tables.c: $(inat_tables_script) $(inat_tables_maps)
7         $(call rule_mkdir)
8         @$(call echo-cmd,gen)$(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@ || rm -f $@
10 # Busybox's diff doesn't have -I, avoid warning in the case
12 $(OUTPUT)util/intel-pt-decoder/intel-pt-insn-decoder.o: util/intel-pt-decoder/intel-pt-insn-decoder.c $(OUTPUT)util/intel-pt-decoder/inat-tables.c
13         $(call rule_mkdir)
14         $(call if_changed_dep,cc_o_c)
16 CFLAGS_intel-pt-insn-decoder.o += -I$(OUTPUT)util/intel-pt-decoder
18 ifeq ($(CC_NO_CLANG), 1)
19   CFLAGS_intel-pt-insn-decoder.o += -Wno-override-init
20 endif