mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
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>
This commit is contained in:
@@ -109,8 +109,8 @@ do_install () {
|
|||||||
cd ${D}${bindir}
|
cd ${D}${bindir}
|
||||||
|
|
||||||
# Symlinks for ease of running these on the native target
|
# Symlinks for ease of running these on the native target
|
||||||
for p in ${TARGET_SYS}-* ; do
|
for p in ${TARGET_PREFIX}* ; do
|
||||||
ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
|
ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,`
|
||||||
done
|
done
|
||||||
|
|
||||||
rm ${D}${bindir}/ar ${D}${bindir}/strings
|
rm ${D}${bindir}/ar ${D}${bindir}/strings
|
||||||
|
|||||||
Reference in New Issue
Block a user