diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-05-22 05:03:54 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-05-22 11:35:29 -0400 |
commit | e33387fc2748ac78fd577dee2c914fc3ea0ba0cd (patch) | |
tree | b1120f4f4a906dc4900b29b6c71c244e52b6de51 /tools/perf/Makefile | |
parent | 59f3bea53bfe2f395d548906fa39d01df620f0ac (diff) |
perf tools: Always try to build libtraceevent
Although perf depends on the libtraceevent, it cannot know when it needs
to be rebuilt. So just try to rebuild it always in order to make sure we
use the latest version.
While at it, silence annoying directory change messages.
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1337677434-4881-2-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index ef75a5570d94..1d3d513beb9b 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -828,7 +828,7 @@ $(LIB_FILE): $(LIB_OBJS) | |||
828 | 828 | ||
829 | # libtraceevent.a | 829 | # libtraceevent.a |
830 | $(LIBTRACEEVENT): | 830 | $(LIBTRACEEVENT): |
831 | $(MAKE) -C $(TRACE_EVENT_DIR) $(COMMAND_O) libtraceevent.a | 831 | $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) $(COMMAND_O) libtraceevent.a |
832 | 832 | ||
833 | help: | 833 | help: |
834 | @echo 'Perf make targets:' | 834 | @echo 'Perf make targets:' |
@@ -976,6 +976,6 @@ clean: | |||
976 | $(RM) $(OUTPUT)util/*-{bison,flex}* | 976 | $(RM) $(OUTPUT)util/*-{bison,flex}* |
977 | $(python-clean) | 977 | $(python-clean) |
978 | 978 | ||
979 | .PHONY: all install clean strip | 979 | .PHONY: all install clean strip $(LIBTRACEEVENT) |
980 | .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell | 980 | .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell |
981 | .PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS | 981 | .PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS |