fe54a7be49
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]
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
pkgname=device-xiaomi-wt88047
|
|
pkgdesc="Xiaomi Redmi 2"
|
|
pkgver=9
|
|
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"
|
|
|
|
# Backwards compatibility for old kernel variant subpackages
|
|
replaces="$pkgname-kernel-mainline $pkgname-kernel-mainline-modem"
|
|
for pkg in $replaces; do provides="$provides $pkg=$pkgver-r$pkgrel"; done
|
|
|
|
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-xiaomi-wt88047-wcnss-nv
|
|
firmware-qcom-msm8916-venus"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e34d4cf37a1f47a22915a11d3fae479348f378d49c3d8f7773eb0b891e488993a133d670d37fb080884a0945a280e5730ff8c8c0f00720551724a37bfb8d5520 deviceinfo
|
|
7f6892125a15fdfcfca140571073150df25a5c355eae8ae632a56a00cd9e5fc7168d435680ca83eb8a8d9ae63aef6af478f42e92815f175d26ec592941de61e6 modules-initfs
|
|
"
|