]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/commitdiff
Build : added an option to build an intree package.
authorYaniv Machani <yanivma@ti.com>
Wed, 28 Oct 2015 10:48:37 +0000 (03:48 -0700)
committerYaniv Machani <yanivma@ti.com>
Wed, 28 Oct 2015 10:48:37 +0000 (03:48 -0700)
usage - ./build_wl18xx.sh all_intree

Signed-off-by: Yaniv Machani <yanivma@ti.com>
build_wl18xx.sh

index d3efcbfe71ab4cd6d4f5b5071ce843bbce30915e..c3499a074cc58378a47c18433759d03205bea7e0 100755 (executable)
@@ -812,7 +812,7 @@ function build_all()
 {
     if [ -z $NO_EXTERNAL ] 
     then        
-        [ $DEFAULT_KERNEL ] && build_uimage
+        [ -z $INTREE ] && [ $DEFAULT_KERNEL ] && build_uimage
         build_openssl
         build_libnl
         build_crda
@@ -820,7 +820,8 @@ function build_all()
     
     if [ -z $NO_TI ] 
     then
-        build_modules
+        [ -z $INTREE ] && build_modules
+               [ $INTREE ] && build_intree
         build_iw
         build_wpa_supplicant
         build_hostapd  
@@ -1000,6 +1001,11 @@ function main()
         NO_CLEAN=1 build_all
                ;;
 
+               'all_intree')
+        print_highlight " building all (in-tree) (No clean & no source code update) "
+               #clean_outputs
+        INTREE=1 build_all
+               ;;
         *)
         echo " "
         echo "**** Unknown parameter - please see usage below **** "