diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-04-25 23:14:32 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-04-28 21:16:44 -0700 |
commit | 7ef47d048267cf755c496a3962b34314f6f1f1e1 (patch) | |
tree | 7ee91fa199f4effb78e97129f1998429e0b1a67c /recipes-devtools | |
parent | 9d276740bd10695e628abdbd49bc4cf36afddf60 (diff) | |
download | meta-clang-7ef47d048267cf755c496a3962b34314f6f1f1e1.tar.gz |
clang: Add SDK_VENDOR string to CLANG_EXTRA_OE_VENDORS
This helps in ensuring that SDK elements are built correctly as well,
at present we get right builds for cross/target/native clang but not for
nativesdk since it use SDK_VENDOR string for vendor eg. -yoesdk which
currently is not added to known OE vendors, as a result nativesdk-clang
does not build since crosssdk clang can not find runtime files e.g.
libgcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/clang/llvm-project-source.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/clang/llvm-project-source.inc b/recipes-devtools/clang/llvm-project-source.inc index e4e0671..d7b91e0 100644 --- a/recipes-devtools/clang/llvm-project-source.inc +++ b/recipes-devtools/clang/llvm-project-source.inc | |||
@@ -21,7 +21,7 @@ PACKAGES = "" | |||
21 | 21 | ||
22 | # space separated list of additional distro vendor values we want to support e.g. | 22 | # space separated list of additional distro vendor values we want to support e.g. |
23 | # "yoe webos" or "-yoe -webos" '-' is optional | 23 | # "yoe webos" or "-yoe -webos" '-' is optional |
24 | CLANG_EXTRA_OE_VENDORS ?= "${TARGET_VENDOR}" | 24 | CLANG_EXTRA_OE_VENDORS ?= "${TARGET_VENDOR} ${SDK_VENDOR}" |
25 | 25 | ||
26 | python add_distro_vendor() { | 26 | python add_distro_vendor() { |
27 | import subprocess | 27 | import subprocess |