lkml.org 
[lkml]   [2012]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/4] perf tools: Drop CROSS_COMPILE from flex and bison calls
    Date
    From: Otavio Salvador <otavio@ossystems.com.br>

    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 file 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
    --
    1.7.9.2.358.g22243


    \
     
     \ /
      Last update: 2012-04-20 18:57    [W:0.030 / U:0.720 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site