[tip:perf/core] perf tools: Allow external definition of flex and bison binary names

From: tip-bot for David Carrillo-Cisneros
Date: Tue Aug 29 2017 - 17:25:27 EST


Commit-ID: 39a59f1e3ea541035637432db39158a461f29146
Gitweb: http://git.kernel.org/tip/39a59f1e3ea541035637432db39158a461f29146
Author: David Carrillo-Cisneros <davidcc@xxxxxxxxxx>
AuthorDate: Sun, 27 Aug 2017 00:54:38 -0700
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Mon, 28 Aug 2017 16:44:45 -0300

perf tools: Allow external definition of flex and bison binary names

Allow user to define flex and bison binary names by passing FLEX and
BISON variables.

Signed-off-by: David Carrillo-Cisneros <davidcc@xxxxxxxxxx>
Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Paul Turner <pjt@xxxxxxxxxx>
Cc: Stephane Eranian <eranian@xxxxxxxxxx>
Link: http://lkml.kernel.org/r/20170827075442.108534-3-davidcc@xxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/Makefile.perf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index a700a07..58924eb 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -164,8 +164,8 @@ LN = ln -f
MKDIR = mkdir
FIND = find
INSTALL = install
-FLEX = flex
-BISON = bison
+FLEX ?= flex
+BISON ?= bison
STRIP = strip
AWK = awk