mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user