All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] swig: use a relative path for the host swig2.0 symlink's target
@ 2015-11-16 10:25 Phil Eichinger
  2015-11-16 20:07 ` Arnout Vandecappelle
  2015-11-16 20:27 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Phil Eichinger @ 2015-11-16 10:25 UTC (permalink / raw)
  To: buildroot

An absolute path isn't really necessary and breaks relocating

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
---
 package/swig/swig.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/swig/swig.mk b/package/swig/swig.mk
index 3f3ab2f..6b9b8ae 100644
--- a/package/swig/swig.mk
+++ b/package/swig/swig.mk
@@ -25,7 +25,7 @@ SWIG_LICENSE_FILES = LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
 # swig, so that our swig always gets used.
 
 define HOST_SWIG_INSTALL_SYMLINK
-	ln -fs $(HOST_DIR)/usr/bin/swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
+	ln -fs swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
 endef
 
 HOST_SWIG_POST_INSTALL_HOOKS += HOST_SWIG_INSTALL_SYMLINK
-- 
2.1.4

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

* [Buildroot] [PATCH 1/1] swig: use a relative path for the host swig2.0 symlink's target
  2015-11-16 10:25 [Buildroot] [PATCH 1/1] swig: use a relative path for the host swig2.0 symlink's target Phil Eichinger
@ 2015-11-16 20:07 ` Arnout Vandecappelle
  2015-11-16 20:27 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2015-11-16 20:07 UTC (permalink / raw)
  To: buildroot

On 16-11-15 11:25, Phil Eichinger wrote:
> An absolute path isn't really necessary and breaks relocating
> 
> Signed-off-by: Phil Eichinger <phil@zankapfel.net>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 (untested)

 Regards,
 Arnout

> ---
>  package/swig/swig.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/swig/swig.mk b/package/swig/swig.mk
> index 3f3ab2f..6b9b8ae 100644
> --- a/package/swig/swig.mk
> +++ b/package/swig/swig.mk
> @@ -25,7 +25,7 @@ SWIG_LICENSE_FILES = LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
>  # swig, so that our swig always gets used.
>  
>  define HOST_SWIG_INSTALL_SYMLINK
> -	ln -fs $(HOST_DIR)/usr/bin/swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
> +	ln -fs swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR)
>  endef
>  
>  HOST_SWIG_POST_INSTALL_HOOKS += HOST_SWIG_INSTALL_SYMLINK
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

* [Buildroot] [PATCH 1/1] swig: use a relative path for the host swig2.0 symlink's target
  2015-11-16 10:25 [Buildroot] [PATCH 1/1] swig: use a relative path for the host swig2.0 symlink's target Phil Eichinger
  2015-11-16 20:07 ` Arnout Vandecappelle
@ 2015-11-16 20:27 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-11-16 20:27 UTC (permalink / raw)
  To: buildroot

Dear Phil Eichinger,

On Mon, 16 Nov 2015 11:25:04 +0100, Phil Eichinger wrote:
> An absolute path isn't really necessary and breaks relocating
> 
> Signed-off-by: Phil Eichinger <phil@zankapfel.net>
> ---
>  package/swig/swig.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to the next branch, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-11-16 20:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16 10:25 [Buildroot] [PATCH 1/1] swig: use a relative path for the host swig2.0 symlink's target Phil Eichinger
2015-11-16 20:07 ` Arnout Vandecappelle
2015-11-16 20:27 ` Thomas Petazzoni

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.