[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5272E86B.7090003@gmail.com>
Date: Thu, 31 Oct 2013 17:31:55 -0600
From: David Ahern <dsahern@...il.com>
To: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
LKML <linux-kernel@...r.kernel.org>,
Namhyung Kim <namhyung@...nel.org>,
Jiri Olsa <jolsa@...hat.com>, Ingo Molnar <mingo@...nel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists