]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/commitdiff
build outputs : fix kernel outputs copy
authorYaniv Machani <yanivma@ti.com>
Wed, 25 Mar 2015 09:21:51 +0000 (11:21 +0200)
committerYaniv Machani <yanivma@ti.com>
Wed, 25 Mar 2015 09:21:51 +0000 (11:21 +0200)
Change condition to allow copying of the kerenl build outputs to the outputs folder.

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

index 20aa64e09dc6943376737de9b6146244dc9b28b6..b218f2daef1e0c02c17fb5dfb51373a1e0017232 100755 (executable)
@@ -546,13 +546,13 @@ function build_outputs()
 {
        if [[ "$ROOTFS" == "DEFAULT" ]]
     then  
-        echo "Building outputs"    
+        echo "Building outputs"
         cd_path filesystem
         tar cpjf `path outputs`/${tar_filesystem[0]} .
         cd_back
                
                # Copy kernel files only if default kernel is used(for now)
-               if [[ "$KERNEL_PATH" == "DEFAULT" ]]
+               if [[ $DEFAULT_KERNEL -eq 1 ]]
                then
                        if [ "$KERNEL_VERSION" -eq 3 ] && [ "$KERNEL_PATCHLEVEL" -eq 2 ]
                        then