]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
kbuild: use cmd_shipped instead of cmd_copy
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 4 Jun 2014 01:11:18 +0000 (10:11 +0900)
committerTom Rini <trini@ti.com>
Thu, 5 Jun 2014 21:01:58 +0000 (17:01 -0400)
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@jp.panasonic.com>
dts/Makefile

index e59550c9d2e6e06a8fb9f1f729db10358480ff64..3fca5f5c2f5df968b9b924c97d873a478ca222a7 100644 (file)
@@ -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