diff options
Diffstat (limited to 'recipes-devtools/clang/llvm-project-source.inc')
-rw-r--r-- | recipes-devtools/clang/llvm-project-source.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-devtools/clang/llvm-project-source.inc b/recipes-devtools/clang/llvm-project-source.inc index a840030..4afd1bb 100644 --- a/recipes-devtools/clang/llvm-project-source.inc +++ b/recipes-devtools/clang/llvm-project-source.inc | |||
@@ -26,13 +26,14 @@ CLANG_EXTRA_OE_VENDORS ?= "${TARGET_VENDOR} ${SDK_VENDOR}" | |||
26 | # ":" separated the ID in "/etc/os-release" and the triple for finding gcc on this OE DISTRO. | 26 | # ":" separated the ID in "/etc/os-release" and the triple for finding gcc on this OE DISTRO. |
27 | # eg: "poky:poky wrlinux:wrs" | 27 | # eg: "poky:poky wrlinux:wrs" |
28 | CLANG_EXTRA_OE_DISTRO ?= "poky:poky" | 28 | CLANG_EXTRA_OE_DISTRO ?= "poky:poky" |
29 | 29 | # Match with MULTILIB_GLOBAL_VARIANTS | |
30 | MULTILIB_VARIANTS = "lib32 lib64 libx32" | ||
30 | python add_distro_vendor() { | 31 | python add_distro_vendor() { |
31 | import subprocess | 32 | import subprocess |
32 | case = "" | 33 | case = "" |
33 | triple = "" | 34 | triple = "" |
34 | vendors = d.getVar('CLANG_EXTRA_OE_VENDORS') | 35 | vendors = d.getVar('CLANG_EXTRA_OE_VENDORS') |
35 | multilib_variants = (d.getVar("MULTILIB_GLOBAL_VARIANTS") or "").split() | 36 | multilib_variants = (d.getVar("MULTILIB_VARIANTS") or "").split() |
36 | vendors_to_add = [] | 37 | vendors_to_add = [] |
37 | for vendor in vendors.split(): | 38 | for vendor in vendors.split(): |
38 | # convert -yoe into yoe | 39 | # convert -yoe into yoe |