diff options
author | Kai Kang <kai.kang@windriver.com> | 2023-03-27 19:12:03 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-28 17:29:07 -0700 |
commit | 8bf663a4198f2c003aaa449764c91cd36fe807b8 (patch) | |
tree | 4ea42c72fd66b98eaa686fd5a83901efdd75ae87 | |
parent | 7882d7122c1849ca2dc882a6cb4bc7592bb8752a (diff) | |
download | meta-clang-8bf663a4198f2c003aaa449764c91cd36fe807b8.tar.gz |
compiler-rt: fix installed-vs-shipped qa issue
It fails to run task do_package of compiler-rt with
[installed-vs-shipped] issue when ${libdir} does not equal
${nonarch_libdir}. Update do_install script to fix the issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
-rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 1ac10e7..888be0b 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -89,7 +89,7 @@ do_install:append () { | |||
89 | if [ -n "${LLVM_LIBDIR_SUFFIX}" ]; then | 89 | if [ -n "${LLVM_LIBDIR_SUFFIX}" ]; then |
90 | mkdir -p ${D}${nonarch_libdir}/clang | 90 | mkdir -p ${D}${nonarch_libdir}/clang |
91 | mv ${D}${libdir}/clang/${MAJOR_VER} ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} | 91 | mv ${D}${libdir}/clang/${MAJOR_VER} ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} |
92 | rmdir --ignore-fail-on-non-empty ${D}${libdir} | 92 | rmdir --ignore-fail-on-non-empty ${D}${libdir}/clang ${D}${libdir} |
93 | else | 93 | else |
94 | mv ${D}${libdir}/clang/${MAJOR_VER} ${D}${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} | 94 | mv ${D}${libdir}/clang/${MAJOR_VER} ${D}${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} |
95 | fi | 95 | fi |