8bbd99ad9e
1. When one of the COMPONENT_DIRS points to a component directory (i.e. a directory containing component.mk, not a directory of multiple components), and there is a subdirectory in it which also contains a component, the subdirectory was mistakenly added to the list of components and compiled. For example: main/ component.mk main.c test/ component.mk test_main.c Would compile test_main.c and link libtest.a. 2. When one of the COMPONENT_DIRS points to a component directory, and the parent directory contained a directory with the same name as another component, that directory would be mistakenly added to the COMPONENT_PATHS. For example: esp/ esp-idf/ esp32/ (random stuff) mycomponent/ component.mk mycomponent.c myproject/ main/ Makefile and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent), then "esp32" directory which is at the same level as mycomponent was added to COMPONENT_PATHS. 3. If EXTRA_COMPONENT_DIRS pointed to a directory with a list of components, and one of the subdirectories was not a component, but had the same name as another component, than that directory would be mistakenly added to COMPONENT_PATHS instead of the real esp32 component directory. For example: my_components/ my_component/ component.mk my_component.c esp32/ (some random stuff) and EXTRA_COMPONENT_DIRS would point to my_components/, then "esp32" directory would be added to COMPONENT_PATHS instead of the real esp32 component directory. |
||
---|---|---|
.. | ||
catch | ||
ci | ||
cmake | ||
esp_app_trace | ||
esp_prov | ||
kconfig | ||
kconfig_new | ||
mass_mfg | ||
test_idf_monitor | ||
test_idf_size | ||
tiny-test-fw | ||
unit-test-app | ||
windows | ||
check_python_dependencies.py | ||
eclipse-code-style.xml | ||
format-minimal.sh | ||
format.sh | ||
gen_esp_err_to_name.py | ||
idf.py | ||
idf_monitor.py | ||
idf_size.py | ||
toolchain_versions.mk |