2019-02-17 06:00:28 +00:00
|
|
|
pkgname=firmware-google-crosshatch-mainline-dtbo
|
|
|
|
pkgver=1
|
2023-06-02 18:59:20 +00:00
|
|
|
pkgrel=3
|
2020-01-09 17:35:27 +00:00
|
|
|
_commit="20324c21169622e7c68eb36524c74fb1da8837d5"
|
2019-02-17 06:00:28 +00:00
|
|
|
pkgdesc="dtbo.img needed to boot mainline"
|
|
|
|
url="https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline"
|
2022-11-01 16:27:40 +00:00
|
|
|
arch="aarch64"
|
2020-01-09 17:35:27 +00:00
|
|
|
license="GPL-2.0-only"
|
2023-06-02 18:59:20 +00:00
|
|
|
makedepends="dtc android-tools"
|
2020-01-09 17:35:27 +00:00
|
|
|
source="https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline/-/archive/$_commit.tar.gz"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !archcheck !strip !tracedeps pmb:cross-native"
|
2019-02-17 06:00:28 +00:00
|
|
|
builddir="$srcdir/dtbo-google-crosshatch-mainline-$_commit"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
dtc -O dtb -o sdm845-c1-dvt1.1.dtbo -b 0 -@ sdm845-c1-dvt1.1.dts
|
2023-06-02 18:59:20 +00:00
|
|
|
mkdtboimg cfg_create dtbo.img dtboimg.cfg
|
2019-02-17 06:00:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-01-09 17:35:27 +00:00
|
|
|
install -D -m644 dtbo.img \
|
2019-02-17 06:00:28 +00:00
|
|
|
"$pkgdir"/boot/dtbo-google-crosshatch-mainline.img
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="620bc391a82a427bf91c394bbf300451ad7cf452144a27f9fe40322459e6ac473ba85be5cf7e7ebab49d439d3b84b5c1c224883094c1bad5c8f5246abb6db71f 20324c21169622e7c68eb36524c74fb1da8837d5.tar.gz"
|