Skip to contentSkip to conversation

binutils: use TARGET_PREFIX for the convenience links

PATCH Applied Christopher Larson 2 participants 2 messages Aug 29, 2011 – Aug 30, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binutils: use TARGET_PREFIX for the convenience links

From: Chris Larson <[email protected]>

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

---
 meta-oe/recipes-devtools/binutils/binutils.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/binutils/binutils.inc +2 -2
index d9e859e..f8fc7b8 100644
@@ -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
Signature · 1 line
1.7.3.2.430.g208247
Applied
#1 lore raw

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

Op 29-08-11 18:27, Christopher Larson schreef:

Quoted 5 lines

From: Chris Larson <[email protected]>

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

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

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