tools/perf/build: Fix install dependency
authorJiri Olsa <jolsa@redhat.com>
Thu, 5 Dec 2013 11:13:54 +0000 (12:13 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 5 Dec 2013 12:26:14 +0000 (13:26 +0100)
The traceevents-plugins install targets needs a proper dependency,
otherwise it might be executed prematurely and in parallel to an
actual build.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/n/tip-rvlbzena4ovzgqiPm6teBofz@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/Makefile.perf

index ca3b87d5389a12bc9e00cccbab1168e22a42b5c1..9a8cf376f8741f5adeb7f4ad1425c35bac684352 100644 (file)
@@ -722,7 +722,7 @@ $(LIBTRACEEVENT)-clean:
        $(call QUIET_CLEAN, libtraceevent)
        @$(MAKE) -C $(TRACE_EVENT_DIR) O=$(OUTPUT) clean >/dev/null
 
-install-traceevent-plugins:
+install-traceevent-plugins: $(LIBTRACEEVENT)
        $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) install_plugins
 
 LIBLK_SOURCES = $(wildcard $(LK_PATH)*.[ch])