aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@sirena.org.uk>2013-06-14 12:08:36 +0100
committerMark Brown <broonie@sirena.org.uk>2013-06-14 12:08:36 +0100
commitbe8dbe4a61bee819bb0536f992b453e3bfd5bd7a (patch)
tree18a27de615dc92ca4bd1d4d031a0cb4984916ccc
parent017db6aba01656f754d034bf17c6fae0a76ca36e (diff)
parent3d189d54fa971294d451147a042acc050d9f32cc (diff)
Merge branch 'tracking-lsk-misc-fixes' into merge-manifest
-rw-r--r--tools/perf/config/utilities.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/config/utilities.mak b/tools/perf/config/utilities.mak
index 8ef3bd30a549..3e897198d1f7 100644
--- a/tools/perf/config/utilities.mak
+++ b/tools/perf/config/utilities.mak
@@ -173,7 +173,7 @@ _ge-abspath = $(if $(is-executable),$(1))
# Usage: absolute-executable-path-or-empty = $(call get-executable-or-default,variable,default)
#
define get-executable-or-default
-$(if $($(1)),$(call _ge_attempt,$($(1)),$(1)),$(call _ge_attempt,$(2),$(1)))
+$(if $($(1)),$(call _ge_attempt,$($(1)),$(1)),$(call _ge_attempt,$(2)))
endef
_ge_attempt = $(if $(get-executable),$(get-executable),$(_gea_warn)$(call _gea_err,$(2)))
_gea_warn = $(warning The path '$(1)' is not executable.)