Skip to content

Commit 9672cf6

Browse files
authored
Update copy-libs.sh
1 parent cad9ab5 commit 9672cf6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tools/copy-libs.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ done
441441

442442
set -- $LD_LIB_FILES
443443
for item; do
444+
#echo "***** Stripping $item"
445+
#"$TOOLCHAIN-strip" -g "$item"
444446
cp "$item" "$AR_SDK/lib/"
445447
done
446448

@@ -500,6 +502,10 @@ if [ -d "managed_components/espressif__esp-zboss-lib/lib/$IDF_TARGET/" ]; then
500502
cp -r "managed_components/espressif__esp-zboss-lib/lib/$IDF_TARGET"/* "$AR_SDK/lib/"
501503
fi
502504

505+
if [ -d "managed_components/espressif__esp32-camera/driver/private_include/" ]; then
506+
cp -r "managed_components/espressif__esp32-camera/driver/private_include/cam_hal.h" "$AR_SDK/include/espressif__esp32-camera/driver/include/"
507+
fi
508+
503509
# sdkconfig
504510
cp -f "sdkconfig" "$AR_SDK/sdkconfig"
505511

@@ -514,6 +520,7 @@ function copy_precompiled_lib(){
514520
lib_file="$1"
515521
lib_name="$(basename $lib_file)"
516522
if [[ $LD_LIBS_SEARCH == *"$lib_name"* ]]; then
523+
#"$TOOLCHAIN-strip" -g "$lib_file"
517524
cp "$lib_file" "$AR_SDK/ld/"
518525
fi
519526
}
@@ -530,7 +537,7 @@ for item; do
530537
done
531538
done
532539

533-
for lib in "openthread" "espressif__esp-tflite-micro" "bt"; do
540+
for lib in "openthread" "espressif__esp-tflite-micro" "bt" "espressif__esp_modem" "espressif__esp-zboss-lib" "espressif__esp-zigbee-lib" "espressif__mdns" "espressif__esp-dsp" "espressif__esp32-camera" "joltwallet__littlefs"; do
534541
if [ -f "$AR_SDK/lib/lib$lib.a" ]; then
535542
echo "Stripping $AR_SDK/lib/lib$lib.a"
536543
"$TOOLCHAIN-strip" -g "$AR_SDK/lib/lib$lib.a"
@@ -552,6 +559,7 @@ for mem_variant in `jq -c '.mem_variants_files[]' configs/builds.json`; do
552559
file=$(echo "$mem_variant" | jq -c '.file' | tr -d '"')
553560
out=$(echo "$mem_variant" | jq -c '.out' | tr -d '"')
554561
mv "$AR_SDK/$out" "$AR_SDK/$MEMCONF/$file"
562+
#"$TOOLCHAIN-strip" -g "$AR_SDK/$MEMCONF/$file"
555563
fi
556564
done;
557565

0 commit comments

Comments
 (0)