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=" esp32"
1417BUILD_TYPE=" all"
1518SKIP_ENV=0
@@ -197,9 +200,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
197200
198201 echo " * Build IDF-Libs: $idf_libs_configs "
199202 rm -rf build sdkconfig
200- pushd $AR_MANAGED_COMPS
201- rm -- ** /.component_hash
202- popd
203203 idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $idf_libs_configs " idf-libs
204204 if [ $? -ne 0 ]; then exit 1; fi
205205
@@ -212,9 +212,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
212212
213213 echo " * Build BootLoader: $bootloader_configs "
214214 rm -rf build sdkconfig
215- pushd $AR_MANAGED_COMPS
216- rm -- ** /.component_hash
217- popd
218215 idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $bootloader_configs " copy-bootloader
219216 if [ $? -ne 0 ]; then exit 1; fi
220217 done
@@ -228,9 +225,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
228225
229226 echo " * Build Memory Variant: $mem_configs "
230227 rm -rf build sdkconfig
231- pushd $AR_MANAGED_COMPS
232- rm -- ** /.component_hash
233- popd
234228 idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $mem_configs " mem-variant
235229 if [ $? -ne 0 ]; then exit 1; fi
236230 done
You can’t perform that action at this time.
0 commit comments