9c8a189e6d
The files packaged in firmware-motorola-osprey-wcnss-nv and firmware-motorola-osprey-venus seem completely identical to those of harpia, so there is no need to package them twice. There are some differences in modem/wcnss firmware but those are now covered by the msm-firmware-loader.
49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-motorola-osprey
|
|
pkgver=3
|
|
pkgrel=1
|
|
pkgdesc="Motorola Moto G 3rd gen. (2015)"
|
|
url="https://postmarketos.org"
|
|
arch="aarch64"
|
|
license="MIT"
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
options="!check !archcheck"
|
|
|
|
subpackages="
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
$pkgname-kernel-mainline-modem:kernel_mainline_modem
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="Close to mainline kernel (no modem, audio routed directly)"
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
kernel_mainline_modem() {
|
|
pkgdesc="Close to mainline kernel (non-free modem, audio routed through ADSP)"
|
|
depends="linux-postmarketos-qcom-msm8916 soc-qcom-msm8916-modem"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/Wi-Fi/Bluetooth/Video(/Modem) firmware"
|
|
# osprey's wcnss-nv + venus firmware seems identical to harpia's :>
|
|
depends="linux-firmware-qcom msm-firmware-loader firmware-motorola-harpia-wcnss-nv firmware-motorola-harpia-venus"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
a1d9efde83357d62bb0fd271485eabeabe8689b92630da2578fd33d75bf15bb5e1c39527d1f1bae1835c54bf02372d0fd8980603f006b02df989bb82c3b0cac1 deviceinfo
|
|
"
|