firmware-motorola-ali: clean up firmwares (MR 5132)

Remove every firmware what can be loaded with msm-firmware-loader.
This commit is contained in:
Barnabás Czémán 2024-05-14 20:46:09 +02:00 committed by Stefan Hansson
parent 886baeb741
commit 26b052562a
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD

View file

@ -1,10 +1,9 @@
pkgname=firmware-motorola-ali
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Firmware for Motorola Moto G6"
url="https://github.com/julianbraha/firmware-motorola-ali"
arch="aarch64"
depends="firmware-qcom-adreno-a530"
license="proprietary"
_repository="firmware-blobs"
_commit="153ba76124497fb7ce22d87a90149a15bcf67942"
@ -15,31 +14,12 @@ builddir="$srcdir/$_repository-$_commit"
_fwdir="/lib/firmware/postmarketos"
package() {
# Modem firmware
install -Dm644 mba.mbn -t "$pkgdir/$_fwdir"
install -Dm644 modem.* -t "$pkgdir/$_fwdir"
# GPU Firmware files
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
# ADSP firmware
install -Dm644 adsp.* -t "$pkgdir/$_fwdir"
# GPU and video acceleration firmwares
install -Dm644 a5* -t "$pkgdir/$_fwdir"
install -Dm644 venus.* -t "$pkgdir/$_fwdir"
# /lib/firmware/postmarketos
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt"
for _i in $_files; do
install -Dm644 "$_i" "$pkgdir"$_fwdir/"$_i"
done
# /lib/firmware/postmarketos/wlan/prima
_files="WCNSS_qcom_cfg.ini
WCNSS_qcom_wlan_nv.bin WCNSS_wlan_dictionary.dat"
for _i in $_files; do
install -Dm644 wlan/prima/"$_i" \
"$pkgdir"$_fwdir/wlan/prima/"$_i"
done
# WLAN Firmware
install -Dm644 wlan/prima/WCNSS_qcom_wlan_nv.bin -t "$pkgdir/$_fwdir/wlan/prima"
}
sha512sums="