pmaports/device/linux-google-crosshatch/arm64-boot-disable-building-DTBO-images.patch
Zhuowei Zhang e735c3f008
New device: google-crosshatch (Google Pixel 3 XL) (!83)
A lot of patching was necessary, see the merge request and device wiki
page for details. Thanks to opendata26 for helping with the port.

https://wiki.postmarketos.org/wiki/Google_Pixel_3_XL_(google-crosshatch)

[skip ci]: this hits the compile timeout
2018-12-12 06:56:17 +01:00

27 lines
948 B
Diff

From 7de8975359d95634f7ce16ed115a30ba1fdc8d0e Mon Sep 17 00:00:00 2001
From: Zhuowei Zhang <linux@worthdoingbadly.com>
Date: Sat, 1 Dec 2018 00:10:38 -0800
Subject: [PATCH] arm64: boot: disable building DTBO images
postmarketOS doesn't flash the DTBO partition, and doesn't package
the dtbo tools yet. Just don't build them.
---
arch/arm64/boot/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile
index dfafe9101f78..8bb4b634a7ff 100644
--- a/arch/arm64/boot/Makefile
+++ b/arch/arm64/boot/Makefile
@@ -68,7 +68,7 @@ $(obj)/Image.lz4-dtb: $(obj)/Image.lz4 $(DTB_OBJS) FORCE
$(call if_changed,cat)
$(obj)/dtbo.img: $(obj)/dts/dtboimg.cfg $(DTBO_OBJS) FORCE
- $(call if_changed,mkdtimg,4096) # align dtbo.img to 4kB
+ # $(call if_changed,mkdtimg,4096) # align dtbo.img to 4kB
install:
$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
--
2.17.1