Signed-off-by: Markus Volk <f_...@t-online.de> --- meta/recipes-devtools/llvm/llvm_git.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 0d7b042958..3c560dfcfe 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -112,10 +112,6 @@ do_install() { # llvm harcodes usr/lib as install path, so this corrects it to actual libdir mv -T -n ${D}/${prefix}/lib ${D}/${libdir} || true - # Remove opt-viewer: https://llvm.org/docs/Remarks.html - rm -rf ${D}${datadir}/opt-viewer - rmdir ${D}${datadir} - # reproducibility sed -i -e 's,${WORKDIR},,g' ${D}/${libdir}/cmake/llvm/LLVMConfig.cmake } @@ -125,7 +121,7 @@ do_install:class-native() { install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV} } -PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-liblto" +PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-optviewer ${PN}-liblto" RRECOMMENDS:${PN}-dev += "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liboptremarks" @@ -149,6 +145,10 @@ FILES:${PN}-llvmhello = "\ ${libdir}/LLVMHello.so \ " +FILES:${PN}-optviewer += "\ + ${datadir}/opt-viewer \ +" + FILES:${PN}-dev += " \ ${libdir}/llvm-config \ ${libdir}/libRemarks.so \ -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#167266): https://lists.openembedded.org/g/openembedded-core/message/167266 Mute This Topic: https://lists.openembedded.org/mt/91939813/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-