build.sh : remove redundant build option
authorGuy Mishol <guym@ti.com>
Mon, 6 Jun 2016 10:51:39 +0000 (13:51 +0300)
committerGuy Mishol <guym@ti.com>
Mon, 6 Jun 2016 10:51:39 +0000 (13:51 +0300)
Signed-off-by: Guy Mishol <guym@ti.com>
build_wl18xx.sh

index c8f125b63352166e1cbcdabf3c24e2555cac3d04..73c8db872038d1bd0c8e9d73429c6d47a01cd1b8 100755 (executable)
@@ -528,17 +528,6 @@ function build_fw_download()
        cp `repo_path fw_download`/*.bin `path filesystem`/lib/firmware/ti-connectivity
 }
 
-function build_fw()
-{
-       cd `repo_path firmware-build`/victoria/firmware
-       [ -z $NO_CLEAN ] && ./build.sh clean
-       ./build.sh
-       cp `repo_path firmware-build`/victoria/firmware/out/Firmware18xx/wl18xx-fw-4.bin `path filesystem`/lib/firmware/ti-connectivity
-       cp `repo_path firmware-build`/victoria/firmware/out/Firmware18xx/wl18xx-fw-4.bin `path outputs`
-       cd_back
-}
-
-
 function patch_kernel()
 {
        [ ! -d $KERNEL_PATH ] && echo "Error KERNEL_PATH: $KERNEL_PATH dir does not exist" && exit 1
@@ -1039,11 +1028,6 @@ function main()
                build_fw_download
                ;;
 
-               'fw')
-               print_highlight " building only firmware"
-               build_fw
-               ;;
-
                'patch_kernel')
                print_highlight " only patching kernel $2 without performing an actual build!"
                NO_BUILD=1