tcl: specify ln -sf to remove existing destination file
authorAxel Lin <axel.lin@ingics.com>
Mon, 14 Oct 2013 13:23:02 +0000 (21:23 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 14 Oct 2013 20:00:13 +0000 (22:00 +0200)
commitb6c0b3b42ab357925d64eb5aa7515f83a7d5ca02
tree3bf53930d9984784e7829ebfcc60e4499c2fd857
parent58712bbe4f085e92962db17d2d4ae34057d9384e
tcl: specify ln -sf to remove existing destination file

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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tcl/tcl.mk