aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Spencer <maillist-linux@barfooze.de>2014-08-25 15:36:32 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-09-17 16:08:09 -0400
commitbf9e3e5763722c9668c6719a1de60ee58452b738 (patch)
treec1d88269ac8490b77168ea0a02ce160d6a9f267b
parent763122ade725592402190f5ff3b8d2edf42b87e8 (diff)
perf tools: Fix GNU-only grep usage in Makefile
This makes it work with non-GNU grep's as well. Signed-off-by: John Spencer <maillist-linux@barfooze.de> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: http://thread.gmane.org/gmane.linux.kernel.perf.user/1686 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-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 4d985e0f03f5..7076a62d0ff7 100644
--- a/tools/perf/config/utilities.mak
+++ b/tools/perf/config/utilities.mak
@@ -132,7 +132,7 @@ endef
132# 132#
133# Usage: bool-value = $(call is-absolute,path) 133# Usage: bool-value = $(call is-absolute,path)
134# 134#
135is-absolute = $(shell echo $(shell-sq) | grep ^/ -q && echo y) 135is-absolute = $(shell echo $(shell-sq) | grep -q ^/ && echo y)
136 136
137# lookup 137# lookup
138# 138#