aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 35655c3a7b7a..2d4bf6ef1c5a 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -186,10 +186,10 @@ SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH))
186 186
187TRACE_EVENT_DIR = ../lib/traceevent/ 187TRACE_EVENT_DIR = ../lib/traceevent/
188 188
189ifeq ("$(origin O)", "command line") 189ifneq ($(OUTPUT),)
190 TE_PATH=$(OUTPUT)/ 190 TE_PATH=$(OUTPUT)
191else 191else
192 TE_PATH=$(TRACE_EVENT_DIR)/ 192 TE_PATH=$(TRACE_EVENT_DIR)
193endif 193endif
194 194
195LIBTRACEEVENT = $(TE_PATH)libtraceevent.a 195LIBTRACEEVENT = $(TE_PATH)libtraceevent.a
@@ -842,7 +842,7 @@ $(LIB_FILE): $(LIB_OBJS)
842 842
843# libtraceevent.a 843# libtraceevent.a
844$(LIBTRACEEVENT): 844$(LIBTRACEEVENT):
845 $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) $(COMMAND_O) libtraceevent.a 845 $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) libtraceevent.a
846 846
847help: 847help:
848 @echo 'Perf make targets:' 848 @echo 'Perf make targets:'