Skip to content
Snippets Groups Projects

Lenovo zuk z2-plus : new device

Closed Imported Administrator requested to merge zuk-z2-plus into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -71,13 +71,13 @@ source="modem_z2_plus.bin::$url/raw/pmos-17.1/firmware/NON-HLOS.bin
$_gpufw/venus.b04
$_gpufw/venus.mdt
20-adreno-gpu-firmware.files"
package() {
package(){
cd "$srcdir"
for _i in a530_pfp.fw a530_pm4.fw a530v3_gpmu.fw2; do
install -Dm644 $_i "$pkgdir/lib/firmware/qcom/$_i"
done
}
_install_fw() {
_install_fw(){
mkdir -p "$subpkgdir/lib/firmware/qcom"
cd "$srcdir/$1"
for _i in adsp.* modem.* mba.* slpi.*; do
@@ -90,7 +90,7 @@ _install_fw() {
install -Dm644 "$srcdir/20-adreno-gpu-firmware.files" \
"$pkgdir/etc/postmarketos-mkinitfs/files/20-adreno-gpu-firmware.files"
}
z2_plus() {
z2_plus(){
pkgdesc="Lenovo z2 firmware"
depends="$pkgname"
_install_fw z2_plus
Loading