summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJang, Bongseo <graycells@gmail.com>2012-09-23 02:59:28 (GMT)
committerJang, Bongseo <graycells@gmail.com>2012-09-23 02:59:28 (GMT)
commitf1be07d21054b32bb514f3e102ffa2a854353991 (patch)
tree6db9d0da7b07c2449f23fad8400f179b8b55225e /scripts
parentdcd88fbd99605bbc52833c2bb5d6e59286f5d054 (diff)
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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/kernel/linux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh
index 2106216..5b191f4 100644
--- a/scripts/build/kernel/linux.sh
+++ b/scripts/build/kernel/linux.sh
@@ -41,7 +41,7 @@ do_kernel_get() {
"${CT_TARBALLS_DIR}/${custom_name}"
else
custom_name="linux-custom"
- CT_DoExecLog DEBUG ln -s "${CT_KERNEL_LINUX_CUSTOM_LOCATION}" \
+ CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_LOCATION}" \
"${CT_SRC_DIR}/${custom_name}"
fi
else # Not a custom tarball