#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## bluez5_utils-5.62: deploy ##########"
cd /media/seagate_500G/rk3308_linux5.10/buildroot
cd /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target
tar --no-recursion --ignore-failed-read -cf /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/bluez5_utils-5.62.tar -T /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.files-list-target.txt
adb shell true >/dev/null
adb push /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/bluez5_utils-5.62.tar /tmp/
adb shell tar xvf /tmp/bluez5_utils-5.62.tar
