diff mbox series

[2/3] llvm: also install llvm-min-tblgen

Message ID 20250416155929.2630778-2-dmitry.baryshkov@oss.qualcomm.com
State Accepted, archived
Commit b4acbadc16733c29024694ba0e5c0987dc7b459c
Headers show
Series [1/3] llvm: import build fix from meta-clang | expand

Commit Message

Dmitry Baryshkov April 16, 2025, 3:59 p.m. UTC
Some projects are picky and want to hanve llvm-min-tblgen in addition to
a normal llvm-tblgen. Install the tool to the sysroot.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 meta/recipes-devtools/llvm/llvm_20.1.2.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/llvm/llvm_20.1.2.bb b/meta/recipes-devtools/llvm/llvm_20.1.2.bb
index 4b24d28364cd..98855fa4c14d 100644
--- a/meta/recipes-devtools/llvm/llvm_20.1.2.bb
+++ b/meta/recipes-devtools/llvm/llvm_20.1.2.bb
@@ -159,6 +159,7 @@  do_install() {
 
 do_install:append:class-native() {
 	install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
+	install -D -m 0755 ${B}/bin/llvm-min-tblgen ${D}${bindir}/llvm-min-tblgen
 	install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV}
 	ln -sf llvm-config${PV} ${D}${bindir}/llvm-config