Skip to content
Commit e4cb80fc authored by Lingkai Dong's avatar Lingkai Dong Committed by Rob Walton
Browse files

Set CMAKE_EXECUTABLE_SUFFIX to .elf



When linking an executable target, the output binary name CMake passes
to the linker is <target>${CMAKE_EXECUTABLE_SUFFIX}. CMake automatically
sets CMAKE_EXECUTABLE_SUFFIX to .elf for the Arm Compiler but does not
set it for GCC.

We set it in the SDK so that image names do not depend on which compiler
is used, making scripting simpler. The name of an image to use for htrun
is simplified to <target>.${IOTSDK_HTRUN_IMAGE_FORMAT}.

Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
parent 761bc09f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment