8a36bb744e
qrtr-ns is now part of the Linux kernel (as of version 5.9), so there is no need to start it in userspace anymore. It does not seem to be needed (or working) on downstream either. linux-postmarketos-qcom-msm8996 is the only mainline kernel which is still on < 5.9. In preparation to make the qrtr dependency optional for rmtfs, let's explicitly enable qrtr-ns for MSM8996 devices to avoid causing regressions.
42 lines
965 B
Text
42 lines
965 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-oneplus-oneplus3t
|
|
pkgdesc="OnePlus 3T"
|
|
pkgver=1
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
depends="
|
|
postmarketos-base
|
|
linux-postmarketos-qcom-msm8996
|
|
mkbootimg
|
|
mesa-dri-gallium
|
|
reboot-mode
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="OnePlus 3T nonfree firmware (GPU, modem, sound, camera, sensors)"
|
|
depends="
|
|
linux-firmware-ath10k
|
|
linux-firmware-qca
|
|
firmware-oneplus-oneplus3-op3t
|
|
msm-modem-rpmsg
|
|
qrtr
|
|
qrtr-openrc
|
|
"
|
|
install="$subpkgname.post-install"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
sha512sums="5f7e2046491fbf776c0c4b0e8a594f3b312c98e3e927c7f1ed6e5966c074cd9a2cd4bfb0449435004d9164142609d65ba7cb8b867874a7719bac4a7905cc2b95 deviceinfo"
|