Commit aac3f3c2 authored by Ingo Molnar's avatar Ingo Molnar

perf_counter tools: add perf-report to the Makefile

Build it explicitly until it's a proper builtin command.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c5dd016c
...@@ -228,7 +228,7 @@ COMPAT_CFLAGS = ...@@ -228,7 +228,7 @@ COMPAT_CFLAGS =
COMPAT_OBJS = COMPAT_OBJS =
LIB_H = LIB_H =
LIB_OBJS = LIB_OBJS =
PROGRAMS = PROGRAMS = perf-report
SCRIPT_PERL = SCRIPT_PERL =
SCRIPT_SH = SCRIPT_SH =
TEST_PROGRAMS = TEST_PROGRAMS =
...@@ -808,6 +808,10 @@ clean: ...@@ -808,6 +808,10 @@ clean:
$(RM) $(htmldocs).tar.gz $(manpages).tar.gz $(RM) $(htmldocs).tar.gz $(manpages).tar.gz
$(RM) PERF-VERSION-FILE PERF-CFLAGS PERF-BUILD-OPTIONS $(RM) PERF-VERSION-FILE PERF-CFLAGS PERF-BUILD-OPTIONS
# temporary hack:
perf-report: perf-report.cc ../../include/linux/perf_counter.h Makefile
g++ -g -O2 -Wall -lrt -o $@ $<
.PHONY: all install clean strip .PHONY: all install clean strip
.PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell
.PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS .PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment