Skip to content

Commit 79dcec7

Browse files
authored
Update build.sh
1 parent 1c8c2b2 commit 79dcec7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
201201

202202
echo "* Build IDF-Libs: $idf_libs_configs"
203203
rm -rf build sdkconfig
204+
pushd $AR_MANAGED_COMPS
205+
rm -- **/.component_hash
206+
popd
204207
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$idf_libs_configs" idf-libs
205208
if [ $? -ne 0 ]; then exit 1; fi
206209

@@ -213,6 +216,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
213216

214217
echo "* Build BootLoader: $bootloader_configs"
215218
rm -rf build sdkconfig
219+
pushd $AR_MANAGED_COMPS
220+
rm -- **/.component_hash
221+
popd
216222
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$bootloader_configs" copy-bootloader
217223
if [ $? -ne 0 ]; then exit 1; fi
218224
done
@@ -226,6 +232,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
226232

227233
echo "* Build Memory Variant: $mem_configs"
228234
rm -rf build sdkconfig
235+
pushd $AR_MANAGED_COMPS
236+
rm -- **/.component_hash
237+
popd
229238
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$mem_configs" mem-variant
230239
if [ $? -ne 0 ]; then exit 1; fi
231240
done

0 commit comments

Comments
 (0)