aboutsummaryrefslogtreecommitdiffstats
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 23dbad80cce9..20fc5f65ba9a 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -4,7 +4,8 @@ TARGET=$1
4ARCH=$2 4ARCH=$2
5SMP=$3 5SMP=$3
6PREEMPT=$4 6PREEMPT=$4
7CC=$5 7PREEMPT_RT=$5
8CC=$6
8 9
9vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; } 10vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; }
10 11
@@ -47,6 +48,7 @@ UTS_VERSION="#$VERSION"
47CONFIG_FLAGS="" 48CONFIG_FLAGS=""
48if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi 49if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi
49if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi 50if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi
51if [ -n "$PREEMPT_RT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS RT"; fi
50UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP" 52UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP"
51 53
52# Truncate to maximum length 54# Truncate to maximum length