Commit e60cccc4637d ("Config.in: add the dependency of
CONFIG_IMAGE_NAME") made CONFIG_IMAGE_NAME a dependency of CONFIG_FATFS.
This has the unwanted side effect of losing the target image component
of the built binary filenames when CONFIG_FATFS is not defined. For
example, what would previously have been built as
"sama5d3xek-nandflashboot-uboot-3.8.12.bin" becomes
"sama5d3xek-nandflashboot--3.8.12.bin" (note the two hyphens).
This commit fixes the problem by substituting default image names when
CONFIG_IMAGE_NAME is undefined.
Commit e60cccc4637d ("Config.in: add the dependency of CONFIG_IMAGE_NAME") made CONFIG_IMAGE_NAME a dependency of CONFIG_FATFS. This has the unwanted side effect of losing the target image component of the built binary filenames when CONFIG_FATFS is not defined. For example, what would previously have been built as "sama5d3xek-nandflashboot-uboot-3.8.12.bin" becomes "sama5d3xek-nandflashboot--3.8.12.bin" (note the two hyphens).
This commit fixes the problem by substituting default image names when CONFIG_IMAGE_NAME is undefined.