This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 3/3] Forcefully symlink kernel source directory


"ct-ng build" fails when I do it again because it tries to symlink
kernel source dir without '-f'.

diff -r e9cb0fae0ee0 -r 6399a4b8d74c scripts/build/kernel/linux.sh
--- a/scripts/build/kernel/linux.sh	Sat Sep 22 16:56:58 2012 +0900
+++ b/scripts/build/kernel/linux.sh	Sat Sep 22 16:57:47 2012 +0900
@@ -41,7 +41,7 @@
                                       "${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

-- 
Regards,
Jang.

 a sound mind in a sound body

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]