[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120411195244.GL16257@infradead.org>
Date: Wed, 11 Apr 2012 16:52:44 -0300
From: Arnaldo Carvalho de Melo <acme@...radead.org>
To: David Ahern <dsahern@...il.com>
Cc: Borislav Petkov <bp@...64.org>, Ingo Molnar <mingo@...nel.org>,
Michal Marek <mmarek@...e.cz>, Sam Ravnborg <sam@...nborg.org>,
LKML <linux-kernel@...r.kernel.org>,
Borislav Petkov <borislav.petkov@....com>
Subject: Re: [PATCH v5 5/5] tools: Connect to the kernel build system
Em Wed, Apr 11, 2012 at 12:19:15PM -0600, David Ahern escreveu:
> On 4/11/12 12:08 PM, Arnaldo Carvalho de Melo wrote:
>
> >>[acme@...dy linux]$ make -j8 O=/home/git/build/perf tools/perf_install
> >>[acme@...dy linux]$ ls -la tools/perf/*.o | wc -l
> >>22
> >>
> >>It should have honoured O=
> >>
> >>Can you fix this one please? :)
> >
> >But that can be on top of this series as the way I use it:
> >
> > make -j8 -C tools/perf/ O=/home/git/build/perf install
> >
> >still works as expected.
>
> Does this sequence still work?
>
> cd tools/perf
> make O=/tmp/pbuild
>
> and the O= is honored?
Yes:
[acme@...dy linux]$ mkdir /tmp/perf
[acme@...dy linux]$ cd tools/perf
[acme@...dy perf]$ make O=/tmp/perf
MKDIR /tmp/perf/arch/x86/util
<SNIP>
MKDIR /tmp/perf/util/ui/browsers
PERF_VERSION = perf.core.for.mingo.6.gea01fa
GEN /tmp/perf/common-cmds.h
* new build flags or prefix
CC /tmp/perf/perf.o
CC /tmp/perf/builtin-annotate.o
<SNIP>
CC /tmp/perf/util/parse-options.o
BISON event-parser
FLEX event-parser
BISON pmu-parser
FLEX pmu-parser
CC /tmp/perf/util/parse-events.o
<SNIP>
AR /tmp/perf/libperf.a
LINK /tmp/perf/perf
GEN perf-archive
GEN /tmp/perf/python/perf.so
[acme@...dy perf]$
[acme@...dy perf]$ /tmp/perf/perf --version
perf version perf.core.for.mingo.6.gea01fa
[acme@...dy perf]$
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists