winlin

refine cubieboard configure, use ubuntu prepare to install tools

@@ -34,10 +34,14 @@ echo "depends tools are ok" @@ -34,10 +34,14 @@ echo "depends tools are ok"
34 OS_IS_UBUNTU=NO 34 OS_IS_UBUNTU=NO
35 function Ubuntu_prepare() 35 function Ubuntu_prepare()
36 { 36 {
  37 + if [ $SRS_CUBIE = YES ]; then
  38 + echo "for cubieboard, use ubuntu prepare"
  39 + else
37 uname -v|grep Ubuntu >/dev/null 2>&1 40 uname -v|grep Ubuntu >/dev/null 2>&1
38 ret=$?; if [[ 0 -ne $ret ]]; then 41 ret=$?; if [[ 0 -ne $ret ]]; then
39 return 0; 42 return 0;
40 fi 43 fi
  44 + fi
41 45
42 OS_IS_UBUNTU=YES 46 OS_IS_UBUNTU=YES
43 echo "Ubuntu detected, install tools if needed" 47 echo "Ubuntu detected, install tools if needed"