Skip to content

Commit a355efb

Browse files
committed
Merge branch 'backport/openthread_related_feature_v51_20241125' into 'release/v5.1'
Backport openthread related features to 5.1 See merge request espressif/esp-idf!35174
2 parents 8cee3e3 + dee502d commit a355efb

File tree

11 files changed

+1288
-1009
lines changed

11 files changed

+1288
-1009
lines changed

components/openthread/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if(CONFIG_OPENTHREAD_ENABLED)
2323
"openthread/src/ncp"
2424
"private_include")
2525

26-
set(src_dirs
26+
set(src_dirs
2727
"src"
2828
"src/port"
2929
"openthread/examples/platforms/utils"
@@ -244,6 +244,12 @@ elseif(CONFIG_OPENTHREAD_SPINEL_ONLY)
244244

245245
endif()
246246

247+
if(CONFIG_OPENTHREAD_HEADER_CUSTOM)
248+
idf_build_get_property(project_dir PROJECT_DIR)
249+
list(APPEND private_include_dirs
250+
"${project_dir}/${CONFIG_OPENTHREAD_CUSTOM_HEADER_PATH}")
251+
endif()
252+
247253
execute_process(
248254
COMMAND git rev-parse --short HEAD
249255
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}

0 commit comments

Comments
 (0)