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-26 11:10:41 -0700 | 
| commit | 402ae7a9ce9568576ea83bcff9073f84d5322894 (patch) | |
| tree | 7d938d097471cc1d76a6996c14a67185a0506727 /recipes-devtools/clang/llvm-project-source.inc | |
| parent | 2c2724da06dd71e1f1d25d5894f88d36cfb26ee0 (diff) | |
| download | meta-clang-402ae7a9ce9568576ea83bcff9073f84d5322894.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/clang/llvm-project-source.inc')
| -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 | 
