diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2013-03-21 18:35:32 +0400 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2013-05-27 18:06:28 +0400 |
commit | 3d189d54fa971294d451147a042acc050d9f32cc (patch) | |
tree | 73773b60af255061f59aa2b73481651cc7185ba3 | |
parent | c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 (diff) | |
download | vexpress-lsk-tracking-lsk-misc-fixes-lsk-20130527.0.tar.gz |
perf tools: make perf to build in 3.9 kernel tree againtracking-lsk-misc-fixes-manifest-20130614.0tracking-lsk-misc-fixes-manifest-20130613.0tracking-lsk-misc-fixes-lsk-20130528.0tracking-lsk-misc-fixes-lsk-20130527.0v3.9/ynk-fixes
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.mak | 2 |
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.) |