From 659b1a34842f9e0b1e2522a7badab2bd4c20ad82 Mon Sep 17 00:00:00 2001 From: guillaume-pais-siemens <79512275+guillaume-pais-siemens@users.noreply.github.com> Date: Tue, 5 Oct 2021 07:53:45 +0200 Subject: DEPENDS on virtual/${TARGET_PREFIX}binutils ```virtual/${TARGET_PREFIX}binutils``` shall be used and not ```binutils-cross-${TARGET_ARCH}``` In the case of an external arm toolchain, ```binutils-cross-aarch64``` does not exist and creates following error: ``` Missing or unbuildable dependency chain was: ['tisdk-base-image', 'packagegroup-core-standalone-sdk-target', 'libcxx-dev', 'compiler-rt', 'clang-cross-aarch64', 'binutils-cross-aarch64'] ``` Signed-off-by: Guillaume Pais (cherry picked from commit 0304ff4e533698a036b4df7307d0a2af29441414) --- recipes-devtools/clang/clang-cross_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/clang/clang-cross_git.bb b/recipes-devtools/clang/clang-cross_git.bb index fd8ece5..abceb3d 100644 --- a/recipes-devtools/clang/clang-cross_git.bb +++ b/recipes-devtools/clang/clang-cross_git.bb @@ -11,7 +11,7 @@ PN = "clang-cross-${TARGET_ARCH}" require clang.inc require common-source.inc inherit cross -DEPENDS += "clang-native binutils-cross-${TARGET_ARCH}" +DEPENDS += "clang-native virtual/${TARGET_PREFIX}binutils" do_install() { install -d ${D}${bindir} -- cgit v1.2.3-54-g00ecf