summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiaxun Yang <[email protected]>2024-05-17 19:14:58 +0100
committerTom Rini <[email protected]>2025-04-22 15:08:47 -0600
commitd3730b53d9ae26bc0ec0f35d65d563f60800326d (patch)
tree75ca68d317bb143e8208419a34217915673228e1
parent964bb01f34741c9866917337afecab98262be562 (diff)
dts/upstream: Add Makefile for MIPS
It is required to make OF_UPSTREAM work. Reviewed-by: Sumit Garg <[email protected]> Signed-off-by: Jiaxun Yang <[email protected]> Reviewed-by: Daniel Schwierzeck <[email protected]>
-rw-r--r--dts/upstream/src/mips/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/dts/upstream/src/mips/Makefile b/dts/upstream/src/mips/Makefile
new file mode 100644
index 00000000000..9a8f6aa3584
--- /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