@@ -14,7 +14,6 @@ TARGET="all"
14
14
BUILD_TYPE=" all"
15
15
SKIP_ENV=0
16
16
COPY_OUT=0
17
- # DEPLOY_OUT=1
18
17
if [ -z $DEPLOY_OUT ]; then
19
18
DEPLOY_OUT=0
20
19
fi
@@ -92,9 +91,15 @@ if [ $SKIP_ENV -eq 0 ]; then
92
91
source ./tools/install-esp-idf.sh
93
92
if [ $? -ne 0 ]; then exit 1; fi
94
93
else
94
+ # $IDF_PATH/install.sh
95
+ # source $IDF_PATH/export.sh
95
96
source ./tools/config.sh
96
97
fi
97
98
99
+ if [ -f " ./managed_components/espressif__esp-sr/.component_hash" ]; then
100
+ rm -rf ./managed_components/espressif__esp-sr/.component_hash
101
+ fi
102
+
98
103
if [ " $BUILD_TYPE " != " all" ]; then
99
104
if [ " $TARGET " = " all" ]; then
100
105
echo " ERROR: You need to specify target for non-default builds"
@@ -161,6 +166,11 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
161
166
for defconf in ` echo " $target_json " | jq -c ' .idf_libs[]' | tr -d ' "' ` ; do
162
167
idf_libs_configs=" $idf_libs_configs ;configs/defconfig.$defconf "
163
168
done
169
+
170
+ if [ -f " ./managed_components/espressif__esp-sr/.component_hash" ]; then
171
+ rm -rf ./managed_components/espressif__esp-sr/.component_hash
172
+ fi
173
+
164
174
echo " * Build IDF-Libs: $idf_libs_configs "
165
175
rm -rf build sdkconfig
166
176
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $idf_libs_configs " idf_libs
@@ -172,6 +182,11 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
172
182
for defconf in ` echo " $boot_conf " | jq -c ' .[]' | tr -d ' "' ` ; do
173
183
bootloader_configs=" $bootloader_configs ;configs/defconfig.$defconf " ;
174
184
done
185
+
186
+ if [ -f " ./managed_components/espressif__esp-sr/.component_hash" ]; then
187
+ rm -rf ./managed_components/espressif__esp-sr/.component_hash
188
+ fi
189
+
175
190
echo " * Build BootLoader: $bootloader_configs "
176
191
rm -rf build sdkconfig
177
192
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $bootloader_configs " copy_bootloader
@@ -184,6 +199,11 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
184
199
for defconf in ` echo " $mem_conf " | jq -c ' .[]' | tr -d ' "' ` ; do
185
200
mem_configs=" $mem_configs ;configs/defconfig.$defconf " ;
186
201
done
202
+
203
+ if [ -f " ./managed_components/espressif__esp-sr/.component_hash" ]; then
204
+ rm -rf ./managed_components/espressif__esp-sr/.component_hash
205
+ fi
206
+
187
207
echo " * Build Memory Variant: $mem_configs "
188
208
rm -rf build sdkconfig
189
209
idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $mem_configs " mem_variant
0 commit comments