summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/loongarch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/loongarch/Makefile')
-rw-r--r--tools/perf/arch/loongarch/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/loongarch/Makefile b/tools/perf/arch/loongarch/Makefile
index c392e7af47..3992a67a87 100644
--- a/tools/perf/arch/loongarch/Makefile
+++ b/tools/perf/arch/loongarch/Makefile
@@ -17,7 +17,7 @@ sysprf := $(srctree)/tools/perf/arch/loongarch/entry/syscalls/
systbl := $(sysprf)/mksyscalltbl
# Create output directory if not already present
-_dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
+$(shell [ -d '$(out)' ] || mkdir -p '$(out)')
$(header): $(sysdef) $(systbl)
$(Q)$(SHELL) '$(systbl)' '$(CC)' '$(HOSTCC)' $(incpath) $(sysdef) > $@