forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/microblaze/boot/dts/Makefile
....@@ -1,6 +1,9 @@
11 # SPDX-License-Identifier: GPL-2.0
22 #
33
4
+dtb-y := system.dtb
5
+
6
+ifneq ($(DTB),)
47 obj-y += linked_dtb.o
58
69 # Ensure system.dtb exists
....@@ -9,11 +12,9 @@
912 # Generate system.dtb from $(DTB).dtb
1013 ifneq ($(DTB),system)
1114 $(obj)/system.dtb: $(obj)/$(DTB).dtb
12
- $(call if_changed,cp)
15
+ $(call if_changed,shipped)
1316 endif
14
-
15
-quiet_cmd_cp = CP $< $@$2
16
- cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
17
+endif
1718
1819 # Rule to build device tree blobs
1920 DTC_FLAGS := -p 1024