xref: /kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/Build
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/
162306a36Sopenharmony_ciperf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o intel-pt-insn-decoder.o intel-pt-log.o intel-pt-decoder.o
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciinat_tables_script = $(srctree)/tools/arch/x86/tools/gen-insn-attr-x86.awk
462306a36Sopenharmony_ciinat_tables_maps = $(srctree)/tools/arch/x86/lib/x86-opcode-map.txt
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci$(OUTPUT)util/intel-pt-decoder/inat-tables.c: $(inat_tables_script) $(inat_tables_maps)
762306a36Sopenharmony_ci	$(call rule_mkdir)
862306a36Sopenharmony_ci	@$(call echo-cmd,gen)$(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@ || rm -f $@
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci# Busybox's diff doesn't have -I, avoid warning in the case
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci$(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
1362306a36Sopenharmony_ci	$(call rule_mkdir)
1462306a36Sopenharmony_ci	$(call if_changed_dep,cc_o_c)
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciCFLAGS_intel-pt-insn-decoder.o += -I$(OUTPUT)util/intel-pt-decoder
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciifeq ($(CC_NO_CLANG), 1)
1962306a36Sopenharmony_ci  CFLAGS_intel-pt-insn-decoder.o += -Wno-override-init
2062306a36Sopenharmony_ciendif
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciCFLAGS_intel-pt-insn-decoder.o += -Wno-packed
23

Indexes created Thu Nov 07 10:32:03 CST 2024