lenovo-a6000: use msm-firmware-loader (MR 2431)

This commit is contained in:
Minecrell 2021-09-22 16:20:27 +02:00 committed by Alexey Minnekhanov
parent f81d94d258
commit 83686f48b2
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -1,7 +1,7 @@
pkgname=device-lenovo-a6000
pkgdesc="Lenovo A6000"
pkgver=1
pkgrel=2
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -13,7 +13,6 @@ subpackages="
$pkgname-kernel-mainline:kernel_mainline
$pkgname-kernel-mainline-modem:kernel_mainline_modem
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-nonfree-firmware-modem:nonfree_firmware_modem
"
build() {
@ -38,14 +37,7 @@ kernel_mainline_modem() {
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
depends="linux-firmware-qcom firmware-qcom-msm8916-wcnss firmware-lenovo-a6000-wcnss-nv"
mkdir "$subpkgdir"
}
nonfree_firmware_modem() {
pkgdesc="Modem firmware"
depends="firmware-lenovo-a6000-modem"
install_if="$pkgname-nonfree-firmware $pkgname-kernel-mainline-modem"
depends="linux-firmware-qcom msm-firmware-loader firmware-qcom-msm8916-wcnss firmware-lenovo-a6000-wcnss-nv"
mkdir "$subpkgdir"
}