From b89024f733eeeaf919cc8595755e3009b9e4b136 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 30 Jul 2022 08:22:38 -0700 Subject: clang: Populate cmake needed binaries in sysroot Some of cmake checks in packages depending upon clang check for presense of these tools during build, therefore populate them into sysroot Signed-off-by: Khem Raj --- recipes-devtools/clang/clang_git.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (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 69c1e22..2eb9d97 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb @@ -351,5 +351,12 @@ clang_sysroot_preprocess() { ln -sf llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV} # LLDTargets.cmake references the lld executable(!) that some modules/plugins link to install -d ${SYSROOT_DESTDIR}${bindir} - install -m 755 ${D}${bindir}/lld ${SYSROOT_DESTDIR}${bindir}/ + for f in lld diagtool clang-${MAJOR_VER} clang-format clang-offload-packager \ + clang-offload-bundler clang-offload-wrapper clang-scan-deps clang-repl \ + clang-rename clang-refactor clang-check clang-extdef-mapping clang-apply-replacements \ + clang-reorder-fields clang-tidy clang-change-namespace clang-doc clang-include-fixer \ + find-all-symbols clang-move clang-query pp-trace clang-pseudo clangd modularize + do + install -m 755 ${D}${bindir}/$f ${SYSROOT_DESTDIR}${bindir}/ + done } -- cgit v1.2.3-54-g00ecf