diff options
-rwxr-xr-x | scripts/mkcompile_h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h index a8740df07b09..6a12dd9f1181 100755 --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h | |||
@@ -4,6 +4,8 @@ SMP=$3 | |||
4 | PREEMPT=$4 | 4 | PREEMPT=$4 |
5 | CC=$5 | 5 | CC=$5 |
6 | 6 | ||
7 | vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; } | ||
8 | |||
7 | # If compile.h exists already and we don't own autoconf.h | 9 | # If compile.h exists already and we don't own autoconf.h |
8 | # (i.e. we're not the same user who did make *config), don't | 10 | # (i.e. we're not the same user who did make *config), don't |
9 | # modify compile.h | 11 | # modify compile.h |
@@ -11,7 +13,7 @@ CC=$5 | |||
11 | # do "compiled by root" | 13 | # do "compiled by root" |
12 | 14 | ||
13 | if [ -r $TARGET -a ! -O include/linux/autoconf.h ]; then | 15 | if [ -r $TARGET -a ! -O include/linux/autoconf.h ]; then |
14 | echo " SKIPPED $TARGET" | 16 | vecho " SKIPPED $TARGET" |
15 | exit 0 | 17 | exit 0 |
16 | fi | 18 | fi |
17 | 19 | ||
@@ -89,7 +91,7 @@ if [ -r $TARGET ] && \ | |||
89 | cmp -s .tmpver.1 .tmpver.2; then | 91 | cmp -s .tmpver.1 .tmpver.2; then |
90 | rm -f .tmpcompile | 92 | rm -f .tmpcompile |
91 | else | 93 | else |
92 | echo " UPD $TARGET" | 94 | vecho " UPD $TARGET" |
93 | mv -f .tmpcompile $TARGET | 95 | mv -f .tmpcompile $TARGET |
94 | fi | 96 | fi |
95 | rm -f .tmpver.1 .tmpver.2 | 97 | rm -f .tmpver.1 .tmpver.2 |