[tip:perf/urgent] perf tools: Drop CROSS_COMPILE from flex and bison calls

From: tip-bot for Otavio Salvador
Date: Wed Apr 25 2012 - 09:47:46 EST


Commit-ID: 6ffd7bdbf8516d691974d21098278af65d4817a5
Gitweb: http://git.kernel.org/tip/6ffd7bdbf8516d691974d21098278af65d4817a5
Author: Otavio Salvador <otavio@xxxxxxxxxxxxxxxx>
AuthorDate: Wed, 11 Apr 2012 09:44:30 -0300
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Mon, 16 Apr 2012 16:10:22 -0300

perf tools: Drop CROSS_COMPILE from flex and bison calls

The flex and bison tools generate arch-independent C code so its
binaries are not prefixed with the target-arch prefix. With this patch
the Linux 3.4-rc2 can be successfuly build on OE-Core.

Signed-off-by: Otavio Salvador <otavio@xxxxxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/1334148270-13139-1-git-send-email-otavio@xxxxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 03059e7..9bf3fc7 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -234,8 +234,8 @@ endif

export PERL_PATH

-FLEX = $(CROSS_COMPILE)flex
-BISON= $(CROSS_COMPILE)bison
+FLEX = flex
+BISON= bison

$(OUTPUT)util/parse-events-flex.c: util/parse-events.l
$(QUIET_FLEX)$(FLEX) --header-file=$(OUTPUT)util/parse-events-flex.h -t util/parse-events.l > $(OUTPUT)util/parse-events-flex.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/