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 () { 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