Update configuration.sh file: driver, hostapd and backports
[wilink8-wlan/build-utilites.git] / build_wl18xx.sh
index 199994ec8eacf68f4ba58a9911db1b44b4e40fc8..e1011746535ddcc09e3936c972e3b039d03c8503 100755 (executable)
@@ -200,6 +200,7 @@ function setup_branches()
         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
         cd_repo $name    
         echo -e "\n${NORMAL}Checking out branch ${GREEN}$branch  ${NORMAL}in repo ${GREEN}$name ${NORMAL} "
                git checkout $branch        
@@ -402,11 +403,14 @@ function clean_outputs()
 
 function build_outputs()
 {
-       echo "Building outputs"    
-       cd_path filesystem
-       tar cpjf `path outputs`/${tar_filesystem[0]} .
-       cd_back
-       cp `path tftp`/uImage `path outputs`/uImage
+       if [[ "$ROOTFS" == "DEFAULT" ]]
+    then  
+        echo "Building outputs"    
+        cd_path filesystem
+        tar cpjf `path outputs`/${tar_filesystem[0]} .
+        cd_back
+        cp `path tftp`/uImage `path outputs`/uImage
+    fi
 }
 
 function install_outputs()
@@ -630,7 +634,7 @@ function main()
         
         'clean')        
         print_highlight " cleaning & building all "       
-               clean_outputs
+               #clean_outputs
         setup_directories
         build_all        
                ;;