Re: perf version not set when building out of tree

2013-11-05 Thread David Ahern
On 11/1/13, 1:02 AM, Ingo Molnar wrote: I think we should pack the PERF-VERSION-FILE with the tarball and use that. This needs roughly 3 changes: - make PERF-VERSION-FILE part of the tarball - make sure it's not zapped on 'make clean' - don't try to regenerate it if there's no git reposito

Re: perf version not set when building out of tree

2013-11-01 Thread Ingo Molnar
* David Ahern wrote: > On 11/1/13, 1:02 AM, Ingo Molnar wrote: > > > >* David Ahern wrote: > > > >>When building out of tree: > >> > >>make perf-tar-src-pkg > > > >What's the canonical way to build a perf tarball? I didn't find any > >makefile target for that. > > Perhaps I misunderstand your

Re: perf version not set when building out of tree

2013-11-01 Thread David Ahern
On 11/1/13, 1:02 AM, Ingo Molnar wrote: * David Ahern wrote: When building out of tree: make perf-tar-src-pkg What's the canonical way to build a perf tarball? I didn't find any makefile target for that. Perhaps I misunderstand your question. From the top-level of a kernel tree: $ make h

Re: perf version not set when building out of tree

2013-11-01 Thread Ingo Molnar
* David Ahern wrote: > When building out of tree: > > make perf-tar-src-pkg What's the canonical way to build a perf tarball? I didn't find any makefile target for that. > tar -xf perf-.tar -C /tmp > cd /tmp/perf > make -C tools/perf > > you get the warning message: > make[1]: *** No rule t

perf version not set when building out of tree

2013-10-31 Thread David Ahern
When building out of tree: make perf-tar-src-pkg tar -xf perf-.tar -C /tmp cd /tmp/perf make -C tools/perf you get the warning message: make[1]: *** No rule to make target `kernelversion'. Stop. which comes from tools/perf/util/PERF-VERSION-GEN, if test -z "$TAG" then TAG=$(MAKEFLAGS= mak