From 4bb6542fd83b0a53c6736fb38f6eafc91e75dbf2 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Fri, 22 Sep 2023 09:33:13 +0200 Subject: [PATCH] firmware-fairphone-fp5: add adreno firmware subpackage (MR 4456) Package the zap shader firmware needed on this device. --- device/testing/firmware-fairphone-fp5/APKBUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/device/testing/firmware-fairphone-fp5/APKBUILD b/device/testing/firmware-fairphone-fp5/APKBUILD index 947ee8a8c..b3a053583 100644 --- a/device/testing/firmware-fairphone-fp5/APKBUILD +++ b/device/testing/firmware-fairphone-fp5/APKBUILD @@ -1,8 +1,9 @@ pkgname=firmware-fairphone-fp5 pkgver=20230822 -pkgrel=0 +pkgrel=1 pkgdesc="Firmware for Fairphone 5" subpackages=" + $pkgname-adreno $pkgname-adsp $pkgname-bluetooth $pkgname-cdsp @@ -24,6 +25,13 @@ package() { mkdir -p "$pkgdir" } +adreno() { + pkgdesc="Fairphone 5 adreno firmware" + + install -Dm644 "$builddir"/a660_zap.* -t \ + "$subpkgdir/lib/firmware/qcom/qcm6490/fairphone5/" +} + adsp() { pkgdesc="Fairphone 5 adsp firmware"