From d5bc2633f2c203aebf372fc80f7cb87d7621bed9 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Fri, 5 Jun 2020 18:57:09 -0400 Subject: [PATCH] gcc-aarch64-none-elf: properly set ${S} that is different from default Also use ${BINNAME} and ${PV} variables for automatic substitution. Signed-off-by: Denys Dmytriyenko Signed-off-by: Jon Mason --- .../gcc-aarch64-none-elf_9.2-2019.12.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb index 1e4689c1..91daf087 100644 --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb @@ -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}"