projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d61b9f
)
perf: clear out make flags when calling kernel make kernelver
author
Andy Whitcroft
<
[email protected]
>
Wed, 15 Jun 2011 13:35:00 +0000
(14:35 +0100)
committer
Michal Marek
<
[email protected]
>
Wed, 15 Jun 2011 20:12:55 +0000
(22:12 +0200)
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 <
[email protected]
>
Signed-off-by: Michal Marek <
[email protected]
>
tools/perf/util/PERF-VERSION-GEN
patch
|
blob
|
history
diff --git
a/tools/perf/util/PERF-VERSION-GEN
b/tools/perf/util/PERF-VERSION-GEN
index 9c5fb4d93824e406d534631a39ca96ea48e415a0..ad73300f7bac6d1b11e4db0f1e121e0e26b0fb0c 100755
(executable)
--- 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*'\(.*\)')