mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
Merge branch 'bugfix/linux_target_component_dep' into 'master'
build system: add 'linux' component to common requirements See merge request espressif/esp-idf!19663
This commit is contained in:
@@ -8,7 +8,7 @@ if(${target} STREQUAL "linux")
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS include ${hal_dir}/include ${bootloader_support_dir}/include
|
||||
PRIV_INCLUDE_DIRS include/spi_flash
|
||||
PRIV_REQUIRES linux partition_table)
|
||||
PRIV_REQUIRES partition_table)
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
@@ -206,7 +206,7 @@ function(__build_init idf_path)
|
||||
endforeach()
|
||||
|
||||
if("${target}" STREQUAL "linux")
|
||||
set(requires_common freertos log esp_rom esp_common)
|
||||
set(requires_common freertos log esp_rom esp_common linux)
|
||||
idf_build_set_property(__COMPONENT_REQUIRES_COMMON "${requires_common}")
|
||||
else()
|
||||
# Set components required by all other components in the build
|
||||
|
Reference in New Issue
Block a user