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