mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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>
This commit is contained in:
parent
5d61b9fd19
commit
37aa9a2eb4
1 changed files with 1 additions and 1 deletions
|
@ -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*'\(.*\)')
|
||||
|
|
Loading…
Reference in a new issue