Skip to content
Snippets Groups Projects
Unverified Commit 644439c7 authored by Luca Weiss's avatar Luca Weiss Committed by Pablo Correa Gomez
Browse files

main/lk2nd: also package appended-dtb variant of msm8974 (MR 4077)

Devices like oneplus-bacon require this variant instead of the standard
variant.
parent e8eb332f
No related branches found
No related tags found
No related merge requests found
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment