Skip to content

Commit

Permalink
Merge branch 'bugfix/linux_target_component_dep' into 'master'
Browse files Browse the repository at this point in the history
build system: add 'linux' component to common requirements

See merge request espressif/esp-idf!19663
  • Loading branch information
0xjakob committed Aug 23, 2022
2 parents fec97b6 + d5973b8 commit d5b80e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/spi_flash/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion tools/cmake/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5b80e6

Please sign in to comment.