Skip to content

Commit 7a6a32d

Browse files
authored
Update build.sh
1 parent 869266a commit 7a6a32d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.sh

+9
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
197197

198198
echo "* Build IDF-Libs: $idf_libs_configs"
199199
rm -rf build sdkconfig
200+
pushd $AR_MANAGED_COMPS
201+
rm -- **/.component_hash
202+
popd
200203
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$idf_libs_configs" idf-libs
201204
if [ $? -ne 0 ]; then exit 1; fi
202205

@@ -209,6 +212,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
209212

210213
echo "* Build BootLoader: $bootloader_configs"
211214
rm -rf build sdkconfig
215+
pushd $AR_MANAGED_COMPS
216+
rm -- **/.component_hash
217+
popd
212218
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$bootloader_configs" copy-bootloader
213219
if [ $? -ne 0 ]; then exit 1; fi
214220
done
@@ -222,6 +228,9 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
222228

223229
echo "* Build Memory Variant: $mem_configs"
224230
rm -rf build sdkconfig
231+
pushd $AR_MANAGED_COMPS
232+
rm -- **/.component_hash
233+
popd
225234
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$mem_configs" mem-variant
226235
if [ $? -ne 0 ]; then exit 1; fi
227236
done

0 commit comments

Comments
 (0)