1 Star 1 Fork 0

吕冬/etherlab

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tx2-install 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
lvdong04 提交于 2019-08-19 22:38 . add a6btest project
#! /bin/bash
echo "$TX2_HOST"
if [ ! -n "$TX2_HOST" ]
then
echo You should set environment variable "export TX2_HOST=" first.
exit -3
fi
echo --------------------------------------------------------------------------
echo start building etherlab...
echo --------------------------------------------------------------------------
make
if [ ! $? ]
then
exit -1
fi
echo --------------------------------------------------------------------------
echo build etherlab success!
echo --------------------------------------------------------------------------
make install
if [ ! $? ]
then
exit -2
fi
echo --------------------------------------------------------------------------
echo install binaries into $PWD/install/etherlab
echo --------------------------------------------------------------------------
echo --------------------------------------------------------------------------
echo rsync etherlab to tx2 board
echo --------------------------------------------------------------------------
if [ ! -d $PWD/install/etherlab ]
then
echo error $PWD/install/etherlab not exist!
exit -1
fi
echo rsync $PWD/install/etherlab root@${TX2_HOST}:/opt
rsync -avz --progress $PWD/install/etherlab root@${TX2_HOST}:/opt
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/flvd/etherlab.git
git@gitee.com:flvd/etherlab.git
flvd
etherlab
etherlab
master

搜索帮助