Makefile: Fix generation of flash.bin u-boot.itb with binman
authorMarek Vasut <marex@denx.de>
Thu, 25 Feb 2021 20:50:59 +0000 (21:50 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 2 May 2021 10:12:42 +0000 (12:12 +0200)
commitbd9059c477e5eafbad08ef24923222a191bc98a0
treedf437010dc834d208013a3e73360a1b38e2f209c
parent8ddaf943589756442bba21e5be645cd47526d82b
Makefile: Fix generation of flash.bin u-boot.itb with binman

In case binman is enabled, the u-boot.itb is generated using this tool
and there is no direct u-boot.itb target, but instead the binman tool
must be invoked. Add support for this case.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Makefile