diff options
author | Etienne Cordonnier <ecordonnier@snap.com> | 2023-05-10 16:16:38 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-10 08:16:38 -0700 |
commit | a52e46d69a76ec8ab400cdae5409425eef4f5569 (patch) | |
tree | f8a9f7b9f4a41d6d15e522ad52b3a7a0a22ed4c8 | |
parent | e7b3acb82f4c4422e57884ad9427fba6bd020e8b (diff) | |
download | meta-clang-a52e46d69a76ec8ab400cdae5409425eef4f5569.tar.gz |
rename add_more_target_vendors to add_distro_vendor
The function was renamed in 9d190cb3b3
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
3 files changed, 5 insertions, 5 deletions
@@ -172,15 +172,15 @@ CXX:remove:pn-<recipe>:toolchain-clang = " -stdlib=libc++ " | |||
172 | 172 | ||
173 | # compiler-rt failing in do_configure with custom TARGET_VENDOR | 173 | # compiler-rt failing in do_configure with custom TARGET_VENDOR |
174 | 174 | ||
175 | If your DISTRO sets own value of TARGET_VENDOR, then it's need to be added in | 175 | If your DISTRO sets its own value of TARGET_VENDOR, then it needs to be added in |
176 | CLANG_EXTRA_OE_VENDORS, it should be done automatically, but if compiler-rt fails | 176 | CLANG_EXTRA_OE_VENDORS, it should be done automatically, but if compiler-rt fails |
177 | like bellow, then check the end of work-shared/llvm-project-source-12.0.0-r0/temp/log.do_patch | 177 | like bellow, then check the end of work-shared/llvm-project-source-12.0.0-r0/temp/log.do_patch |
178 | is should have line like: | 178 | it should have a line like: |
179 | NOTE: Adding support following TARGET_VENDOR values: foo in | 179 | NOTE: Adding support following TARGET_VENDOR values: foo in |
180 | /OE/build/oe-core/tmp-glibc/work-shared/llvm-project-source-12.0.0-r0/git/llvm/lib/Support/Triple.cpp and | 180 | /OE/build/oe-core/tmp-glibc/work-shared/llvm-project-source-12.0.0-r0/git/llvm/lib/Support/Triple.cpp and |
181 | /OE/build/oe-core/tmp-glibc/work-shared/llvm-project-source-12.0.0-r0/git/clang/lib/Driver/ToolChains/Gnu.cpp | 181 | /OE/build/oe-core/tmp-glibc/work-shared/llvm-project-source-12.0.0-r0/git/clang/lib/Driver/ToolChains/Gnu.cpp |
182 | and check these files if //CLANG_EXTRA_OE_VENDORS* strings were replaced correctly. | 182 | and check these files if //CLANG_EXTRA_OE_VENDORS* strings were replaced correctly. |
183 | Read add_more_target_vendors function in recipes-devtools/clang/llvm-project-source.inc for more details. | 183 | Read add_distro_vendor function in recipes-devtools/clang/llvm-project-source.inc for more details. |
184 | 184 | ||
185 | http://errors.yoctoproject.org/Errors/Details/574365/ | 185 | http://errors.yoctoproject.org/Errors/Details/574365/ |
186 | ```shell | 186 | ```shell |
diff --git a/recipes-devtools/clang/clang/0019-For-x86_64-set-Yocto-based-GCC-install-search-path.patch b/recipes-devtools/clang/clang/0019-For-x86_64-set-Yocto-based-GCC-install-search-path.patch index 1da6686..11cdec3 100644 --- a/recipes-devtools/clang/clang/0019-For-x86_64-set-Yocto-based-GCC-install-search-path.patch +++ b/recipes-devtools/clang/clang/0019-For-x86_64-set-Yocto-based-GCC-install-search-path.patch | |||
@@ -45,7 +45,7 @@ is different between clang and clang-native | |||
45 | 45 | ||
46 | The //CLANG_EXTRA_OE_VENDORS_TRIPLES string is replaced with list of | 46 | The //CLANG_EXTRA_OE_VENDORS_TRIPLES string is replaced with list of |
47 | additional triples based on CLANG_EXTRA_OE_VENDORS variable in | 47 | additional triples based on CLANG_EXTRA_OE_VENDORS variable in |
48 | recipes-devtools/clang/llvm-project-source.inc:add_more_target_vendors() | 48 | recipes-devtools/clang/llvm-project-source.inc:add_distro_vendor() |
49 | 49 | ||
50 | Upstream-Status: Inappropriate [oe specific] | 50 | Upstream-Status: Inappropriate [oe specific] |
51 | 51 | ||
diff --git a/recipes-devtools/clang/clang/0021-llvm-Insert-anchor-for-adding-OE-distro-vendor-names.patch b/recipes-devtools/clang/clang/0021-llvm-Insert-anchor-for-adding-OE-distro-vendor-names.patch index 7a1f0e4..f3d728f 100644 --- a/recipes-devtools/clang/clang/0021-llvm-Insert-anchor-for-adding-OE-distro-vendor-names.patch +++ b/recipes-devtools/clang/clang/0021-llvm-Insert-anchor-for-adding-OE-distro-vendor-names.patch | |||
@@ -7,7 +7,7 @@ This helps in making right detection for OE built gcc toolchains | |||
7 | 7 | ||
8 | The //CLANG_EXTRA_OE_VENDORS_CASES string is replaced with list of | 8 | The //CLANG_EXTRA_OE_VENDORS_CASES string is replaced with list of |
9 | additional Ceses based on CLANG_EXTRA_OE_VENDORS variable in | 9 | additional Ceses based on CLANG_EXTRA_OE_VENDORS variable in |
10 | recipes-devtools/clang/llvm-project-source.inc:add_more_target_vendors() | 10 | recipes-devtools/clang/llvm-project-source.inc:add_distro_vendor() |
11 | 11 | ||
12 | Upstream-Status: Inappropriate [OE-specific] | 12 | Upstream-Status: Inappropriate [OE-specific] |
13 | 13 | ||