linux-htc-m8: fix dt.img generation (MR 2649)

Indicate to dtbTool the non-default dt-tag used for sorting dtbs, as
required by the device's bootloader.

[ci:skip-build] Already built on CI in MR
This commit is contained in:
Spencer Cook 2021-10-09 22:54:46 -04:00 committed by Alexey Minnekhanov
parent 9f008a0536
commit 2ed1fdbe4e
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -2,7 +2,7 @@
pkgname=linux-htc-m8
pkgver=3.4.113
pkgrel=7
pkgrel=8
pkgdesc="HTC One M8 kernel fork"
arch="armv7"
_carch="arm"
@ -46,7 +46,7 @@ build() {
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
# Generate master DTB (deviceinfo_bootimg_qcdt)
dtbTool -s 2048 -p "scripts/dtc/" -o "arch/arm/boot/dt.img" "arch/arm/boot/"
dtbTool --dt-tag "htc,project-id" -s 2048 -p "scripts/dtc/" -o "arch/arm/boot/dt.img" "arch/arm/boot/"
}
package() {