693079abb5
We don't need to append the dtb to the kernel image in all cases, with e.g. the u-boot bootloader we can load the dtb seperately from the kernel image. Introduce a new variable deviceinfo_append_dtb, if set to "true", append the dtb, otherwise just copy the dtb file to the boot partition. Fixes #260 [ci:ignore-count]
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-google-crosshatch"
|
|
pkgdesc="Google Pixel 3 XL"
|
|
pkgver=0.1
|
|
pkgrel=3
|
|
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"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
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"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="0d275efe4d79d2a9fecbfa1d4ebe7da3647bdca607c7b20171082a4c832df9c76112749ada36895c13902acbea2ddeacf95279755a1d072998a387c898499e5b deviceinfo"
|