1
0
Fork 0

add the "-rust" suffix if building with Rust is enabled

This commit is contained in:
Pratham Patel 2024-04-16 20:04:15 +05:30
parent b9ceff2892
commit 2ca95bab0a
Signed by: thefossguy
SSH Key Fingerprint: SHA256:HwRBy9H1FYXWcv/Qi1WY3kmcVtGz2ydZuPJgD4pkusY
1 changed files with 7 additions and 1 deletions

View File

@ -14,9 +14,15 @@ else
exit 1
fi
if [ -n "${BUILD_WITH_RUST:-}" ]; then
LOCALVERSION_SUFFIX='-rust'
else
LOCALVERSION_SUFFIX=''
fi
CLEAN_BUILD="${CLEAN_BUILD:-0}"
KERNEL_CONFIG="${KERNEL_CONFIG:-}"
KERNEL_LOCALVERSION="-$(date +%Y.%m.%d.%H%M)"
KERNEL_LOCALVERSION="-$(date +%Y.%m.%d.%H%M)${LOCALVERSION_SUFFIX}"
BUILD_WITH_RUST="${BUILD_WITH_RUST:-0}"
INSTALL_ZE_KERNEL="${INSTALL_ZE_KERNEL:-1}"
FORCE_INSTALL_ZE_KERNEL="${FORCE_INSTALL_ZE_KERNEL:-0}"