gcc-aarch64-none-elf: properly set ${S} that is different from default
PATCH 1/2 gcc-aarch64-none-elf: properly set ${S} that is different from default
From: Denys Dmytriyenko <[email protected]>
Also use ${BINNAME} and ${PV} variables for automatic substitution.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb +3 -1
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://share/doc/gcc/GNU-Free-Documentation-License.html;md5 PROVIDES = "virtual/aarch64-none-elf-gcc" -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-${PV}-x86_64-aarch64-none-elf.tar.xz" +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-a/${PV}/binrel/gcc-arm-${PV}-x86_64-${BINNAME}.tar.xz" SRC_URI[sha256sum] = "36d2cbe7c2984f2c20f562ac2f3ba524c59151adfa8ee10f1326c88de337b6d1" + +S = "${WORKDIR}/gcc-arm-${PV}-x86_64-${BINNAME}"
Signature · 1 line
2.7.4
PATCH 2/2 gcc-x86host.inc: properly link triplet-prefixed binaries
From: Denys Dmytriyenko <[email protected]>
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 <[email protected]>
--- .../recipes-devtools/external-arm-toolchain/gcc-x86host.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86host.inc +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 }
Signature · 1 line
2.7.4
Quoted 5 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Also use ${BINNAME} and ${PV} variables for automatic substitution.
Signed-off-by Denys Dmytriyenko <[email protected]>
Pulled both of these patches into master
Quoted 23 lines
--- .../external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb +3
-1@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://share/doc/gcc/GNU-Free-Documentation-License.html;md5 PROVIDES = "virtual/aarch64-none-elf-gcc" -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-${PV}-x86_64-aarch64-none-elf.tar.xz" +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-a/${PV}/binrel/gcc-arm-${PV}-x86_64-${BINNAME}.tar.xz" SRC_URI[sha256sum] = "36d2cbe7c2984f2c20f562ac2f3ba524c59151adfa8ee10f1326c88de337b6d1" + +S = "${WORKDIR}/gcc-arm-${PV}-x86_64-${BINNAME}"Signature · 1 line
2.7.4