input 测试编译脚本

hyh@hyh-OptiPlex-9020:~/workspace/test/test_app_ts/app/ts$
hyh@hyh-OptiPlex-9020:~/workspace/test/test_app_ts/app/ts$ sh make.sh getevent
arm getevent
remount succeeded
sudo adb push a.out  /data/hyh_getevent


1521 KB/s (545980 bytes in 0.350s)
hyh@hyh-OptiPlex-9020:~/workspace/test/test_app_ts/app/ts$
hyh@hyh-OptiPlex-9020:~/workspace/test/test_app_ts/app/ts$

hyh@hyh-OptiPlex-9020:~/workspace/test/test_app_ts/app/ts$ cat make.sh

echo "arm $1"
src=$1.c
adb remount
arm-linux-gnueabihf-gcc -static $src
echo "sudo adb push a.out  /data/hyh_$1"
sleep 2
#sudo adb push a.out  /data/hyh_$1
adb push a.out  /data/hyh_$1
hyh@hyh-OptiPlex-9020:~/workspace/test/test_app_ts/app/ts$

你可能感兴趣的:(input 测试编译脚本)