mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +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
|
if ${@bb.utils.contains('PACKAGECONFIG', 'clangd', 'true', 'false', d)}; then
|
||||||
install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clangd-indexer ${D}${bindir}/clangd-indexer
|
install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clangd-indexer ${D}${bindir}/clangd-indexer
|
||||||
fi
|
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
|
for f in `find ${D}${bindir} -executable -type f -not -type l`; do
|
||||||
test -n "`file -b $f|grep -i ELF`" && ${STRIP} $f
|
test -n "`file -b $f|grep -i ELF`" && ${STRIP} $f
|
||||||
done
|
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/cmake
|
||||||
rm -rf ${D}${datadir}/llvm
|
rm -rf ${D}${datadir}/llvm
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user