Skip to content

Commit d48715c

Browse files
manually copy zigbee libs (#146)
Co-authored-by: Me No Dev <[email protected]>
1 parent 752365b commit d48715c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: tools/copy-libs.sh

+9
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,15 @@ echo -n "$LD_FLAGS" > "$FLAGS_DIR/ld_flags"
478478
echo -n "$LD_SCRIPTS" > "$FLAGS_DIR/ld_scripts"
479479
echo -n "$AR_LIBS" > "$FLAGS_DIR/ld_libs"
480480

481+
# copy zigbee + zboss lib
482+
if [ -d "managed_components/espressif__esp-zigbee-lib/lib/$IDF_TARGET/" ]; then
483+
cp -r "managed_components/espressif__esp-zigbee-lib/lib/$IDF_TARGET"/* "$AR_SDK/lib/"
484+
fi
485+
486+
if [ -d "managed_components/espressif__esp-zboss-lib/lib/$IDF_TARGET/" ]; then
487+
cp -r "managed_components/espressif__esp-zboss-lib/lib/$IDF_TARGET"/* "$AR_SDK/lib/"
488+
fi
489+
481490
# sdkconfig
482491
cp -f "sdkconfig" "$AR_SDK/sdkconfig"
483492

0 commit comments

Comments
 (0)