aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-05-03 14:23:52 +0100
committerJon Medhurst <tixy@linaro.org>2013-05-03 14:23:52 +0100
commitd619c729b3c4d29b4e6915acfa0a7455a25227d3 (patch)
treec9a72eda93ef06f70485fdcf423a1e4bd9963fb9
parent1dec51b1db3a93b92472cc06e6f2c4426a4900bf (diff)
parentd3e253478b1726d76ac816e813e07c240a7f0ee2 (diff)
Merge branch 'tracking-armlt-local-fixes' into integration-linux-vexpress
-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 8ef3bd30a54..3e897198d1f 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.)