2020-05-19 03:38:06 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-asus-x00td
|
|
|
|
pkgdesc="Asus ZenFone Max Pro M1"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2020-05-19 03:38:06 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-03-20 03:50:20 +00:00
|
|
|
depends="postmarketos-base mkbootimg"
|
2020-05-19 03:38:06 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-03-20 03:50:20 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
2022-10-24 05:42:26 +00:00
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2022-03-20 03:50:20 +00:00
|
|
|
"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2020-05-19 03:38:06 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2022-03-20 03:50:20 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-asus-x00td msm-fb-refresher"
|
2022-03-20 03:50:20 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Close to mainline; for kernel development only (most features aren't working)"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-postmarketos-qcom-sdm660"
|
2022-03-20 03:50:20 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2022-10-24 05:42:26 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi, Bluetooth, GPU, Modem, ADSP, Venus firmware"
|
|
|
|
depends="firmware-asus-x00td"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-03-20 03:50:20 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
cf62307c453d29fcd531430aa3214d2cbf6313abeb42c7b3334bbf43ce7e11f3a88416e8071cc6042a750ab930a5b991689c089197eb06f1dc8584fe6fde614f deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
06dd4eadb150d29ee6db13683c8d49e52c14e4c8da0a890d22d38c6ed8e87bd9a38e6ccdba831cae99cb70baf30bc775fdf9083f36d719530171c005556f47b7 modules-initfs
|
2022-03-20 03:50:20 +00:00
|
|
|
"
|