change(build): Add a new CMake flag NON_OS_BUILD for non-FreeRTOS builds

This commit is contained in:
Laukik Hase
2024-10-16 13:32:12 +05:30
parent 12398c0f25
commit 5328dcd00c
17 changed files with 46 additions and 30 deletions
+3 -1
View File
@@ -20,7 +20,9 @@
# - Files common across all kernel implementations and all ports
# Bootloader builds only needs FreeRTOS for config, not for anything else
if(BOOTLOADER_BUILD)
idf_build_get_property(non_os_build NON_OS_BUILD)
if(non_os_build)
idf_component_register()
return()
endif()