From 9af4348fa0b83b2f5b318692c745716de5de0545 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Fri, 5 Jun 2020 18:57:10 -0400 Subject: [PATCH] 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 Signed-off-by: Jon Mason --- .../recipes-devtools/external-arm-toolchain/gcc-x86host.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86host.inc b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86host.inc index f823f4f0..d262e399 100644 --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86host.inc +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86host.inc @@ -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 }