Messages in this thread | | | Date | Wed, 11 Apr 2012 16:52:44 -0300 | From | Arnaldo Carvalho de Melo <> | 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@sandy linux]$ make -j8 O=/home/git/build/perf tools/perf_install > >>[acme@sandy 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@sandy linux]$ mkdir /tmp/perf [acme@sandy linux]$ cd tools/perf [acme@sandy 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@sandy perf]$ [acme@sandy perf]$ /tmp/perf/perf --version perf version perf.core.for.mingo.6.gea01fa [acme@sandy perf]$
- Arnaldo
| |