# Reference: # Contributor: Zhuowei Zhang 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"