Messages in this thread |  | | Date | Thu, 31 Oct 2013 17:31:55 -0600 | From | David Ahern <> | Subject | perf version not set when building out of tree |
| |
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
|  |