From: Jagdish Gediya Date: Mon, 3 Sep 2018 16:05:06 +0000 (+0530) Subject: powerpc/dts: Makefile changes to clean and build dts X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7d7a8e99e4b7160c777b83db02d3a8f07b289c12;p=u-boot.git powerpc/dts: Makefile changes to clean and build dts Signed-off-by: Jagdish Gediya Reviewed-by: Bin Meng Reviewed-by: Simon Glass Reviewed-by: York Sun --- 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 diff --git a/dts/Makefile b/dts/Makefile index 36dfbe76d1..9a9a3d5c98 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -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