Merge branch 'bugfix/example_sdspi_extra_components_dir' into 'master'

fix(examples): remove stray EXTRA_COMPONENT_DIRS, fix check

See merge request espressif/esp-idf!33819
This commit is contained in:
Martin Vychodil
2024-10-09 03:31:25 +08:00
3 changed files with 4 additions and 2 deletions
@@ -5,7 +5,7 @@ set -uo pipefail
# Examples shouldn't use EXTRA_COMPONENT_DIRS, instead the dependencies should be specified in idf_component.yml files
output=$(find ${IDF_PATH}/examples -name "CMakeLists.txt" -not -path "**/managed_components/**" -not -path "**/build/**")
files=$(egrep "set\(EXTRA_COMPONENT_DIRS" ${output} | cut -d ":" -f 1)
files=$(egrep "EXTRA_COMPONENT_DIRS" ${output} | cut -d ":" -f 1)
found_issues=0
for file in ${files}
do