tools/mkimage: copy mkenvimage to bin directory
authorEvgeniy Didin <[email protected]>
Mon, 12 Feb 2018 16:42:01 +0000 (19:42 +0300)
committerJohn Crispin <[email protected]>
Tue, 13 Feb 2018 09:01:52 +0000 (10:01 +0100)
commit063fa4cfa28a6bdf502cebed3f984fc738bfad25
treed7aaf63fb7f9001b61ff7f0be39b79042b421319
parent1fe888554cde1604f2246e0ca5bb9c8e0560ef66
tools/mkimage: copy mkenvimage to bin directory

For some boards u-boot binary environment file is required,
which is generated by mkenvimage utility. But in OpenWrt there
is no separate support for mkenvimage, which is a part of u-boot tools.
mkenvimage gets built in u-boot/tools as well as mkimage anyways.

So lets just copy mkenvimage to the $(STAGING_DIR_HOST)/bin/ directory.

Signed-off-by: Evgeniy Didin <[email protected]>
CC: Alexey Brodkin <[email protected]>
CC: Hauke Mehrtens <[email protected]>
CC: John Crispin <[email protected]>
tools/mkimage/Makefile