gcc-x86host.inc: properly link triplet-prefixed binaries

Use the correct path for the binaries in ${datadir}, otherwise it results in a
single incorrect symlink like gcc-arm-none-eabi-*

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Denys Dmytriyenko authored and Jon Mason committed 2020-06-25 12:23:45 -04:00
1 parent d5bc2633f2
commit 9af4348fa0
1 file changed
+1 -1
@@ -10,7 +10,7 @@ do_install() {
install -d ${D}${bindir}
# Symlink all executables into bindir
for f in ${D}${datadir}/${BINNAME}/bin/${BINNAME}-*; do
for f in ${D}${datadir}/bin/${BINNAME}-*; do
lnr $f ${D}${bindir}/$(basename $f)
done
}