diff mbox

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

Message ID 1401844278-1453-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada June 4, 2014, 1:11 a.m. UTC
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 | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Tom Rini June 5, 2014, 10:48 p.m. UTC | #1
On Wed, Jun 04, 2014 at 10:11:18AM +0900, Masahiro Yamada wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

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