soc-qcom-sc7180: Add firmware subpackage for WoA devices (MR 4648)

This commit is contained in:
Nikita Travkin 2023-12-20 13:11:49 +05:00
parent 7a4109ae79
commit 479978a716
No known key found for this signature in database
GPG key ID: 1441EAFE8D7F4C2D
3 changed files with 20 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Jenneron <jenneron@protonmail.com> # Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=soc-qcom-sc7180 pkgname=soc-qcom-sc7180
pkgdesc="Common package for Qualcomm Snapdragon 7cx devices" pkgdesc="Common package for Qualcomm Snapdragon 7cx devices"
pkgver=1.1 pkgver=2
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="BSD-3-Clause" license="BSD-3-Clause"
@ -9,6 +9,7 @@ arch="aarch64"
options="!check !archcheck !tracedeps" options="!check !archcheck !tracedeps"
subpackages=" subpackages="
$pkgname-nonfree-firmware:nonfree_firmware $pkgname-nonfree-firmware:nonfree_firmware
$pkgname-nonfree-firmware-woa:nonfree_firmware_woa
$pkgname-vulkan $pkgname-vulkan
" "
source="00-sc7180-nonstrict-iommu.sh" source="00-sc7180-nonstrict-iommu.sh"
@ -27,6 +28,20 @@ nonfree_firmware() {
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
nonfree_firmware_woa() {
pkgdesc="Modem, WiFi firmware"
depends="
$pkgname-nonfree-firmware
pd-mapper
pd-mapper-openrc
tqftpserv
tqftpserv-openrc
"
install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir "$subpkgdir"
}
vulkan() { vulkan() {
pkgdesc="Vulkan support for freedreno" pkgdesc="Vulkan support for freedreno"
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader" install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"

View file

@ -0,0 +1,3 @@
#!/bin/sh
rc-update add tqftpserv boot
rc-update add pd-mapper boot

View file

@ -0,0 +1 @@
soc-qcom-sc7180-nonfree-firmware-woa.post-install