tools/mkimage: Fix DTC run command to handle file names with space
authorMirza, Taimoor <Taimoor_Mirza@mentor.com>
Wed, 4 Oct 2017 15:28:03 +0000 (20:28 +0500)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2017 13:42:51 +0000 (09:42 -0400)
commita6e9810495bc929b6beafb88f557cdaadf87fc83
tree200c810cd44c779e74cebb1c42d4d7b7f7fac01b
parent409f05f259ee5cb3e13b52279ce2365a6f8b8a8b
tools/mkimage: Fix DTC run command to handle file names with space

fit_handle_file function does not quote input and output files while preparing
command to run DTC to convert .its to .itb. This results in a failure if input
or output files contain spaces in their names. Quote input and output files in
DTC command to avoid this failure.

Signed-off-by: Mirza, Taimoor <Taimoor_Mirza@mentor.com>
tools/fit_image.c