diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-30 07:52:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-30 07:52:19 -0400 |
commit | aac3f3c2c41ce49a6dbb98d9145265c00a964dc2 (patch) | |
tree | 0fde7e619d2c21f68a79cd33e53b4fa5f22d1611 /Documentation | |
parent | c5dd016cdf0a040e1de0b691e274fbfe642b2cdc (diff) |
perf_counter tools: add perf-report to the Makefile
Build it explicitly until it's a proper builtin command.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/perf_counter/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/perf_counter/Makefile b/Documentation/perf_counter/Makefile index 543ccf28ac4a..877cf5dedb55 100644 --- a/Documentation/perf_counter/Makefile +++ b/Documentation/perf_counter/Makefile | |||
@@ -228,7 +228,7 @@ COMPAT_CFLAGS = | |||
228 | COMPAT_OBJS = | 228 | COMPAT_OBJS = |
229 | LIB_H = | 229 | LIB_H = |
230 | LIB_OBJS = | 230 | LIB_OBJS = |
231 | PROGRAMS = | 231 | PROGRAMS = perf-report |
232 | SCRIPT_PERL = | 232 | SCRIPT_PERL = |
233 | SCRIPT_SH = | 233 | SCRIPT_SH = |
234 | TEST_PROGRAMS = | 234 | TEST_PROGRAMS = |
@@ -808,6 +808,10 @@ clean: | |||
808 | $(RM) $(htmldocs).tar.gz $(manpages).tar.gz | 808 | $(RM) $(htmldocs).tar.gz $(manpages).tar.gz |
809 | $(RM) PERF-VERSION-FILE PERF-CFLAGS PERF-BUILD-OPTIONS | 809 | $(RM) PERF-VERSION-FILE PERF-CFLAGS PERF-BUILD-OPTIONS |
810 | 810 | ||
811 | # temporary hack: | ||
812 | perf-report: perf-report.cc ../../include/linux/perf_counter.h Makefile | ||
813 | g++ -g -O2 -Wall -lrt -o $@ $< | ||
814 | |||
811 | .PHONY: all install clean strip | 815 | .PHONY: all install clean strip |
812 | .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell | 816 | .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell |
813 | .PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS | 817 | .PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS |