diff --git a/Kconfig b/Kconfig index c0421160b9..6d8e8d429c 100644 --- a/Kconfig +++ b/Kconfig @@ -583,7 +583,7 @@ mainmenu "Espressif IoT Development Framework Configuration" config COMPILER_ORPHAN_SECTIONS_WARNING bool "Place with warning" help - Places orphan sections without a warning message. + Places orphan sections with a warning message. config COMPILER_ORPHAN_SECTIONS_PLACE bool "Place silently" diff --git a/tools/cmake/project.cmake b/tools/cmake/project.cmake index d5e3da9455..a1986a93f8 100644 --- a/tools/cmake/project.cmake +++ b/tools/cmake/project.cmake @@ -720,7 +720,7 @@ macro(project project_name) # Do not print RWX segment warnings target_link_options(${project_elf} PRIVATE "-Wl,--no-warn-rwx-segments") endif() - if(CONFIG_ESP_ORPHAN_SECTION_WARNING) + if(CONFIG_COMPILER_ORPHAN_SECTIONS_WARNING) # Print warnings if orphan sections are found target_link_options(${project_elf} PRIVATE "-Wl,--orphan-handling=warn") endif()