lkml.org 
[lkml]   [2013]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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"
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


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