]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/blobdiff - build_wl18xx.sh
build - add option to build all hostap
[wilink8-wlan/build-utilites.git] / build_wl18xx.sh
index e905474088e713690bfee1af366c012cc5d42297..154302a34efe0dca9421db2dcb52c81d579969c3 100755 (executable)
@@ -284,6 +284,7 @@ function build_intree()
 
        make -j${PROCESSORS_NUMBER} zImage
        make -j${PROCESSORS_NUMBER} am335x-evm.dtb
+       make -j${PROCESSORS_NUMBER} am335x-evm-wow.dtb
        make -j${PROCESSORS_NUMBER} am335x-bone.dtb
        make -j${PROCESSORS_NUMBER} am335x-boneblack.dtb
        make -j${PROCESSORS_NUMBER} am335x-boneblack-e14-wl1837.dtb
@@ -296,8 +297,8 @@ function build_intree()
 
        assert_no_error
 
-       [ -e ./outputs/drv_skeleton.tar ] && rm ./outputs/drv_skeleton.tar
        cd `path filesystem`
+       [ -f ../outputs/drv_skeleton.tar ] && rm ../outputs/drv_skeleton.tar
        find ./ -name wl*.ko -exec tar rf ../outputs/drv_skeleton.tar {$1} \;
        find ./ -name *80211*.ko -exec tar rf ../outputs/drv_skeleton.tar {$1} \;
 
@@ -1024,6 +1025,14 @@ function main()
                build_wlconf            
                ;;
 
+               'all_hostap')
+                print_highlight " building hostap and dependencies "
+                build_libnl
+                build_openssl
+                build_wpa_supplicant
+               build_hostapd
+                ;; 
+
                'firmware')
                print_highlight " building only firmware"
                build_fw_download