File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ if ! [ -x "$(command -v git)" ]; then
1010 exit 1
1111fi
1212
13+ # Fixes building some components. See https://github.com/espressif/arduino-esp32/issues/10167
14+ export IDF_COMPONENT_OVERWRITE_MANAGED_COMPONENTS=1
15+
1316export TARGET=" all"
1417BUILD_TYPE=" all"
1518SKIP_ENV=0
@@ -201,9 +204,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
201204
202205 echo " * Build IDF-Libs: $idf_libs_configs "
203206 rm -rf build sdkconfig
204- pushd $AR_MANAGED_COMPS
205- rm -- ** /.component_hash
206- popd
207207 idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $idf_libs_configs " idf-libs
208208 if [ $? -ne 0 ]; then exit 1; fi
209209
@@ -216,9 +216,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
216216
217217 echo " * Build BootLoader: $bootloader_configs "
218218 rm -rf build sdkconfig
219- pushd $AR_MANAGED_COMPS
220- rm -- ** /.component_hash
221- popd
222219 idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $bootloader_configs " copy-bootloader
223220 if [ $? -ne 0 ]; then exit 1; fi
224221 done
@@ -232,9 +229,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
232229
233230 echo " * Build Memory Variant: $mem_configs "
234231 rm -rf build sdkconfig
235- pushd $AR_MANAGED_COMPS
236- rm -- ** /.component_hash
237- popd
238232 idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $mem_configs " mem-variant
239233 if [ $? -ne 0 ]; then exit 1; fi
240234 done
You can’t perform that action at this time.
0 commit comments