All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] ncftp: specify ln -sf to remove existing destination files
@ 2013-10-14 13:21 Axel Lin
  2013-10-14 13:22 ` [Buildroot] [PATCH 2/3] sam-ba: specify ln -sf to remove existing destination file Axel Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Axel Lin @ 2013-10-14 13:21 UTC (permalink / raw)
  To: buildroot

This fixes below build error when executing "make ncftp-dirclean; make".

ln -s /usr/bin/ncftpbatch /opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler
ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler': File exists
make: *** [/opt/test/br-x86/buildroot/output/build/ncftp-3.2.5/.stamp_target_installed] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/ncftp/ncftp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/ncftp/ncftp.mk b/package/ncftp/ncftp.mk
index 56d5d47..03874d1 100644
--- a/package/ncftp/ncftp.mk
+++ b/package/ncftp/ncftp.mk
@@ -26,7 +26,7 @@ endif
 ifeq ($(BR2_PACKAGE_NCFTP_BATCH),y)
 	NCFTP_TARGET_BINS += ncftpbatch
 	NCFTP_INSTALL_NCFTP_BATCH = \
-		ln -s /usr/bin/ncftpbatch $(TARGET_DIR)/usr/bin/ncftpspooler
+		ln -sf /usr/bin/ncftpbatch $(TARGET_DIR)/usr/bin/ncftpspooler
 endif
 
 ifeq ($(BR2_PACKAGE_NCFTP_BOOKMARKS),y)
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] sam-ba: specify ln -sf to remove existing destination file
  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 ` Axel Lin
  2013-10-14 13:23 ` [Buildroot] [PATCH 3/3] tcl: " Axel Lin
  2013-10-14 20:00 ` [Buildroot] [PATCH 1/3] ncftp: specify ln -sf to remove existing destination files Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Axel Lin @ 2013-10-14 13:22 UTC (permalink / raw)
  To: buildroot

This fixes below build error when executing
"make host-sam-ba-dirclean; make host-sam-ba-rebuild".

ln -s ../../opt/sam-ba/sam-ba /opt/test/br-x86/buildroot/output/host/usr/bin/sam-ba
ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/host/usr/bin/sam-ba': File exists
make: *** [/opt/test/br-x86/buildroot/output/build/host-sam-ba-2.12/.stamp_host_installed] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/sam-ba/sam-ba.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/sam-ba/sam-ba.mk b/package/sam-ba/sam-ba.mk
index e425503..8e24fa6 100644
--- a/package/sam-ba/sam-ba.mk
+++ b/package/sam-ba/sam-ba.mk
@@ -24,7 +24,7 @@ endef
 define HOST_SAM_BA_INSTALL_CMDS
 	mkdir -p $(HOST_DIR)/opt/sam-ba/
 	cp -a $(@D)/* $(HOST_DIR)/opt/sam-ba/
-	ln -s ../../opt/sam-ba/sam-ba $(HOST_DIR)/usr/bin/sam-ba
+	ln -sf ../../opt/sam-ba/sam-ba $(HOST_DIR)/usr/bin/sam-ba
 endef
 
 $(eval $(host-generic-package))
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] tcl: specify ln -sf to remove existing destination file
  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
  2013-10-14 20:00 ` [Buildroot] [PATCH 1/3] ncftp: specify ln -sf to remove existing destination files Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Axel Lin @ 2013-10-14 13:23 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/3] ncftp: specify ln -sf to remove existing destination files
  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 ` [Buildroot] [PATCH 3/3] tcl: " Axel Lin
@ 2013-10-14 20:00 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-10-14 20:00 UTC (permalink / raw)
  To: buildroot

>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:

 Axel> This fixes below build error when executing "make ncftp-dirclean; make".
 Axel> ln -s /usr/bin/ncftpbatch /opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler
 Axel> ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler': File exists
 Axel> make: *** [/opt/test/br-x86/buildroot/output/build/ncftp-3.2.5/.stamp_target_installed] Error 1

 Axel> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Committed all 3, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-14 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Buildroot] [PATCH 3/3] tcl: " Axel Lin
2013-10-14 20:00 ` [Buildroot] [PATCH 1/3] ncftp: specify ln -sf to remove existing destination files Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.