diff options
author | Ariel D'Alessandro <ariel.dalessandro@collabora.com> | 2025-07-22 10:09:07 -0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-22 13:26:26 -0700 |
commit | 76596813cd0061bd9818a80926e6900af61fcaa0 (patch) | |
tree | 02e8f1efd2fc5207724607193191d369e250fdba | |
parent | 65da70e6ba202b7582b2a3d0cb1fdfa54c9fd55d (diff) | |
download | meta-clang-scarthgap-clang20.tar.gz |
Revert "recipes: Update to match OE-Core virtual/cross-* changes"scarthgap-clang20
This reverts commit 0ea2df0462edc0c01e787b6ee6c0e20cd6a42fc7.
[Backport: match OE-Core machanism in scarthgap]
Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-rw-r--r-- | classes/clang.bbclass | 2 | ||||
-rw-r--r-- | conf/layer.conf | 2 | ||||
-rw-r--r-- | recipes-core/musl/musl_%.bbappend | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/clang-cross-canadian_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/clang-cross_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/clang-crosssdk_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/clang_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt-sanitizers_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass index 0671ef6..f9057eb 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass | |||
@@ -133,7 +133,7 @@ def clang_base_deps(d): | |||
133 | elif (d.getVar('LIBCPLUSPLUS').find('-stdlib=libc++') != -1): | 133 | elif (d.getVar('LIBCPLUSPLUS').find('-stdlib=libc++') != -1): |
134 | ret += " libcxx " | 134 | ret += " libcxx " |
135 | else: | 135 | else: |
136 | ret += " virtual/${MLPREFIX}compilerlibs " | 136 | ret += " virtual/${TARGET_PREFIX}compilerlibs " |
137 | return ret | 137 | return ret |
138 | return "" | 138 | return "" |
139 | 139 | ||
diff --git a/conf/layer.conf b/conf/layer.conf index eea26f1..5dcc679 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -26,7 +26,7 @@ BBFILES_DYNAMIC += " \ | |||
26 | " | 26 | " |
27 | 27 | ||
28 | PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial" | 28 | PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial" |
29 | #PREFERRED_PROVIDER_virtual/${MLPREFIX}compilerlibs:forcevariable = "libcxx" | 29 | #PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx" |
30 | PREFERRED_PROVIDER_libunwind = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "llvm android", "libcxx", "libunwind", d)}" | 30 | PREFERRED_PROVIDER_libunwind = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "llvm android", "libcxx", "libunwind", d)}" |
31 | INHERIT += "clang" | 31 | INHERIT += "clang" |
32 | 32 | ||
diff --git a/recipes-core/musl/musl_%.bbappend b/recipes-core/musl/musl_%.bbappend index 0315be3..5140968 100644 --- a/recipes-core/musl/musl_%.bbappend +++ b/recipes-core/musl/musl_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" | 1 | DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" |
2 | DEPENDS:remove:toolchain-clang = "virtual/cross-cc" | 2 | DEPENDS:remove:toolchain-clang = "virtual/${TARGET_PREFIX}gcc" |
3 | TOOLCHAIN:x86-x32 = "gcc" | 3 | TOOLCHAIN:x86-x32 = "gcc" |
4 | 4 | ||
5 | # crashes seen in malloc@plt | 5 | # crashes seen in malloc@plt |
diff --git a/recipes-devtools/clang/clang-cross-canadian_git.bb b/recipes-devtools/clang/clang-cross-canadian_git.bb index 81935b2..f327a12 100644 --- a/recipes-devtools/clang/clang-cross-canadian_git.bb +++ b/recipes-devtools/clang/clang-cross-canadian_git.bb | |||
@@ -12,7 +12,7 @@ require clang.inc | |||
12 | require common-source.inc | 12 | require common-source.inc |
13 | inherit cross-canadian | 13 | inherit cross-canadian |
14 | 14 | ||
15 | DEPENDS += "nativesdk-clang binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} virtual/nativesdk-cross-binutils virtual/nativesdk-libc" | 15 | DEPENDS += "nativesdk-clang binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc" |
16 | # We have to point gcc at a sysroot but we don't need to rebuild if this changes | 16 | # We have to point gcc at a sysroot but we don't need to rebuild if this changes |
17 | # e.g. we switch between different machines with different tunes. | 17 | # e.g. we switch between different machines with different tunes. |
18 | EXTRA_OECONF_PATHS[vardepsexclude] = "TUNE_PKGARCH" | 18 | EXTRA_OECONF_PATHS[vardepsexclude] = "TUNE_PKGARCH" |
diff --git a/recipes-devtools/clang/clang-cross_git.bb b/recipes-devtools/clang/clang-cross_git.bb index 505f3b1..25c5d4e 100644 --- a/recipes-devtools/clang/clang-cross_git.bb +++ b/recipes-devtools/clang/clang-cross_git.bb | |||
@@ -11,7 +11,7 @@ PN = "clang-cross-${TARGET_ARCH}" | |||
11 | require clang.inc | 11 | require clang.inc |
12 | require common-source.inc | 12 | require common-source.inc |
13 | inherit cross | 13 | inherit cross |
14 | DEPENDS += "clang-native virtual/cross-binutils" | 14 | DEPENDS += "clang-native virtual/${TARGET_PREFIX}binutils" |
15 | 15 | ||
16 | #INHIBIT_PACKAGE_STRIP = "1" | 16 | #INHIBIT_PACKAGE_STRIP = "1" |
17 | INHIBIT_SYSROOT_STRIP = "1" | 17 | INHIBIT_SYSROOT_STRIP = "1" |
diff --git a/recipes-devtools/clang/clang-crosssdk_git.bb b/recipes-devtools/clang/clang-crosssdk_git.bb index c5e2867..913c49a 100644 --- a/recipes-devtools/clang/clang-crosssdk_git.bb +++ b/recipes-devtools/clang/clang-crosssdk_git.bb | |||
@@ -11,7 +11,7 @@ PN = "clang-crosssdk-${SDK_SYS}" | |||
11 | require clang.inc | 11 | require clang.inc |
12 | require common-source.inc | 12 | require common-source.inc |
13 | inherit crosssdk | 13 | inherit crosssdk |
14 | DEPENDS += "clang-native nativesdk-clang-glue virtual/nativesdk-cross-binutils virtual/nativesdk-libc" | 14 | DEPENDS += "clang-native nativesdk-clang-glue virtual/${TARGET_PREFIX}binutils virtual/nativesdk-libc" |
15 | 15 | ||
16 | do_install() { | 16 | do_install() { |
17 | install -d ${D}${bindir} | 17 | install -d ${D}${bindir} |
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 40e32c7..dfa6e81 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb | |||
@@ -208,7 +208,7 @@ EXTRA_OECMAKE:append:class-target = "\ | |||
208 | " | 208 | " |
209 | 209 | ||
210 | DEPENDS = "binutils zlib zstd libffi libxml2 libxml2-native ninja-native swig-native" | 210 | DEPENDS = "binutils zlib zstd libffi libxml2 libxml2-native ninja-native swig-native" |
211 | DEPENDS:append:class-nativesdk = " clang-crosssdk-${SDK_SYS} virtual/nativesdk-cross-binutils nativesdk-python3" | 211 | DEPENDS:append:class-nativesdk = " clang-crosssdk-${SDK_SYS} virtual/${TARGET_PREFIX}binutils nativesdk-python3" |
212 | DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} python3 compiler-rt libcxx" | 212 | DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} python3 compiler-rt libcxx" |
213 | 213 | ||
214 | RRECOMMENDS:${PN} = "binutils" | 214 | RRECOMMENDS:${PN} = "binutils" |
diff --git a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb index e9b6a9e..bdd7fea 100644 --- a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb +++ b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb | |||
@@ -107,7 +107,7 @@ INSANE_SKIP:${PN} = "dev-so libdir" | |||
107 | INSANE_SKIP:${PN}-dbg = "libdir" | 107 | INSANE_SKIP:${PN}-dbg = "libdir" |
108 | 108 | ||
109 | #PROVIDES:append:class-target = "\ | 109 | #PROVIDES:append:class-target = "\ |
110 | # virtual/${MLPREFIX}compilerlibs \ | 110 | # virtual/${TARGET_PREFIX}compilerlibs \ |
111 | # libgcc \ | 111 | # libgcc \ |
112 | # libgcc-initial \ | 112 | # libgcc-initial \ |
113 | # libgcc-dev \ | 113 | # libgcc-dev \ |
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 06b42da..1b65cd3 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -114,7 +114,7 @@ INSANE_SKIP:${PN} = "dev-so libdir" | |||
114 | INSANE_SKIP:${PN}-dbg = "libdir" | 114 | INSANE_SKIP:${PN}-dbg = "libdir" |
115 | 115 | ||
116 | #PROVIDES:append:class-target = "\ | 116 | #PROVIDES:append:class-target = "\ |
117 | # virtual/${MLPREFIX}compilerlibs \ | 117 | # virtual/${TARGET_PREFIX}compilerlibs \ |
118 | # libgcc \ | 118 | # libgcc \ |
119 | # libgcc-initial \ | 119 | # libgcc-initial \ |
120 | # libgcc-dev \ | 120 | # libgcc-dev \ |
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 85c467c..401ff32 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -22,7 +22,7 @@ PACKAGECONFIG[compiler-rt] = "-DLIBCXX_USE_COMPILER_RT=ON -DLIBCXXABI_USE_COMPIL | |||
22 | PACKAGECONFIG[unwind-shared] = "-DLIBUNWIND_ENABLE_SHARED=ON,-DLIBUNWIND_ENABLE_SHARED=OFF,," | 22 | PACKAGECONFIG[unwind-shared] = "-DLIBUNWIND_ENABLE_SHARED=ON,-DLIBUNWIND_ENABLE_SHARED=OFF,," |
23 | 23 | ||
24 | DEPENDS += "ninja-native" | 24 | DEPENDS += "ninja-native" |
25 | DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} virtual/${MLPREFIX}libc virtual/${MLPREFIX}compilerlibs" | 25 | DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} virtual/${MLPREFIX}libc virtual/${TARGET_PREFIX}compilerlibs" |
26 | DEPENDS:append:class-nativesdk = " clang-crosssdk-${SDK_SYS} nativesdk-compiler-rt" | 26 | DEPENDS:append:class-nativesdk = " clang-crosssdk-${SDK_SYS} nativesdk-compiler-rt" |
27 | DEPENDS:append:class-native = " clang-native compiler-rt-native" | 27 | DEPENDS:append:class-native = " clang-native compiler-rt-native" |
28 | 28 | ||