public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf version not set when building out of tree
@ 2013-10-31 23:31 David Ahern
  2013-11-01  7:02 ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: David Ahern @ 2013-10-31 23:31 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, LKML, Namhyung Kim, Jiri Olsa,
	Ingo Molnar

When building out of tree:

make perf-tar-src-pkg
tar -xf perf-<ver>.tar -C /tmp
cd /tmp/perf<ver>
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= make -sC ../.. kernelversion)
fi

There is no top level Makefile. perf is actually built, but has no 
version info:

$ tools/perf/perf --version
perf version

I thought someone had proposed a way to fix that.

David

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

end of thread, other threads:[~2013-11-05 23:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 23:31 perf version not set when building out of tree David Ahern
2013-11-01  7:02 ` Ingo Molnar
2013-11-01 13:30   ` David Ahern
2013-11-01 15:41     ` Ingo Molnar
2013-11-05 23:58   ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox