diff options
-rw-r--r-- | tools/perf/Makefile | 2 |
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 | # |
36 | ifneq ($(O),) | 36 | ifneq ($(O),) |
37 | FULL_O := $(shell readlink -f $(O)) | 37 | FULL_O := $(shell readlink -f $(O) || echo $(O)) |
38 | endif | 38 | endif |
39 | 39 | ||
40 | define print_msg | 40 | define print_msg |