[lkml]   [2013]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectperf 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"
TAG=$(MAKEFLAGS= make -sC ../.. kernelversion)

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.


 \ /
  Last update: 2013-11-01 01:01    [W:0.100 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site