diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-05-13 08:32:00 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-06 22:08:11 -0700 |
commit | 025f826bdd3f15d61fc77d4c66a435f993e4e69d (patch) | |
tree | f09f5f7061d28a4cf25148d0d218ed06706027c4 | |
parent | feb39f125e3bc9e95cf2fc8fadbae663c15ce05b (diff) | |
download | meta-clang-025f826bdd3f15d61fc77d4c66a435f993e4e69d.tar.gz |
clang-legacy: Do not use toolchain-clang override for native/nativesdk
clang.bbclass in oe-core will define toolchain-gcc for nativesdk
and thats perhaps better, ideally we should depend on llvm runtime
unconditionally, so a package can use either llvm or gcc runtimes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | classes/clang-legacy.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/clang-legacy.bbclass b/classes/clang-legacy.bbclass index 450500d..3c4baf2 100644 --- a/classes/clang-legacy.bbclass +++ b/classes/clang-legacy.bbclass | |||
@@ -139,8 +139,8 @@ def clang_base_deps(d): | |||
139 | return "" | 139 | return "" |
140 | 140 | ||
141 | BASE_DEFAULT_DEPS:append:class-target:toolchain-clang:class-target = " ${@clang_base_deps(d)}" | 141 | BASE_DEFAULT_DEPS:append:class-target:toolchain-clang:class-target = " ${@clang_base_deps(d)}" |
142 | BASE_DEFAULT_DEPS:append:class-native:toolchain-clang:runtime-llvm = " libcxx-native compiler-rt-native" | 142 | BASE_DEFAULT_DEPS:append:class-native:runtime-llvm = " libcxx-native compiler-rt-native" |
143 | BASE_DEFAULT_DEPS:append:class-nativesdk:toolchain-clang:runtime-llvm = " clang-native nativesdk-libcxx nativesdk-compiler-rt" | 143 | BASE_DEFAULT_DEPS:append:class-nativesdk:runtime-llvm = " clang-native nativesdk-libcxx nativesdk-compiler-rt" |
144 | 144 | ||
145 | # do_populate_sysroot needs STRIP | 145 | # do_populate_sysroot needs STRIP |
146 | POPULATESYSROOTDEPS:toolchain-clang:class-target = "${MLPREFIX}clang-cross-${TARGET_ARCH}:do_populate_sysroot" | 146 | POPULATESYSROOTDEPS:toolchain-clang:class-target = "${MLPREFIX}clang-cross-${TARGET_ARCH}:do_populate_sysroot" |