From 5361b42aebb4acd3a5af1fda49bfbddf72418bb3 Mon Sep 17 00:00:00 2001
From: iAboothahir <aboothahirpkd@gmail.com>
Date: Mon, 24 Oct 2022 11:12:26 +0530
Subject: [PATCH] device-asus-x00td: add firmware-asus-x00td (MR 3579)

Signed-off-by: Aboothahir U <aboothahirpkd@gmail.com>
---
 device/testing/device-asus-x00td/APKBUILD | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/device/testing/device-asus-x00td/APKBUILD b/device/testing/device-asus-x00td/APKBUILD
index 7943fe01d27..52943946854 100644
--- a/device/testing/device-asus-x00td/APKBUILD
+++ b/device/testing/device-asus-x00td/APKBUILD
@@ -2,7 +2,7 @@
 pkgname=device-asus-x00td
 pkgdesc="Asus ZenFone Max Pro M1"
 pkgver=0.4
-pkgrel=2
+pkgrel=3
 url="https://postmarketos.org"
 license="MIT"
 arch="aarch64"
@@ -12,6 +12,7 @@ makedepends="devicepkg-dev"
 subpackages="
 	$pkgname-kernel-downstream:kernel_downstream
 	$pkgname-kernel-mainline:kernel_mainline
+	$pkgname-nonfree-firmware:nonfree_firmware
 "
 source="deviceinfo"
 
@@ -35,6 +36,12 @@ kernel_mainline() {
 	devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
 }
 
+nonfree_firmware() {
+	pkgdesc="Wifi, Bluetooth, GPU, Modem, ADSP, Venus firmware"
+	depends="firmware-asus-x00td"
+	mkdir "$subpkgdir"
+}
+
 sha512sums="
 146131fdcc25fa4767af0cf40932ff53f99c92859f2000fd18a219a353704f3ac04a36d604ef299348cbdbe9991c2a80ac940099d1b2da0a821e00c6bbadef7b  deviceinfo
 "
-- 
GitLab