Skip to content

Commit

Permalink
kbuild: use cmd_shipped instead of cmd_copy
Browse files Browse the repository at this point in the history
We already have cmd_shipped in scripts/Makefile.lib.
Use it rather than defining a new command cmd_copy.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y authored and trini committed Jun 5, 2014
1 parent 823f18e commit b9d1dbd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b9d1dbd

Please sign in to comment.