]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/dts: Makefile changes to clean and build dts
authorJagdish Gediya <jagdish.gediya@nxp.com>
Mon, 3 Sep 2018 16:05:06 +0000 (21:35 +0530)
committerYork Sun <york.sun@nxp.com>
Thu, 27 Sep 2018 17:13:38 +0000 (10:13 -0700)
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>
arch/powerpc/dts/Makefile [new file with mode: 0644]
dts/Makefile

diff --git a/arch/powerpc/dts/Makefile b/arch/powerpc/dts/Makefile
new file mode 100644 (file)
index 0000000..de14e7b
--- /dev/null
@@ -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
index 36dfbe76d1ebb5f3fed0d3994262190bf70fd5a6..9a9a3d5c98e1f1631eeef32d326e7ea5efeda7f4 100644 (file)
@@ -61,4 +61,4 @@ dtbs: $(obj)/dt.dtb $(obj)/dt-spl.dtb
 clean-files := dt.dtb.S dt-spl.dtb.S
 
 # Let clean descend into dts directories
-subdir- += ../arch/arm/dts ../arch/microblaze/dts ../arch/mips/dts ../arch/sandbox/dts ../arch/x86/dts
+subdir- += ../arch/arm/dts ../arch/microblaze/dts ../arch/mips/dts ../arch/sandbox/dts ../arch/x86/dts ../arch/powerpc/dts