]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/blobdiff - build_wl18xx.sh
Add GIT_TREE path
[wilink8-wlan/build-utilites.git] / build_wl18xx.sh
index 92863d9d78e981bda4103eaf6e3e8371076b644d..28617dfd33a0cced2b8bb744c9a8d8e4a67d4ff3 100755 (executable)
@@ -151,7 +151,8 @@ function setup_environment()
        export LIBNL_PATH=`repo_path libnl`     
        export KLIB=${KERNEL_PATH}
        export KLIB_BUILD=${KERNEL_PATH}
-    export PATH=$TOOLCHAIN_PATH:$PATH
+        export GIT_TREE=`repo_path driver`
+        export PATH=$TOOLCHAIN_PATH:$PATH
     
 }
 
@@ -199,8 +200,8 @@ function setup_branches()
                url=${repositories[$i + 1]}
         branch=${repositories[$i + 2]}   
         checkout_type="branch"       
-        #for all the openlink repo. we use a tag if provided.
-        [ ! "$name" != "kernel" -o "$DEFAULT_KERNEL" ] && i=$[$i + 3] && continue
+        #for all the openlink repo. we use a tag if provided.        
+        [ "$name" == "kernel" ] && [ -z "$DEFAULT_KERNEL" ] && i=$[$i + 3] && continue
         cd_repo $name    
         echo -e "\n${NORMAL}Checking out branch ${GREEN}$branch  ${NORMAL}in repo ${GREEN}$name ${NORMAL} "
                git checkout $branch