perf: clear out make flags when calling kernel make kernelver
authorAndy Whitcroft <apw@canonical.com>
Wed, 15 Jun 2011 13:35:00 +0000 (14:35 +0100)
committerMichal Marek <mmarek@suse.cz>
Wed, 15 Jun 2011 20:12:55 +0000 (22:12 +0200)
commit37aa9a2eb4d9b1a4aec1fd18bb2bb6bca029de27
tree548a93ad0b76c121bf74471b67f638fda3bbc3c0
parent5d61b9fd19d9f3cf653dbba615876e7792eea5ea
perf: clear out make flags when calling kernel make kernelver

When generating the perf version from the kernel version using 'make
kernelver' it is necessary to clear out any MAKEFLAGS otherwise they may
trigger additional output which pollute the contents.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
tools/perf/util/PERF-VERSION-GEN