I.MX6 Android mmm convenient to use

#
# 主要是记录mmm的简便自动化执行方式,为了减少键盘输入
#

if [ $# -ne 1 ]; then
    echo 
    echo "    Usage: ./remmm.sh <source dirctory>"
    echo 
    exit 0
fi

if [ ! -d $1 ]; then
    echo 
    echo "   dirctory was not exist."
    echo 
    exit 0
fi

echo "source build/envsetup.sh"
source build/envsetup.sh

echo "lunch sabresd_6dq-eng"
lunch sabresd_6dq-eng

echo 
echo "mmm dist dirctory"
echo 
mmm $1

 

posted on 2015-11-02 10:13  zengjf  阅读(332)  评论(0编辑  收藏  举报

导航