main/lk2nd: fix version display on lk2nd screen (MR 2585)

When building from tarball git tag is not available.
We need to pass version number manually.

This chnage is cosmetic, but will allow users to easily
identify version and source of their bootloader.
This commit is contained in:
Alexey Minnekhanov 2021-10-10 00:02:20 +03:00
parent 7702d95983
commit 0d193279ff
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -1,7 +1,7 @@
# Maintainer: Alexey Minnekhanov <alexeymin@postmarketos.org>
pkgname=lk2nd
pkgver=0.10.0
pkgrel=0
pkgrel=1
pkgdesc="Secondary little kernel (lk) bootloader for several Qualcomm devices"
arch="armv7 aarch64"
url="https://github.com/msm8916-mainline/lk2nd"
@ -38,9 +38,9 @@ build() {
unset PATH
export PATH=/usr/sbin:/usr/bin:/sbin:/bin
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8916-secondary
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8974-secondary
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8226-secondary
make LK2ND_VERSION="$pkgver-r$pkgrel-postmarketos" TOOLCHAIN_PREFIX=arm-none-eabi- msm8916-secondary
make LK2ND_VERSION="$pkgver-r$pkgrel-postmarketos" TOOLCHAIN_PREFIX=arm-none-eabi- msm8974-secondary
make LK2ND_VERSION="$pkgver-r$pkgrel-postmarketos" TOOLCHAIN_PREFIX=arm-none-eabi- msm8226-secondary
}
package() {