pmaports/device/testing/device-asus-x00td/APKBUILD
Luca Weiss 9271ab80b6
device/*: rename deviceinfo_usb_rndis_function (MR 3669)
Use the new variable name as used in initfs
2022-11-27 17:29:55 +01:00

47 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-asus-x00td
pkgdesc="Asus ZenFone Max Pro M1"
pkgver=0.5
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware
"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="LineageOS downstream kernel (recommended)"
depends="linux-asus-x00td msm-fb-refresher"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Close to mainline; for kernel development only (most features aren't working)"
depends="linux-postmarketos-qcom-sdm660"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Wifi, Bluetooth, GPU, Modem, ADSP, Venus firmware"
depends="firmware-asus-x00td"
mkdir "$subpkgdir"
}
sha512sums="
1832ab46901d057e7a9371f634cf9eb535227760ff515637af22604344290a715a77fd17a7d05f8d879d41416eb37dbab0ad2e7443e41379272a40f519ca3c92 deviceinfo
"