fix(esp_bootloader_format): Remove bootloader description from app build

The removed function `esp_bootloader_get_description` never worked in the app build.
It can be used only in the bootloader build.

To read the bootloader description from app, there is another function
`esp_ota_get_bootloader_description`.
This commit is contained in:
Konstantin Kondrashov
2026-07-10 12:17:59 +03:00
parent 4eaa03abf5
commit 8913d4cf61
4 changed files with 12 additions and 4 deletions
@@ -4,7 +4,13 @@ if(${target} STREQUAL "linux")
return() # This component is not supported by the POSIX/Linux simulator
endif()
idf_component_register(SRCS "esp_bootloader_desc.c"
if(BOOTLOADER_BUILD)
set(srcs "esp_bootloader_desc.c")
else()
set(srcs "")
endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS "include")
if(BOOTLOADER_BUILD)