pmaports/device/testing/device-lg-m216/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

38 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-m216
pkgdesc="LG K10 (m216)"
pkgver=7
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
_pmb_select="soc-qcom-msm8916-rproc"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
depends="firmware-qcom-adreno-a300 msm-firmware-loader
firmware-qcom-msm8916-wcnss firmware-lg-m216-wcnss-nv
firmware-qcom-msm8916-venus"
mkdir "$subpkgdir"
}
sha512sums="
d28b2b3387c816f49b8f8f6c5e3f3e6a377032bbf7278e3a12da9b5a6844f47b0c54708e545c31836864a389cdc41505692808cb34137891c618eb29be9e54ec deviceinfo
d4d77f5db6e361d723c7202bf68342970bc568d6e040b3fba694c5ff0af0eec0a6aaaf582fd6b40a5ab46a26931edacea3cba70e7f6d13be42e9676a5ee06d86 modules-initfs
"