linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf: do not prefix flex and bison calls with CROSS_COMPILE prefix
@ 2012-04-11 12:44 Otavio Salvador
  2012-04-11 14:18 ` Bruce Ashfield
  2012-04-25 13:47 ` [tip:perf/urgent] perf tools: Drop CROSS_COMPILE from flex and bison calls tip-bot for Otavio Salvador
  0 siblings, 2 replies; 3+ messages in thread
From: Otavio Salvador @ 2012-04-11 12:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: Otavio Salvador

Other parts of kernel calls bison and flex but do not use the
CROSS_COMPILE prefix so this ought to be done in same way.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 tools/perf/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 820371f..0ae8165 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
 
 event-parser:
 	$(QUIET_BISON)$(BISON) -v util/parse-events.y -d -o $(OUTPUT)util/parse-events-bison.c
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf: do not prefix flex and bison calls with CROSS_COMPILE prefix
  2012-04-11 12:44 [PATCH] perf: do not prefix flex and bison calls with CROSS_COMPILE prefix Otavio Salvador
@ 2012-04-11 14:18 ` Bruce Ashfield
  2012-04-25 13:47 ` [tip:perf/urgent] perf tools: Drop CROSS_COMPILE from flex and bison calls tip-bot for Otavio Salvador
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2012-04-11 14:18 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: linux-kernel

On Wed, Apr 11, 2012 at 8:44 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Other parts of kernel calls bison and flex but do not use the
> CROSS_COMPILE prefix so this ought to be done in same way.

FWIW. I have the same fix here that I'm using with 3.4-rc2, but hadn't
gotten around to sending it out yet.

So that's a count of two without a cross prefixed flex and bison :)

Cheers,

Bruce

>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  tools/perf/Makefile |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/perf/Makefile b/tools/perf/Makefile
> index 820371f..0ae8165 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
>
>  event-parser:
>        $(QUIET_BISON)$(BISON) -v util/parse-events.y -d -o $(OUTPUT)util/parse-events-bison.c
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/urgent] perf tools: Drop CROSS_COMPILE from flex and bison calls
  2012-04-11 12:44 [PATCH] perf: do not prefix flex and bison calls with CROSS_COMPILE prefix Otavio Salvador
  2012-04-11 14:18 ` Bruce Ashfield
@ 2012-04-25 13:47 ` tip-bot for Otavio Salvador
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Otavio Salvador @ 2012-04-25 13:47 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: acme, linux-kernel, hpa, mingo, tglx, otavio

Commit-ID:  6ffd7bdbf8516d691974d21098278af65d4817a5
Gitweb:     http://git.kernel.org/tip/6ffd7bdbf8516d691974d21098278af65d4817a5
Author:     Otavio Salvador <otavio@ossystems.com.br>
AuthorDate: Wed, 11 Apr 2012 09:44:30 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
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@ossystems.com.br>
Link: http://lkml.kernel.org/r/1334148270-13139-1-git-send-email-otavio@ossystems.com.br
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-25 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 12:44 [PATCH] perf: do not prefix flex and bison calls with CROSS_COMPILE prefix Otavio Salvador
2012-04-11 14:18 ` Bruce Ashfield
2012-04-25 13:47 ` [tip:perf/urgent] perf tools: Drop CROSS_COMPILE from flex and bison calls tip-bot for Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).