. build/envsetup.sh
lunch num
cd ../lichee/
./build.sh
result=$?
if [ $result -ne 0 ]
then
echo "make kernel run error!!!" $result
exit 1
fi
echo "make kernel run OK!!! result = $result"
cd ../android/
#extract-bsp
#pack
. build/envsetup.sh
lunch 51
extract-bsp
make -j32
result=$?
if [ $result -ne 0 ]
then
echo "make android run error!!!" $result
exit 1
fi
echo "make android run OK!!! result = $result"
pack
. build/envsetup.sh
lunch 51
cd ../lichee/brandy/u-boot-2014.07/
make -j32
result=$?
if [ $result -ne 0 ]
then
echo "make uboot run error!!!" $result
exit 1
fi
make boot0
result=$?
if [ $result -ne 0 ]
then
echo "make uboot run error!!!" $result
exit 2
fi
make fes
result=$?
if [ $result -ne 0 ]
then
echo "make uboot run error!!!" $result
exit 3
fi
echo "make uboot run OK!!! result = $result"
cd ../../../android/
pack
@echo off
echo start to copy1...
copy \\\lichee\tools\pack\sun8iw15p1_android_a1_uart0.img I:\desktop\
:copy \\\\lichee\tools\pack\sun8iw15p1_android_a1_uart0.img I:\desktop\
:copy \\\\lichee\tools\pack\sun8iw15p1_android_a3_uart0.img .\
:copy \\\a50\android\out\target\product\venus-a1\xxxx.zip .\
echo copy ok!!!
pause
@echo on
rem 这句是注释
: 这句也是注释
rem pause