[U-Boot] [PATCH] kbuild: use cmd_shipped instead of cmd_copy

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Jun 4 03:11:18 CEST 2014


We already have cmd_shipped in scripts/Makefile.lib.
Use it rather than defining a new command cmd_copy.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
 dts/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dts/Makefile b/dts/Makefile
index e59550c..3fca5f5 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -14,11 +14,8 @@ endif
 
 DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
 
-quiet_cmd_copy = COPY    $@
-      cmd_copy = cp $< $@
-
 $(obj)/dt.dtb: $(DTB) FORCE
-	$(call if_changed,copy)
+	$(call if_changed,shipped)
 
 targets += dt.dtb
 
-- 
1.9.1



More information about the U-Boot mailing list