summaryrefslogtreecommitdiff
path: root/arch/microblaze/boot/dts/Makefile
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-10-04 22:16:15 +0300
committerRob Herring <robh@kernel.org>2018-10-04 22:16:15 +0300
commit4355151de47c2b4bc72c026ee743bd9ed7f71ba3 (patch)
tree159451d359e3154734e1fb3205556f1c421f878e /arch/microblaze/boot/dts/Makefile
parent5d5a0ab1a7918fce5ca5c0fb1871a3e2000f85de (diff)
parent92f687f40ee511e0ea6046bf63ceb48ff3ad1494 (diff)
downloadlinux-4355151de47c2b4bc72c026ee743bd9ed7f71ba3.tar.xz
Merge branch 'all-dtbs' into dt/next
Diffstat (limited to 'arch/microblaze/boot/dts/Makefile')
-rw-r--r--arch/microblaze/boot/dts/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/boot/dts/Makefile b/arch/microblaze/boot/dts/Makefile
index 1f77913d404d..c7324e74f9ef 100644
--- a/arch/microblaze/boot/dts/Makefile
+++ b/arch/microblaze/boot/dts/Makefile
@@ -1,6 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
#
+dtb-y := system.dtb
+
+ifneq ($(DTB),)
obj-y += linked_dtb.o
# Ensure system.dtb exists
@@ -11,6 +14,7 @@ ifneq ($(DTB),system)
$(obj)/system.dtb: $(obj)/$(DTB).dtb
$(call if_changed,cp)
endif
+endif
quiet_cmd_cp = CP $< $@$2
cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)