fix(usb_host): Fixing USB Component mock component dir

This commit is contained in:
peter.marcisovsky
2025-08-20 09:22:02 +02:00
parent 8b96e82077
commit b61f60ab6a

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"