#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## readline-8.1: deploy ##########"
cd /home/ych/rk3568/buildroot
cd /home/ych/rk3568/buildroot/output/rockchip_rk3568_recovery/target
/home/ych/rk3568/buildroot/output/rockchip_rk3568_recovery/host/bin/tar --no-recursion --ignore-failed-read -cf /home/ych/rk3568/buildroot/output/rockchip_rk3568_recovery/build/readline-8.1/readline-8.1.tar -T /home/ych/rk3568/buildroot/output/rockchip_rk3568_recovery/build/readline-8.1/.files-list-target.txt
adb shell true >/dev/null
adb push /home/ych/rk3568/buildroot/output/rockchip_rk3568_recovery/build/readline-8.1/readline-8.1.tar /tmp/
adb shell tar xvf /tmp/readline-8.1.tar
