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