Skip to content

Commit a6c008f

Browse files
committed
Set LOCALVERSION in make function
1 parent 953ddf5 commit a6c008f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/build-linux-deb.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,11 @@ do_make() {
7676
CROSS_COMPILE=aarch64-linux-gnu- \
7777
DEB_HOST_ARCH=arm64 \
7878
KDEB_SOURCENAME="linux-${FLAVOR}" \
79+
LOCALVERSION="-${FLAVOR}" \
7980
"$@"
8081
}
8182

8283
configure_kernel() {
83-
export LOCALVERSION="-${FLAVOR}"
84-
8584
rm -vf "${WORK_DIR}/kernel/configs/local.config"
8685
for fragment in "$@"; do
8786
log_i "Adding config fragment to local.config: ${fragment}"

0 commit comments

Comments
 (0)