Skip to content

Commit

Permalink
perf_counter tools: add perf-report to the Makefile
Browse files Browse the repository at this point in the history
Build it explicitly until it's a proper builtin command.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 30, 2009
1 parent c5dd016 commit aac3f3c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/perf_counter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ COMPAT_CFLAGS =
COMPAT_OBJS =
LIB_H =
LIB_OBJS =
PROGRAMS =
PROGRAMS = perf-report
SCRIPT_PERL =
SCRIPT_SH =
TEST_PROGRAMS =
Expand Down Expand Up @@ -808,6 +808,10 @@ clean:
$(RM) $(htmldocs).tar.gz $(manpages).tar.gz
$(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: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell
.PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS
Expand Down

0 comments on commit aac3f3c

Please sign in to comment.