aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2013-05-27 18:08:25 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-05-27 18:08:25 +0400
commite2322f11a402ffa2e316e62dfdc54d5948eb073f (patch)
tree0f7984972887bf3236aab2a5875445225edfd4fc
parent8f8d94793f513864f6f911b25fdc055c66eb624c (diff)
parent3d189d54fa971294d451147a042acc050d9f32cc (diff)
Merge branch 'tracking-lsk-misc-fixes' into merge-linux-linaro-lsk
-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.)