mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 02:20:57 +02:00
fix(usb_host): Fixing USB Component mock component dir
This commit is contained in:
@@ -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_esp_hw_support_dir esp_hw_support COMPONENT_OVERRIDEN_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()
|
||||
|
||||
idf_component_mock(INCLUDE_DIRS "${original_usb_dir}/include"
|
||||
|
Reference in New Issue
Block a user