mirror of
https://git.yoctoproject.org/poky
synced 2026-04-16 15:32:13 +02:00
clang: no need to install tblgen binaries in nativesdk-clang
These are only needed if cross-compiling clang, and if someone is cross-compiling clang in a SDK they should build their own binaries as these ones might not match the version of clang they're building. (From OE-Core rev: c79837a11ccf0f3e5a8ccab4ffb379cdefe482e8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6863eadeaf
commit
06941b559e
@@ -222,13 +222,11 @@ do_install:append:class-nativesdk () {
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'clangd', 'true', 'false', d)}; then
|
||||
install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clangd-indexer ${D}${bindir}/clangd-indexer
|
||||
fi
|
||||
install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clang-tblgen ${D}${bindir}/clang-tblgen
|
||||
|
||||
for f in `find ${D}${bindir} -executable -type f -not -type l`; do
|
||||
test -n "`file -b $f|grep -i ELF`" && ${STRIP} $f
|
||||
done
|
||||
ln -sf clang-tblgen ${D}${bindir}/clang-tblgen${PV}
|
||||
ln -sf llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
|
||||
ln -sf llvm-config ${D}${bindir}/llvm-config${PV}
|
||||
|
||||
rm -rf ${D}${datadir}/llvm/cmake
|
||||
rm -rf ${D}${datadir}/llvm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user