tools/mkimage: Use proper output parameter in dtc-system call
authorStefan Theil <[email protected]>
Thu, 8 Mar 2018 08:00:13 +0000 (09:00 +0100)
committerTom Rini <[email protected]>
Fri, 9 Mar 2018 17:31:07 +0000 (12:31 -0500)
commit63f881d46a9745139235be9d8cb892ada6159ea1
treea6275a773b7a9ec03c0746da84f2f1fc34e04518
parent51be47166319dfbf68828182cb57889bae4dc20b
tools/mkimage: Use proper output parameter in dtc-system call

The system call used by mkimage to run dtc redirects stdout to a
temporary file. This can cause problems on Windows (with a MinGW
cross-compiled version). Using the "-o" dtc parameter avoids
this problem.

Signed-off-by: Stefan Theil <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
tools/fit_image.c