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

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

View file

@ -1,8 +1,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-a6010
pkgdesc="Lenovo A6010"
pkgver=1
pkgrel=2
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -14,7 +14,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() {
@ -39,14 +38,7 @@ kernel_mainline_modem() {
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
depends="linux-firmware-qcom firmware-qcom-msm8916-wcnss firmware-lenovo-a6010-wcnss-nv"
mkdir "$subpkgdir"
}
nonfree_firmware_modem() {
pkgdesc="Modem firmware"
depends="firmware-lenovo-a6010-modem"
install_if="$pkgname-nonfree-firmware $pkgname-kernel-mainline-modem"
depends="linux-firmware-qcom msm-firmware-loader firmware-qcom-msm8916-wcnss firmware-lenovo-a6010-wcnss-nv"
mkdir "$subpkgdir"
}