Added configure-device.sh to the wlconf file list
[wilink8-wlan/build-utilites.git] / build_wl18xx.sh
index cd221807c9b7a88cba466375454abec5375b0f84..92863d9d78e981bda4103eaf6e3e8371076b644d 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.
         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        
         cd_repo $name    
         echo -e "\n${NORMAL}Checking out branch ${GREEN}$branch  ${NORMAL}in repo ${GREEN}$name ${NORMAL} "
                git checkout $branch        
@@ -349,7 +350,7 @@ function build_calibrator()
 
 function build_wlconf()
 {
 
 function build_wlconf()
 {
-       files_to_copy="dictionary.txt struct.bin wl18xx-conf-default.bin README example.conf example.ini"
+       files_to_copy="dictionary.txt struct.bin wl18xx-conf-default.bin README example.conf example.ini configure-device.sh"
        cd `repo_path ti_utils`/wlconf
        if [ -z $NO_CLEAN ]; then
                NFSROOT=`path filesystem` make clean
        cd `repo_path ti_utils`/wlconf
        if [ -z $NO_CLEAN ]; then
                NFSROOT=`path filesystem` make clean