dts/upstream: Add Makefile for MIPS
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Fri, 17 May 2024 18:14:58 +0000 (19:14 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 22 Apr 2025 21:08:47 +0000 (15:08 -0600)
It is required to make OF_UPSTREAM work.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
dts/upstream/src/mips/Makefile [new file with mode: 0644]

diff --git a/dts/upstream/src/mips/Makefile b/dts/upstream/src/mips/Makefile
new file mode 100644 (file)
index 0000000..9a8f6aa
--- /dev/null
@@ -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