xref: /kernel/linux/linux-5.10/tools/perf/pmu-events/Build (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/perf/pmu-events/
18c2ecf20Sopenharmony_cihostprogs := jevents
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_cijevents-y	+= json.o jsmn.o jevents.o
48c2ecf20Sopenharmony_ciHOSTCFLAGS_jevents.o	= -I$(srctree)/tools/include
58c2ecf20Sopenharmony_cipmu-events-y	+= pmu-events.o
68c2ecf20Sopenharmony_ciJDIR		=  pmu-events/arch/$(SRCARCH)
78c2ecf20Sopenharmony_ciJSON		=  $(shell [ -d $(JDIR) ] &&				\
88c2ecf20Sopenharmony_ci			find $(JDIR) -name '*.json' -o -name 'mapfile.csv')
98c2ecf20Sopenharmony_ciJDIR_TEST	=  pmu-events/arch/test
108c2ecf20Sopenharmony_ciJSON_TEST	=  $(shell [ -d $(JDIR_TEST) ] &&			\
118c2ecf20Sopenharmony_ci			find $(JDIR_TEST) -name '*.json')
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#
148c2ecf20Sopenharmony_ci# Locate/process JSON files in pmu-events/arch/
158c2ecf20Sopenharmony_ci# directory and create tables in pmu-events.c.
168c2ecf20Sopenharmony_ci#
178c2ecf20Sopenharmony_ci$(OUTPUT)pmu-events/pmu-events.c: $(JSON) $(JSON_TEST) $(JEVENTS)
188c2ecf20Sopenharmony_ci	$(Q)$(call echo-cmd,gen)$(JEVENTS) $(SRCARCH) pmu-events/arch $(OUTPUT)pmu-events/pmu-events.c $(V)
19

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