From 7ef47d048267cf755c496a3962b34314f6f1f1e1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 25 Apr 2021 23:14:32 -0700 Subject: 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 Cc: Martin Jansa --- recipes-devtools/clang/llvm-project-source.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "" # space separated list of additional distro vendor values we want to support e.g. # "yoe webos" or "-yoe -webos" '-' is optional -CLANG_EXTRA_OE_VENDORS ?= "${TARGET_VENDOR}" +CLANG_EXTRA_OE_VENDORS ?= "${TARGET_VENDOR} ${SDK_VENDOR}" python add_distro_vendor() { import subprocess -- cgit v1.2.3-54-g00ecf