mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 04:22:22 +00:00
change(build): Add a new CMake flag NON_OS_BUILD for non-FreeRTOS builds
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
idf_build_get_property(target IDF_TARGET)
|
||||
idf_build_get_property(non_os_build NON_OS_BUILD)
|
||||
|
||||
set(priv_req)
|
||||
if(NOT ${target} STREQUAL "linux")
|
||||
list(APPEND priv_req esptool_py)
|
||||
@@ -6,7 +8,7 @@ endif()
|
||||
|
||||
idf_component_register(PRIV_REQUIRES ${priv_req})
|
||||
|
||||
if(BOOTLOADER_BUILD)
|
||||
if(non_os_build)
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
||||
@@ -4,8 +4,9 @@ set(PARTITION_TABLE_CHECK_SIZES_TOOL_PATH "${CMAKE_CURRENT_LIST_DIR}/check_sizes
|
||||
|
||||
idf_build_get_property(build_dir BUILD_DIR)
|
||||
idf_build_set_property(PARTITION_TABLE_BIN_PATH "${build_dir}/partition_table/partition-table.bin")
|
||||
idf_build_get_property(non_os_build NON_OS_BUILD)
|
||||
|
||||
if(NOT BOOTLOADER_BUILD)
|
||||
if(NOT non_os_build)
|
||||
# Set PARTITION_CSV_PATH to the configured partition CSV file
|
||||
# absolute path
|
||||
if(CONFIG_PARTITION_TABLE_CUSTOM)
|
||||
|
||||
Reference in New Issue
Block a user