mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
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
This commit is contained in:
parent
dcd88fbd99
commit
f1be07d210
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user