Skip to content

Commit 62b2d05

Browse files
committed
skip set CMAKE_EXECUTABLE_SUFFIX for espressif port
1 parent 19a597b commit 62b2d05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

hw/bsp/family_support.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ endfunction()
8484

8585

8686
function(family_initialize_project PROJECT DIR)
87-
# set output suffix to .elf
88-
set(CMAKE_EXECUTABLE_SUFFIX .elf PARENT_SCOPE)
87+
# set output suffix to .elf (skip espressif)
88+
if(NOT FAMILY STREQUAL "espressif")
89+
set(CMAKE_EXECUTABLE_SUFFIX .elf PARENT_SCOPE)
90+
endif()
8991

9092
family_filter(ALLOWED "${DIR}")
9193
if (NOT ALLOWED)

0 commit comments

Comments
 (0)