summaryrefslogtreecommitdiff
path: root/arch/powerpc/dts/Makefile
diff options
context:
space:
mode:
authorJagdish Gediya <jagdish.gediya@nxp.com>2018-09-03 21:35:06 +0530
committerYork Sun <york.sun@nxp.com>2018-09-27 10:13:38 -0700
commit7d7a8e99e4b7160c777b83db02d3a8f07b289c12 (patch)
treebac8890ad1a9aa2345fe30345792ae89c08c0615 /arch/powerpc/dts/Makefile
parent4d3294b1d5281f9c3f62b47ba17250eb0035df4d (diff)
powerpc/dts: Makefile changes to clean and build dts
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/dts/Makefile')
-rw-r--r--arch/powerpc/dts/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/dts/Makefile b/arch/powerpc/dts/Makefile
new file mode 100644
index 0000000000..de14e7bfd0
--- /dev/null
+++ b/arch/powerpc/dts/Makefile
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+targets += $(dtb-y)
+
+# Add any required device tree compiler flags here
+DTC_FLAGS +=
+
+PHONY += dtbs
+dtbs: $(addprefix $(obj)/, $(dtb-y))
+ @:
+
+clean-files := *.dtb