aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/kernel
diff options
context:
space:
mode:
authorJang, Bongseo <graycells@gmail.com>2012-09-23 11:59:28 +0900
committerJang, Bongseo <graycells@gmail.com>2012-09-23 11:59:28 +0900
commitf1be07d21054b32bb514f3e102ffa2a854353991 (patch)
tree6db9d0da7b07c2449f23fad8400f179b8b55225e /scripts/build/kernel
parentdcd88fbd99605bbc52833c2bb5d6e59286f5d054 (diff)
downloadcrosstool-ng-f1be07d21054b32bb514f3e102ffa2a854353991.tar.gz
crosstool-ng-f1be07d21054b32bb514f3e102ffa2a854353991.tar.bz2
crosstool-ng-f1be07d21054b32bb514f3e102ffa2a854353991.zip
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/build/kernel')
-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 21062160..5b191f48 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