From 8fabd5d987dc8751ed6b67735355e91d22e8c7ff Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 19 Jun 2014 13:32:19 +0800 Subject: [PATCH] refine cubieboard configure, use ubuntu prepare to install tools --- trunk/auto/depends.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 1309e0a5e..1059ac9a5 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -34,9 +34,13 @@ echo "depends tools are ok" OS_IS_UBUNTU=NO function Ubuntu_prepare() { - uname -v|grep Ubuntu >/dev/null 2>&1 - ret=$?; if [[ 0 -ne $ret ]]; then - return 0; + if [ $SRS_CUBIE = YES ]; then + echo "for cubieboard, use ubuntu prepare" + else + uname -v|grep Ubuntu >/dev/null 2>&1 + ret=$?; if [[ 0 -ne $ret ]]; then + return 0; + fi fi OS_IS_UBUNTU=YES