100
100
source ./tools/config.sh
101
101
fi
102
102
103
- # avoid compile stop when files of managed components have been changed
104
- rm -rf $AR_MANAGED_COMPS /.component_hash
105
-
106
103
if [ " $BUILD_TYPE " != " all" ]; then
107
104
if [ " $TARGET " = " all" ]; then
108
105
echo " ERROR: You need to specify target for non-default builds"
@@ -204,6 +201,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
204
201
205
202
echo " * Build IDF-Libs: $idf_libs_configs "
206
203
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,6 +216,9 @@ 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
219
222
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $bootloader_configs " copy-bootloader
220
223
if [ $? -ne 0 ]; then exit 1; fi
221
224
done
@@ -229,6 +232,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
229
232
230
233
echo " * Build Memory Variant: $mem_configs "
231
234
rm -rf build sdkconfig
235
+ pushd $AR_MANAGED_COMPS
236
+ rm -- ** /.component_hash
237
+ popd
232
238
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $mem_configs " mem-variant
233
239
if [ $? -ne 0 ]; then exit 1; fi
234
240
done
0 commit comments