mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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 <yamada.m@jp.panasonic.com>
This commit is contained in:
committed by
Tom Rini
parent
823f18e605
commit
b9d1dbd4df
@@ -14,11 +14,8 @@ endif
|
|||||||
|
|
||||||
DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
|
DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
|
||||||
|
|
||||||
quiet_cmd_copy = COPY $@
|
|
||||||
cmd_copy = cp $< $@
|
|
||||||
|
|
||||||
$(obj)/dt.dtb: $(DTB) FORCE
|
$(obj)/dt.dtb: $(DTB) FORCE
|
||||||
$(call if_changed,copy)
|
$(call if_changed,shipped)
|
||||||
|
|
||||||
targets += dt.dtb
|
targets += dt.dtb
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user