[PATCH v3 08/12] dts/upsteam: Add Makefile for xtensa

Jiaxun Yang jiaxun.yang at flygoat.com
Tue Jun 18 15:56:08 CEST 2024


It is required to get it xtensa OF_UPSTREAM work.

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

diff --git a/dts/upstream/src/xtensa/Makefile b/dts/upstream/src/xtensa/Makefile
new file mode 100644
index 000000000000..2a81acb32bc3
--- /dev/null
+++ b/dts/upstream/src/xtensa/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 */*.dtb */*.dtbo

-- 
2.43.0



More information about the U-Boot mailing list