diff options
| author | hathach <[email protected]> | 2023-06-01 12:50:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-06-01 12:50:32 +0700 |
| commit | 62b2d05d34b3ecca08e531709b4a7f809c108047 (patch) | |
| tree | 21130039987f6e501cf477ef0cf4ae201d860e45 | |
| parent | 19a597bcae11077c3011d78f1a85dc2f1bfcd00f (diff) | |
skip set CMAKE_EXECUTABLE_SUFFIX for espressif port
| -rw-r--r-- | hw/bsp/family_support.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake index e3f2f45ff..69290ceec 100644 --- a/hw/bsp/family_support.cmake +++ b/hw/bsp/family_support.cmake @@ -84,8 +84,10 @@ endfunction() function(family_initialize_project PROJECT DIR) - # set output suffix to .elf - set(CMAKE_EXECUTABLE_SUFFIX .elf PARENT_SCOPE) + # set output suffix to .elf (skip espressif) + if(NOT FAMILY STREQUAL "espressif") + set(CMAKE_EXECUTABLE_SUFFIX .elf PARENT_SCOPE) + endif() family_filter(ALLOWED "${DIR}") if (NOT ALLOWED) |
