From: Axel Lin <axel.lin@ingics.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] tcl: specify ln -sf to remove existing destination file
Date: Mon, 14 Oct 2013 21:23:02 +0800 [thread overview]
Message-ID: <1381756982.15266.3.camel@phoenix> (raw)
In-Reply-To: <1381756890.15266.1.camel@phoenix>
This fixes below build error when executing
"make tcl-dirclean; make tcl-rebuild".
ln -s tclsh8.4 /opt/test/br-x86/buildroot/output/target/usr/bin/tclsh
ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/target/usr/bin/tclsh': File exists
make: *** [/opt/test/br-x86/buildroot/output/build/tcl-8.4.19/.stamp_target_installed] Error 1
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
package/tcl/tcl.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk
index 3291c1b..58f085a 100644
--- a/package/tcl/tcl.mk
+++ b/package/tcl/tcl.mk
@@ -37,7 +37,7 @@ endef
TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_TCLSH
else
define TCL_SYMLINK_TCLSH
- ln -s tclsh$(TCL_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/tclsh
+ ln -sf tclsh$(TCL_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/tclsh
endef
TCL_POST_INSTALL_TARGET_HOOKS += TCL_SYMLINK_TCLSH
endif
--
1.8.1.2
next prev parent reply other threads:[~2013-10-14 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 13:21 [Buildroot] [PATCH 1/3] ncftp: specify ln -sf to remove existing destination files Axel Lin
2013-10-14 13:22 ` [Buildroot] [PATCH 2/3] sam-ba: specify ln -sf to remove existing destination file Axel Lin
2013-10-14 13:23 ` Axel Lin [this message]
2013-10-14 20:00 ` [Buildroot] [PATCH 1/3] ncftp: specify ln -sf to remove existing destination files Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1381756982.15266.3.camel@phoenix \
--to=axel.lin@ingics.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox