diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2025-02-24 14:13:08 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-02-24 19:41:37 -0800 |
commit | 3669c28e90ad710e38ad2381ef0292d706fa9ffd (patch) | |
tree | 058c3fcefea15e74241bdf6dbf8062ad3ffec6c1 /recipes-devtools/clang/libcxx_git.bb | |
parent | 93dec321980091b8abfa1f7d72c50b844c63167c (diff) | |
download | meta-clang-3669c28e90ad710e38ad2381ef0292d706fa9ffd.tar.gz |
clang: set BPN = "clang" for clang cross,crosssdk,cross-canadian recipes
Similar gcc recipes in oe-core [1], set BPN = "clang" in common.inc for
clang cross,crosssdk,cross-canadian recipes, but the recipe compiler-rt-sanitizers,
compiler-rt, libclc, libcxx, openmp which shares sources with clang are not affected
Due to commit [2], the BPN of llvm-project-source is not affected by this
commit
[1] https://github.com/openembedded/openembedded-core/commit/a2c5509520d5c3e082f55844e6545d0309565f8f
[2] https://github.com/kraj/meta-clang/commit/e7517e1910a7d49abb4782fa0778f0b958f7717d
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'recipes-devtools/clang/libcxx_git.bb')
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 816d037..85c467c 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -10,6 +10,8 @@ require common-source.inc | |||
10 | 10 | ||
11 | inherit cmake cmake-native python3native | 11 | inherit cmake cmake-native python3native |
12 | 12 | ||
13 | BPN = "libcxx" | ||
14 | |||
13 | PACKAGECONFIG ??= "compiler-rt exceptions ${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "unwind unwind-shared", "", d)}" | 15 | PACKAGECONFIG ??= "compiler-rt exceptions ${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "unwind unwind-shared", "", d)}" |
14 | PACKAGECONFIG:append:armv5 = " no-atomics" | 16 | PACKAGECONFIG:append:armv5 = " no-atomics" |
15 | PACKAGECONFIG:remove:class-native = "compiler-rt" | 17 | PACKAGECONFIG:remove:class-native = "compiler-rt" |