All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [meta-oe] binutils: use TARGET_PREFIX for the convenience links
@ 2011-08-29 16:27 Christopher Larson
  2011-08-30  7:00 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Larson @ 2011-08-29 16:27 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Chris Larson

From: Chris Larson <chris_larson@mentor.com>

This ensures it works even if TARGET_PREFIX != ${TARGET_SYS}-

Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
 meta-oe/recipes-devtools/binutils/binutils.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/binutils/binutils.inc b/meta-oe/recipes-devtools/binutils/binutils.inc
index d9e859e..f8fc7b8 100644
--- a/meta-oe/recipes-devtools/binutils/binutils.inc
+++ b/meta-oe/recipes-devtools/binutils/binutils.inc
@@ -109,8 +109,8 @@ do_install () {
 	cd ${D}${bindir}
 
 	# Symlinks for ease of running these on the native target
-	for p in ${TARGET_SYS}-* ; do
-		ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
+	for p in ${TARGET_PREFIX}* ; do
+		ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,`
 	done
 
 	rm ${D}${bindir}/ar ${D}${bindir}/strings
-- 
1.7.3.2.430.g208247




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

* Re: [PATCH] [meta-oe] binutils: use TARGET_PREFIX for the convenience links
  2011-08-29 16:27 [PATCH] [meta-oe] binutils: use TARGET_PREFIX for the convenience links Christopher Larson
@ 2011-08-30  7:00 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-08-30  7:00 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 29-08-11 18:27, Christopher Larson schreef:
> From: Chris Larson <chris_larson@mentor.com>
> 
> This ensures it works even if TARGET_PREFIX != ${TARGET_SYS}-
> 
> Signed-off-by: Chris Larson <chris_larson@mentor.com> --- meta-oe/recipes-devtools/binutils/binutils.inc |    4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

merged, thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD4DBQFOXIqYMkyGM64RGpERArq+AJdv22NzIKRCxZ53vZ9gFhbXEQDQAJkBqVJM
5UEU4IR7d8qIUZtxcA0y0Q==
=9/50
-----END PGP SIGNATURE-----




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

end of thread, other threads:[~2011-08-30  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 16:27 [PATCH] [meta-oe] binutils: use TARGET_PREFIX for the convenience links Christopher Larson
2011-08-30  7:00 ` Koen Kooi

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.