diff --git a/Kconfig b/Kconfig index 08bf05e1c0..4dd5a2c042 100644 --- a/Kconfig +++ b/Kconfig @@ -592,7 +592,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 e9283c99f3..1b5b7e1b2b 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()