pmaports/device/testing/device-motorola-osprey/APKBUILD
Nikita Travkin fe54a7be49
device/msm8916*: Generate extlinux.conf (MR 4826)
Now as boot-deploy allows us to generate both boot.img and extlinux.conf
at the same time, enable generating the config for all msm8916 since it
will be used in the future lk2nd release. boot.img is still kept to keep
compatibility with current lk2nd releases and to allow system recovery
with fastboot when required.

[ci:skip-build] already built successfully in CI
[ci:ignore-count]
2024-02-15 11:34:55 -08:00

39 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-osprey
pkgver=8
pkgrel=0
pkgdesc="Motorola Moto G 2015"
url="https://postmarketos.org"
arch="aarch64"
license="MIT"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
options="!check !archcheck"
_pmb_select="soc-qcom-msm8916-rproc"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
# osprey can use newer venus firmware from harpia
depends="firmware-qcom-adreno-a300 msm-firmware-loader
firmware-motorola-osprey-wcnss-nv firmware-motorola-harpia-venus"
mkdir "$subpkgdir"
}
sha512sums="
9f947bef8c8f90924f1e087a6f9443d7739546c8971b855ebee2c0fd0437d26ab45feaf2f6f7c38db98831e3f16b19020d945d1f580d974a6d7597723e7d072b deviceinfo
fc1d1e57bd2a366884b1359ba32acfb484719958fb655067cfba28787384d626dde7683750dda523e2941df4fc78e2d234130ef5a5217002a09623a4a2f34919 modules-initfs
"