boards: mec1501modular: build without image gen tool
Do not quit if there is no image generation tool, just report the issue and continue. Happens on MacOS where there is no tool for generation the SPI image. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
478577e04a
commit
209e4ee1a1
|
@ -24,7 +24,7 @@ else()
|
|||
set(EVERGLADES_SPI_GEN_FILENAME everglades_spi_gen.exe)
|
||||
endif()
|
||||
|
||||
find_file(EVERGLADES_SPI_GEN_FINDFILE ${EVERGLADES_SPI_GEN_FILENAME})
|
||||
find_file(EVERGLADES_SPI_GEN_FINDFILE ${EVERGLADES_SPI_GEN_FILENAME} NO_DEFAULT_PATH)
|
||||
if(EVERGLADES_SPI_GEN_FINDFILE STREQUAL EVERGLADES_SPI_GEN_FINDFILE-NOTFOUND)
|
||||
message(WARNING "Microchip SPI Image Generation tool (${EVERGLADES_SPI_GEN_FILENAME}) is not available. SPI Image will not be generated.")
|
||||
else()
|
||||
|
|
Loading…
Reference in a new issue