Merge branch 'fix/usb_host_full_mock_component_dir' into 'master'

fix(usb_host): Fixing USB Component mock component dir

See merge request espressif/esp-idf!41404
This commit is contained in:
Peter Marcisovsky
2025-08-21 08:58:33 +02:00

View File

@@ -7,7 +7,7 @@ message(STATUS "building full USB HOST MOCKS")
idf_component_get_property(original_usb_dir usb COMPONENT_OVERRIDEN_DIR) idf_component_get_property(original_usb_dir usb COMPONENT_OVERRIDEN_DIR)
idf_component_get_property(original_esp_hw_support_dir esp_hw_support COMPONENT_OVERRIDEN_DIR) idf_component_get_property(original_esp_hw_support_dir esp_hw_support COMPONENT_OVERRIDEN_DIR)
if(NOT original_esp_hw_support_dir) if(NOT original_esp_hw_support_dir)
idf_component_get_property(original_esp_hw_support_dir esp_hw_support COMPONENT_SRCDIR) idf_component_get_property(original_esp_hw_support_dir esp_hw_support COMPONENT_DIR)
endif() endif()
idf_component_mock(INCLUDE_DIRS "${original_usb_dir}/include" idf_component_mock(INCLUDE_DIRS "${original_usb_dir}/include"