pmaports/device/testing/device-htc-memul/APKBUILD
André Apitzsch e6cdfd8d42
device/msm8226*: Generate extlinux.conf (MR 4939)
Now as boot-deploy allows us to generate both boot.img and extlinux.conf
at the same time, enable generating the config for all msm8226 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
2024-03-18 12:12:13 +01:00

60 lines
1.6 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-htc-memul
pkgdesc="HTC One Mini 2"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
lk2nd-msm8226-htc-memul
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware
"
source="
deviceinfo
initfs-hook.sh
modules-initfs.mainline
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="Downstream kernel"
depends="linux-htc-memul"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
amove etc/udev/rules.d/90-$pkgname.rules
amove usr/share/mkinitfs/hooks/00-$pkgname.sh
}
kernel_mainline() {
pkgdesc="Close to mainline kernel"
depends="linux-postmarketos-qcom-msm8226"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Firmware for WiFi, etc."
depends="firmware-htc-memul-adsp firmware-htc-memul-modem firmware-htc-memul-wcnss firmware-qcom-adreno-a330"
mkdir "$subpkgdir"
}
sha512sums="
5917cf95d3a8aec92590d7634858fa9fb0b10ea5eb0cc5cbed71d1577ff77de543339c8d43e06d24583d78d4e46f3881f2239ef12db2ae62b820cec2f6803d7b deviceinfo
765abaad5fda0dfda5e62e1e48414d3eea822198f39d0792171a04d73f86f6273a6e562afab430cbfcdd084412568a0ad03d012e9c40c5564f5cd1b9c0f181eb initfs-hook.sh
9ebe6ca9e371b5091e4e47ecbe3ec0c72d055e4bc2281880119eb0dee4c56b71f20f7d3cf1f1cb62e6814604e745fb17bbbfcfed2fec42398871e50b17685533 modules-initfs.mainline
"