aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-03-21 18:35:32 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-05-22 23:04:30 +0400
commit21b4b77ea94dc26acf4a117b3467de1f52815513 (patch)
tree1d0bcac658fe93f8037f90cf3b707eaa70a3cc0a
parentc4e21adb0ec340d33fc33fcb7eaaa2c84d96a412 (diff)
perf tools: make perf to build in 3.9 kernel tree againll-20130522.0ll_20130522.0
Put the behaviour back to the same as in 3.8 kernel tree, but preserve compatibility with make version 3.80 Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-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.)