diff options
author | guillaume-pais-siemens <79512275+guillaume-pais-siemens@users.noreply.github.com> | 2021-10-05 07:53:45 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-08 09:08:54 -0700 |
commit | 659b1a34842f9e0b1e2522a7badab2bd4c20ad82 (patch) | |
tree | 1d14535e81215089421243ef934569b9457cc3f4 | |
parent | 4ae5e53d7a2dfeb8275672aa35e2bdc10fb36c2c (diff) | |
download | meta-clang-659b1a34842f9e0b1e2522a7badab2bd4c20ad82.tar.gz |
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 <guillaume.pais@siemens.com>
(cherry picked from commit 0304ff4e533698a036b4df7307d0a2af29441414)
-rw-r--r-- | recipes-devtools/clang/clang-cross_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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}" | |||
11 | require clang.inc | 11 | require clang.inc |
12 | require common-source.inc | 12 | require common-source.inc |
13 | inherit cross | 13 | inherit cross |
14 | DEPENDS += "clang-native binutils-cross-${TARGET_ARCH}" | 14 | DEPENDS += "clang-native virtual/${TARGET_PREFIX}binutils" |
15 | 15 | ||
16 | do_install() { | 16 | do_install() { |
17 | install -d ${D}${bindir} | 17 | install -d ${D}${bindir} |