2018-11-27 06:45:33 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 10:32:50 +00:00
|
|
|
# Contributor: Zhuowei Zhang <zhuoweizhang@yahoo.com>
|
2018-11-27 06:45:33 +00:00
|
|
|
pkgname="device-google-crosshatch"
|
|
|
|
pkgdesc="Google Pixel 3 XL"
|
|
|
|
pkgver=0.1
|
2020-03-01 03:52:49 +00:00
|
|
|
pkgrel=6
|
2018-11-27 06:45:33 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2019-02-17 06:00:28 +00:00
|
|
|
depends="postmarketos-base mkbootimg mesa-dri-swrast"
|
2018-11-27 06:45:33 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2019-02-17 06:00:28 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
"
|
2018-11-27 06:45:33 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2019-02-17 06:00:28 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
|
|
|
depends="linux-google-crosshatch"
|
2020-03-01 03:52:49 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
2019-02-17 06:00:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
2020-03-01 03:52:49 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
2019-02-17 06:00:28 +00:00
|
|
|
}
|
2018-11-27 06:45:33 +00:00
|
|
|
|
2020-03-07 18:48:29 +00:00
|
|
|
sha512sums="417e5516113dd1ab3cda5f5d5ff109da611b4e5f3b0d7561995a8000117a75cebf38253ba7b96cb49020e09451f1d988979610f5da22918436386535b04e0339 deviceinfo"
|