]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/blobdiff - build_wl18xx.sh
Don't clean/build outputs if using user configured ROOTFS
[wilink8-wlan/build-utilites.git] / build_wl18xx.sh
index 199994ec8eacf68f4ba58a9911db1b44b4e40fc8..cd221807c9b7a88cba466375454abec5375b0f84 100755 (executable)
@@ -402,11 +402,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 +633,7 @@ function main()
         
         'clean')        
         print_highlight " cleaning & building all "       
-               clean_outputs
+               #clean_outputs
         setup_directories
         build_all        
                ;;