Skip to content

Commit 81f7e4b

Browse files
authored
copy zigbee + zboss lib for H2
1 parent 0df4f35 commit 81f7e4b

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
@@ -484,6 +484,15 @@ echo -n "$LD_FLAGS" > "$FLAGS_DIR/ld_flags"
484484
echo -n "$LD_SCRIPTS" > "$FLAGS_DIR/ld_scripts"
485485
echo -n "$AR_LIBS" > "$FLAGS_DIR/ld_libs"
486486

487+
# copy zigbee + zboss lib
488+
if [ -d "managed_components/espressif__esp-zigbee-lib/lib/$IDF_TARGET/" ]; then
489+
cp -r "managed_components/espressif__esp-zigbee-lib/lib/$IDF_TARGET"/* "$AR_SDK/lib/"
490+
fi
491+
492+
if [ -d "managed_components/espressif__esp-zboss-lib/lib/$IDF_TARGET/" ]; then
493+
cp -r "managed_components/espressif__esp-zboss-lib/lib/$IDF_TARGET"/* "$AR_SDK/lib/"
494+
fi
495+
487496
# sdkconfig
488497
cp -f "sdkconfig" "$AR_SDK/sdkconfig"
489498

0 commit comments

Comments
 (0)