Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / tools / perf / pmu-events / Build
blob999a4e8781621677821440e80ec8491689bbc6e3
1 hostprogs := jevents
3 jevents-y       += json.o jsmn.o jevents.o
4 pmu-events-y    += pmu-events.o
5 JDIR            =  pmu-events/arch/$(SRCARCH)
6 JSON            =  $(shell [ -d $(JDIR) ] &&                            \
7                         find $(JDIR) -name '*.json' -o -name 'mapfile.csv')
9 # Locate/process JSON files in pmu-events/arch/
10 # directory and create tables in pmu-events.c.
12 $(OUTPUT)pmu-events/pmu-events.c: $(JSON) $(JEVENTS)
13         $(Q)$(call echo-cmd,gen)$(JEVENTS) $(SRCARCH) pmu-events/arch $(OUTPUT)pmu-events/pmu-events.c $(V)