aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 5aa3d040bbf3..914704495166 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -34,7 +34,7 @@ endif
34# Only pass canonical directory names as the output directory: 34# Only pass canonical directory names as the output directory:
35# 35#
36ifneq ($(O),) 36ifneq ($(O),)
37 FULL_O := $(shell readlink -f $(O)) 37 FULL_O := $(shell readlink -f $(O) || echo $(O))
38endif 38endif
39 39
40define print_msg 40define print_msg