--- tools/perf/config/utilities.mak.orig 2013-03-20 03:17:41.000000000 +0000 +++ tools/perf/config/utilities.mak 2013-03-21 03:30:04.156548338 +0000 @@ -173,7 +173,7 @@ # 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.)