pmaports/device/linux-google-crosshatch/arm64-boot-disable-building-DTBO-images.patch

28 lines
948 B
Diff
Raw Normal View History

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