summaryrefslogtreecommitdiffstats
path: root/scripts/mkcompile_h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkcompile_h')
-rwxr-xr-xscripts/mkcompile_h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 2339f86126cb..d1d757c6edf4 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -5,7 +5,8 @@ TARGET=$1
5ARCH=$2 5ARCH=$2
6SMP=$3 6SMP=$3
7PREEMPT=$4 7PREEMPT=$4
8CC=$5 8PREEMPT_RT=$5
9CC=$6
9 10
10vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; } 11vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; }
11 12
@@ -53,6 +54,7 @@ UTS_VERSION="#$VERSION"
53CONFIG_FLAGS="" 54CONFIG_FLAGS=""
54if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi 55if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi
55if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi 56if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi
57if [ -n "$PREEMPT_RT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT_RT"; fi
56UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP" 58UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP"
57 59
58# Truncate to maximum length 60# Truncate to maximum length