4fe8ceeee1
The downstream kernel doesn't provide a separate dtb file, but the experimental mainline kernel does. Previously, the deviceinfo specified a dtb file for both kernels, and pmbootstrap ignored the missing file for downstream kernel. pmbootstrap now errors when the dtb file is missing, so this fixes the downstream kernel by specifying a dtb file only for the upstream kernel.
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Zhuowei Zhang <zhuoweizhang@yahoo.com>
|
|
pkgname="device-google-crosshatch"
|
|
pkgdesc="Google Pixel 3 XL"
|
|
pkgver=0.1
|
|
pkgrel=6
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
kernel_downstream() {
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
|
depends="linux-google-crosshatch"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="Attempt at mainlining. DO NOT USE: doesn't work (only USB networking is supported)"
|
|
depends="linux-google-crosshatch-mainline firmware-google-crosshatch-mainline-dtbo"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
sha512sums="e59ef716e7bac49db418a913babd7b49017d24ee7fedb39767de7c9cf7be57a03c6f9d4dc0eaa79dac6042eb6a6c120e28a92ce6c90b16b7d289b823aa42feeb deviceinfo"
|