firmware-google-crosshatch-mainline-dtbo: use mkdtboimg from android-tools (MR 4145)

This commit is contained in:
Newbyte 2023-06-02 20:59:20 +02:00 committed by Alexey Minnekhanov
parent d4d18a0b81
commit 690f9bf67d
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -1,19 +1,19 @@
pkgname=firmware-google-crosshatch-mainline-dtbo
pkgver=1
pkgrel=2
pkgrel=3
_commit="20324c21169622e7c68eb36524c74fb1da8837d5"
pkgdesc="dtbo.img needed to boot mainline"
url="https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline"
arch="aarch64"
license="GPL-2.0-only"
makedepends="dtc android-mkdtboimg"
makedepends="dtc android-tools"
source="https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline/-/archive/$_commit.tar.gz"
options="!check !archcheck !strip !tracedeps pmb:cross-native"
builddir="$srcdir/dtbo-google-crosshatch-mainline-$_commit"
build() {
dtc -O dtb -o sdm845-c1-dvt1.1.dtbo -b 0 -@ sdm845-c1-dvt1.1.dts
mkdtimg cfg_create dtbo.img dtboimg.cfg
mkdtboimg cfg_create dtbo.img dtboimg.cfg
}
package() {