diff options
Diffstat (limited to 'scripts/mkcompile_h')
-rwxr-xr-x | scripts/mkcompile_h | 4 |
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 | |||
5 | ARCH=$2 | 5 | ARCH=$2 |
6 | SMP=$3 | 6 | SMP=$3 |
7 | PREEMPT=$4 | 7 | PREEMPT=$4 |
8 | CC=$5 | 8 | PREEMPT_RT=$5 |
9 | CC=$6 | ||
9 | 10 | ||
10 | vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; } | 11 | vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; } |
11 | 12 | ||
@@ -53,6 +54,7 @@ UTS_VERSION="#$VERSION" | |||
53 | CONFIG_FLAGS="" | 54 | CONFIG_FLAGS="" |
54 | if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi | 55 | if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi |
55 | if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi | 56 | if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi |
57 | if [ -n "$PREEMPT_RT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT_RT"; fi | ||
56 | UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP" | 58 | UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP" |
57 | 59 | ||
58 | # Truncate to maximum length | 60 | # Truncate to maximum length |