kernel/linux: symlink custom kernel source dir with '-f'
authorJang, Bongseo <graycells@gmail.com>
Sun Sep 23 11:59:28 2012 +0900 (2012-09-23)
changeset 3060f46a1d105896
parent 3059 1e5fe55974bc
child 3061 e43643e41fb9
kernel/linux: symlink custom kernel source dir with '-f'

build fails to symlink to custom kernel dir when the build is not the first time
because of 'ln -s' without '-f' option.

Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
Message-ID: <543e2981f2b723ecd850.1348370892@localhost.localdomain>
PatchWork-ID: 186178
scripts/build/kernel/linux.sh
     1.1 --- a/scripts/build/kernel/linux.sh	Sun Sep 23 11:53:02 2012 +0900
     1.2 +++ b/scripts/build/kernel/linux.sh	Sun Sep 23 11:59:28 2012 +0900
     1.3 @@ -41,7 +41,7 @@
     1.4                                        "${CT_TARBALLS_DIR}/${custom_name}"
     1.5          else
     1.6              custom_name="linux-custom"
     1.7 -            CT_DoExecLog DEBUG ln -s "${CT_KERNEL_LINUX_CUSTOM_LOCATION}"  \
     1.8 +            CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_LOCATION}"  \
     1.9                                        "${CT_SRC_DIR}/${custom_name}"
    1.10          fi
    1.11      else # Not a custom tarball