diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-08-30 00:27:43 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-31 14:46:57 +0200 |
commit | 33bd83fa53e50c7eaece6e5e0c072ba54e56e2b4 (patch) | |
tree | ced1e6cb189207243e5b749e8b52a6045f9aac4a | |
parent | dac513c1442e0bf7653ba53a3e0df5b6761fd6a4 (diff) | |
download | meta-openembedded-33bd83fa53e50c7eaece6e5e0c072ba54e56e2b4.tar.gz |
binutils: use TARGET_PREFIX for the convenience links
This ensures it works even if TARGET_PREFIX != ${TARGET_SYS}-
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r-- | 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 d9e859ef2b..f8fc7b8898 100644 --- a/meta-oe/recipes-devtools/binutils/binutils.inc +++ b/meta-oe/recipes-devtools/binutils/binutils.inc | |||
@@ -109,8 +109,8 @@ do_install () { | |||
109 | cd ${D}${bindir} | 109 | cd ${D}${bindir} |
110 | 110 | ||
111 | # Symlinks for ease of running these on the native target | 111 | # Symlinks for ease of running these on the native target |
112 | for p in ${TARGET_SYS}-* ; do | 112 | for p in ${TARGET_PREFIX}* ; do |
113 | ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,` | 113 | ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,` |
114 | done | 114 | done |
115 | 115 | ||
116 | rm ${D}${bindir}/ar ${D}${bindir}/strings | 116 | rm ${D}${bindir}/ar ${D}${bindir}/strings |