From a52e46d69a76ec8ab400cdae5409425eef4f5569 Mon Sep 17 00:00:00 2001 From: Etienne Cordonnier Date: Wed, 10 May 2023 16:16:38 +0200 Subject: rename add_more_target_vendors to add_distro_vendor The function was renamed in 9d190cb3b3 Signed-off-by: Etienne Cordonnier --- README.md | 6 +++--- .../0019-For-x86_64-set-Yocto-based-GCC-install-search-path.patch | 2 +- .../0021-llvm-Insert-anchor-for-adding-OE-distro-vendor-names.patch | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 619b2f3..ca2984a 100644 --- a/README.md +++ b/README.md @@ -172,15 +172,15 @@ CXX:remove:pn-:toolchain-clang = " -stdlib=libc++ " # compiler-rt failing in do_configure with custom TARGET_VENDOR -If your DISTRO sets own value of TARGET_VENDOR, then it's need to be added in +If your DISTRO sets its own value of TARGET_VENDOR, then it needs to be added in CLANG_EXTRA_OE_VENDORS, it should be done automatically, but if compiler-rt fails like bellow, then check the end of work-shared/llvm-project-source-12.0.0-r0/temp/log.do_patch -is should have line like: +it should have a line like: NOTE: Adding support following TARGET_VENDOR values: foo in /OE/build/oe-core/tmp-glibc/work-shared/llvm-project-source-12.0.0-r0/git/llvm/lib/Support/Triple.cpp and /OE/build/oe-core/tmp-glibc/work-shared/llvm-project-source-12.0.0-r0/git/clang/lib/Driver/ToolChains/Gnu.cpp and check these files if //CLANG_EXTRA_OE_VENDORS* strings were replaced correctly. -Read add_more_target_vendors function in recipes-devtools/clang/llvm-project-source.inc for more details. +Read add_distro_vendor function in recipes-devtools/clang/llvm-project-source.inc for more details. http://errors.yoctoproject.org/Errors/Details/574365/ ```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 The //CLANG_EXTRA_OE_VENDORS_TRIPLES string is replaced with list of additional triples based on CLANG_EXTRA_OE_VENDORS variable in -recipes-devtools/clang/llvm-project-source.inc:add_more_target_vendors() +recipes-devtools/clang/llvm-project-source.inc:add_distro_vendor() Upstream-Status: Inappropriate [oe specific] 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 The //CLANG_EXTRA_OE_VENDORS_CASES string is replaced with list of additional Ceses based on CLANG_EXTRA_OE_VENDORS variable in -recipes-devtools/clang/llvm-project-source.inc:add_more_target_vendors() +recipes-devtools/clang/llvm-project-source.inc:add_distro_vendor() Upstream-Status: Inappropriate [OE-specific] -- cgit v1.2.3-54-g00ecf