main/lk2nd: also package appended-dtb variant of msm8974 (MR 4077)
Devices like oneplus-bacon require this variant instead of the standard variant.
This commit is contained in:
parent
e8eb332fa2
commit
644439c79f
1 changed files with 9 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Alexey Minnekhanov <alexeymin@postmarketos.org>
|
||||
pkgname=lk2nd
|
||||
pkgver=0.14.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"
|
||||
|
@ -26,7 +26,9 @@ if [ "$CARCH" = "armv7" ]; then
|
|||
$subpackages
|
||||
$pkgname-msm8226
|
||||
$pkgname-msm8226-appended:msm8226_appended
|
||||
$pkgname-msm8974"
|
||||
$pkgname-msm8974
|
||||
$pkgname-msm8974-appended:msm8974_appended
|
||||
"
|
||||
fi
|
||||
|
||||
build() {
|
||||
|
@ -72,6 +74,11 @@ msm8974() {
|
|||
"$subpkgdir"/boot
|
||||
}
|
||||
|
||||
msm8974_appended() {
|
||||
install -Dm644 "$builddir"/build-lk2nd-msm8974/lk2nd-appended-dtb.img \
|
||||
"$subpkgdir"/boot/lk2nd.img
|
||||
}
|
||||
|
||||
msm8226() {
|
||||
install -Dm644 "$builddir"/build-lk2nd-msm8226/lk2nd.img \
|
||||
"$subpkgdir"/boot/lk2nd.img
|
||||
|
|
Loading…
Reference in a new issue