summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJohn Spencer2014-08-25 21:36:32 +0200
committerArnaldo Carvalho de Melo2014-09-17 22:08:09 +0200
commitbf9e3e5763722c9668c6719a1de60ee58452b738 (patch)
treec1d88269ac8490b77168ea0a02ce160d6a9f267b /tools
parentperf tools: Disable kernel symbol demangling by default (diff)
downloadkernel-qcow2-linux-bf9e3e5763722c9668c6719a1de60ee58452b738.tar.gz
kernel-qcow2-linux-bf9e3e5763722c9668c6719a1de60ee58452b738.tar.xz
kernel-qcow2-linux-bf9e3e5763722c9668c6719a1de60ee58452b738.zip
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>
Diffstat (limited to 'tools')
-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
#
# Usage: bool-value = $(call is-absolute,path)
#
-is-absolute = $(shell echo $(shell-sq) | grep ^/ -q && echo y)
+is-absolute = $(shell echo $(shell-sq) | grep -q ^/ && echo y)
# lookup
#