From d9471e4ced0cc86f92397e63928e51c54223c0ef Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 4 Dec 2020 15:28:58 +0000 Subject: [PATCH] arm-toolchain/recipes-devtools: move compatible host assignments Some of the toolchains are available in more than just x86-64, so move the COMPATIBLE_HOST assignment out of the include and into the recipes. Change-Id: I10977593935bc7dc50196132d43541aed585cc18 Signed-off-by: Ross Burton Reviewed-by: Sumit Garg Signed-off-by: Jon Mason --- .../external-arm-toolchain/arm-binary-toolchain.inc | 2 -- .../recipes-devtools/external-arm-toolchain/armcompiler_6.13.bb | 2 ++ .../external-arm-toolchain/gcc-aarch64-none-elf_9.2-2019.12.bb | 2 ++ .../external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc index d262e399..d099481d 100644 --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc @@ -1,5 +1,3 @@ -COMPATIBLE_HOST = "x86_64.*-linux" - FILES_${PN} = "${datadir} ${bindir}" BINNAME = "${@d.getVar("BPN").strip("gcc-")}" diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/armcompiler_6.13.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/armcompiler_6.13.bb index 7a7673bd..8fbb8d0d 100644 --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/armcompiler_6.13.bb +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/armcompiler_6.13.bb @@ -26,6 +26,8 @@ PROVIDES = "virtual/armcompiler" ARMCLANG_VERSION = "DS500-BN-00026-r5p0-15rel0" +COMPATIBLE_HOST = "x86_64.*-linux" + SRC_URI = "https://developer.arm.com/-/media/Files/downloads/compiler/${ARMCLANG_VERSION}.tgz;subdir=${ARMCLANG_VERSION}" SRC_URI[md5sum] = "fbed6edf5eb211c45df7b8548a10535a" 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 f156143a..5de0f965 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 @@ -3,6 +3,8 @@ require arm-binary-toolchain.inc +COMPATIBLE_HOST = "x86_64.*-linux" + SUMMARY = "Baremetal GCC for Aarch64 processors" LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb index 77e44ced..dcc76a93 100644 --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb @@ -3,6 +3,8 @@ require arm-binary-toolchain.inc +COMPATIBLE_HOST = "x86_64.*-linux" + SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors" LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"