File tree 1 file changed +3
-9
lines changed
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
10
10
exit 1
11
11
fi
12
12
13
+ # Fixes building some components. See https://github.com/espressif/arduino-esp32/issues/10167
14
+ export IDF_COMPONENT_OVERWRITE_MANAGED_COMPONENTS=1
15
+
13
16
export TARGET=" all"
14
17
BUILD_TYPE=" all"
15
18
SKIP_ENV=0
@@ -201,9 +204,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
201
204
202
205
echo " * Build IDF-Libs: $idf_libs_configs "
203
206
rm -rf build sdkconfig
204
- pushd $AR_MANAGED_COMPS
205
- rm -- ** /.component_hash
206
- popd
207
207
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $idf_libs_configs " idf-libs
208
208
if [ $? -ne 0 ]; then exit 1; fi
209
209
@@ -216,9 +216,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
216
216
217
217
echo " * Build BootLoader: $bootloader_configs "
218
218
rm -rf build sdkconfig
219
- pushd $AR_MANAGED_COMPS
220
- rm -- ** /.component_hash
221
- popd
222
219
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $bootloader_configs " copy-bootloader
223
220
if [ $? -ne 0 ]; then exit 1; fi
224
221
done
@@ -232,9 +229,6 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
232
229
233
230
echo " * Build Memory Variant: $mem_configs "
234
231
rm -rf build sdkconfig
235
- pushd $AR_MANAGED_COMPS
236
- rm -- ** /.component_hash
237
- popd
238
232
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $mem_configs " mem-variant
239
233
if [ $? -ne 0 ]; then exit 1; fi
240
234
done
You can’t perform that action at this time.
0 commit comments