[PATCH v3 10/12] dts/upstream: Add Makefile for MIPS

Jiaxun Yang jiaxun.yang at flygoat.com
Fri May 17 20:14:58 CEST 2024


It is required to make OF_UPSTREAM work.

Reviewed-by: Sumit Garg <sumit.garg at linaro.org>
Signed-off-by: Jiaxun Yang <jiaxun.yang at flygoat.com>
---
 dts/upstream/src/mips/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/dts/upstream/src/mips/Makefile b/dts/upstream/src/mips/Makefile
new file mode 100644
index 000000000000..9a8f6aa35846
--- /dev/null
+++ b/dts/upstream/src/mips/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+include $(srctree)/scripts/Makefile.dts
+
+targets += $(dtb-y)
+
+# Add any required device tree compiler flags here
+DTC_FLAGS += -a 0x8
+
+PHONY += dtbs
+dtbs: $(addprefix $(obj)/, $(dtb-y))
+	@:
+
+clean-files := */*.dtb */*.dtbo

-- 
2.34.1



More information about the U-Boot mailing list