Skip to content

Commit

Permalink
powerpc/dts: Makefile changes to clean and build dts
Browse files Browse the repository at this point in the history
Signed-off-by: Jagdish Gediya <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: York Sun <[email protected]>
  • Loading branch information
Jagdish Gediya authored and York Sun committed Sep 27, 2018
1 parent 4d3294b commit 7d7a8e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions arch/powerpc/dts/Makefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d7a8e9

Please sign in to comment.