mirror of https://github.com/thesofproject/sof.git
smex: don't corrupt the build with a bogus .ldc output
This made troubleshooting CMake issues more complicated. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
7e1fd0adef
commit
964b7afa74
|
@ -76,6 +76,8 @@ int main(int argc, char *argv[])
|
|||
if (ret) {
|
||||
fprintf(stderr, "error: unable to write dictionaries, %d\n",
|
||||
ret);
|
||||
/* Don't corrupt the build with an empty or incomplete output */
|
||||
unlink(image.ldc_out_file);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue