lg-m216: use msm-firmware-loader (MR 2431)

This commit is contained in:
Minecrell 2021-09-22 16:22:21 +02:00 committed by Alexey Minnekhanov
parent 40a99aae30
commit 933a9419c7
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -1,8 +1,8 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-m216 pkgname=device-lg-m216
pkgdesc="LG K10 (m216)" pkgdesc="LG K10 (m216)"
pkgver=3 pkgver=4
pkgrel=1 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -14,7 +14,6 @@ subpackages="
$pkgname-kernel-mainline:kernel_mainline $pkgname-kernel-mainline:kernel_mainline
$pkgname-kernel-mainline-modem:kernel_mainline_modem $pkgname-kernel-mainline-modem:kernel_mainline_modem
$pkgname-nonfree-firmware:nonfree_firmware $pkgname-nonfree-firmware:nonfree_firmware
$pkgname-nonfree-firmware-modem:nonfree_firmware_modem
" "
build() { build() {
@ -39,14 +38,7 @@ kernel_mainline_modem() {
nonfree_firmware() { nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware" pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
depends="linux-firmware-qcom firmware-qcom-msm8916-wcnss firmware-lg-m216-wcnss-nv" depends="linux-firmware-qcom msm-firmware-loader firmware-qcom-msm8916-wcnss firmware-lg-m216-wcnss-nv"
mkdir "$subpkgdir"
}
nonfree_firmware_modem() {
pkgdesc="Modem firmware"
depends="firmware-lg-m216-modem"
install_if="$pkgname-nonfree-firmware $pkgname-kernel-mainline-modem"
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }