soc-qcom-sc7180: Add firmware subpackage for WoA devices (MR 4648)
This commit is contained in:
parent
7a4109ae79
commit
479978a716
3 changed files with 20 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=soc-qcom-sc7180
|
||||
pkgdesc="Common package for Qualcomm Snapdragon 7cx devices"
|
||||
pkgver=1.1
|
||||
pkgver=2
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="BSD-3-Clause"
|
||||
|
@ -9,6 +9,7 @@ arch="aarch64"
|
|||
options="!check !archcheck !tracedeps"
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-nonfree-firmware-woa:nonfree_firmware_woa
|
||||
$pkgname-vulkan
|
||||
"
|
||||
source="00-sc7180-nonstrict-iommu.sh"
|
||||
|
@ -27,6 +28,20 @@ nonfree_firmware() {
|
|||
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() {
|
||||
pkgdesc="Vulkan support for freedreno"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
rc-update add tqftpserv boot
|
||||
rc-update add pd-mapper boot
|
|
@ -0,0 +1 @@
|
|||
soc-qcom-sc7180-nonfree-firmware-woa.post-install
|
Loading…
Reference in a new issue