diff mbox series

[08/10] dts/upsteam: Add Makefile for xtensa

Message ID 20240519-qemu-xtensa-v1-8-8fff0cb11c19@flygoat.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series xtensa: Enable qemu-xtensa board | expand

Commit Message

Jiaxun Yang May 19, 2024, 8:53 p.m. UTC
It is required to get it xtensa OF_UPSTREAM work.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 dts/upstream/src/xtensa/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Sumit Garg May 20, 2024, 9:59 a.m. UTC | #1
On Mon, 20 May 2024 at 02:24, Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>
> It is required to get it xtensa OF_UPSTREAM work.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
>  dts/upstream/src/xtensa/Makefile | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>

-Sumit

> 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
>
diff mbox series

Patch

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