From: Andy Whitcroft Date: Wed, 15 Jun 2011 13:35:00 +0000 (+0100) Subject: perf: clear out make flags when calling kernel make kernelver X-Git-Tag: upstream/snapshot3+hdmi~9676^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37aa9a2eb4d9b1a4aec1fd18bb2bb6bca029de27;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Michal Marek --- diff --git a/tools/perf/util/PERF-VERSION-GEN b/tools/perf/util/PERF-VERSION-GEN index 9c5fb4d..ad73300 100755 --- a/tools/perf/util/PERF-VERSION-GEN +++ b/tools/perf/util/PERF-VERSION-GEN @@ -23,7 +23,7 @@ if test -d ../../.git -o -f ../../.git && then VN=$(echo "$VN" | sed -e 's/-/./g'); else - VN=$(make -sC ../.. kernelversion) + VN=$(MAKEFLAGS= make -sC ../.. kernelversion) fi VN=$(expr "$VN" : v*'\(.*\)')