kernel/arch/microblaze/boot/dts/Makefile
.. .. @@ -1,6 +1,9 @@ 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 # 3 3 4 +dtb-y := system.dtb5 +6 +ifneq ($(DTB),)4 7 obj-y += linked_dtb.o 5 8 6 9 # Ensure system.dtb exists .. .. @@ -9,11 +12,9 @@ 9 12 # Generate system.dtb from $(DTB).dtb 10 13 ifneq ($(DTB),system) 11 14 $(obj)/system.dtb: $(obj)/$(DTB).dtb 12 - $(call if_changed,cp)15 + $(call if_changed,shipped)13 16 endif 14 -15 -quiet_cmd_cp = CP $< $@$216 - cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)17 +endif17 18 18 19 # Rule to build device tree blobs 19 20 DTC_FLAGS := -p 1024