am 71ed8c7e: Merge "Remove generated file if compiling the image failed."

* commit '71ed8c7e38595e650dbd5a9fd17852776a938848':
  Remove generated file if compiling the image failed.