From 63aac1dd1bdd792b57a07aabbd123fa4626f141e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 30 Mar 2023 00:40:21 -0700 Subject: clang: Move clang-cl from clang-tools -> clang package clang-cl is a symlink to clang, if we package it into clang-tools then it created an automatic dependency on the package providing clang binary which is clang in this case. So when someone wants to install just clang-tools, it will drag the compiler along as well, which may not be desired, this fixes the problem. Fixes https://github.com/kraj/meta-clang/issues/676 Signed-off-by: Khem Raj --- recipes-devtools/clang/clang_git.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'recipes-devtools/clang/clang_git.bb') diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 7098ddc..3ff48ec 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb @@ -303,7 +303,6 @@ FILES:${PN}-tools = "${bindir}/analyze-build \ ${bindir}/clang-apply-replacements \ ${bindir}/clang-change-namespace \ ${bindir}/clang-check \ - ${bindir}/clang-cl \ ${bindir}/clang-doc \ ${bindir}/clang-extdef-mapping \ ${bindir}/clang-include-fixer \ @@ -346,15 +345,12 @@ FILES:${PN}-tools = "${bindir}/analyze-build \ " FILES:${PN} += "\ + ${bindir}/clang-cl \ ${libdir}/BugpointPasses.so \ ${libdir}/LLVMHello.so \ - ${libdir}/LLVMgold.so \ ${libdir}/*Plugin.so \ ${libdir}/${BPN} \ ${nonarch_libdir}/${BPN}/*/include/ \ - ${datadir}/scan-* \ - ${nonarch_libdir}/libscanbuild \ - ${datadir}/opt-viewer/ \ " FILES:lldb = "\ -- cgit v1.2.3-54-g00ecf