From 4babecabc58ec64a5a12c180165996ea34f9e48a Mon Sep 17 00:00:00 2001 From: Piotr Tworek Date: Fri, 26 Jul 2019 21:47:48 +0200 Subject: clang: Move libclang into its own dedicated package. This library has a few potential consimers (ex, qttools) which don't need whole clang install. Distributions like debian already package lbiclang separately as libclang1. This makes even more sense for embedded systems. Do the same for OE/Yocto. Signed-off-by: Piotr Tworek --- recipes-devtools/clang/clang_git.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 484e85c..a550031 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb @@ -179,7 +179,7 @@ do_install_append_class-nativesdk () { PACKAGE_DEBUG_SPLIT_STYLE_class-nativesdk = "debug-without-src" -PACKAGES =+ "${PN}-libllvm" +PACKAGES =+ "${PN}-libllvm libclang" BBCLASSEXTEND = "native nativesdk" @@ -198,6 +198,10 @@ FILES_${PN}-libllvm += "\ ${libdir}/libLLVM-${MAJOR_VER}.${MINOR_VER}svn.so \ " +FILES_libclang = "\ + ${libdir}/libclang.so.${MAJOR_VER} \ +" + FILES_${PN}-dev += "\ ${datadir}/llvm/cmake \ ${libdir}/cmake \ -- cgit v1.2.3-54-g00ecf