From: Masahiro Yamada Date: Wed, 4 Jun 2014 01:11:18 +0000 (+0900) Subject: kbuild: use cmd_shipped instead of cmd_copy X-Git-Tag: v2014.07-rc3~16 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=b9d1dbd4df71c2c1bcf5a37c0d23c830b673d540 kbuild: use cmd_shipped instead of cmd_copy We already have cmd_shipped in scripts/Makefile.lib. Use it rather than defining a new command cmd_copy. Signed-off-by: Masahiro Yamada --- diff --git a/dts/Makefile b/dts/Makefile index e59550c9d2..3fca5f5c2f 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