mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/{clang, llvm}: Move removal of opt-viewer to the correct package
The files are installed by llvm but deleted by clang, this causes a mismatch in the packaging. Remove the files from the correct package. Cc: Daniel Lang <dalang@gmx.at> Cc: Joseph Kogut <joseph.kogut@gmail.com> Cc: Romain Naour <romain.naour@gmail.com> Cc: Valentin Korenblit <valentinkorenblit@gmail.com> Signed-off-by: John Ernberg <j@j-ernberg.se> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
418ee5a2b6
commit
319eeda6fa
@@ -84,7 +84,6 @@ CLANG_FILES_TO_REMOVE = \
|
|||||||
/usr/libexec/c++-analyzer \
|
/usr/libexec/c++-analyzer \
|
||||||
/usr/libexec/ccc-analyzer \
|
/usr/libexec/ccc-analyzer \
|
||||||
/usr/share/clang \
|
/usr/share/clang \
|
||||||
/usr/share/opt-viewer \
|
|
||||||
/usr/share/scan-build \
|
/usr/share/scan-build \
|
||||||
/usr/share/scan-view \
|
/usr/share/scan-view \
|
||||||
/usr/share/man/man1/scan-build.1 \
|
/usr/share/man/man1/scan-build.1 \
|
||||||
|
|||||||
@@ -316,7 +316,9 @@ endif
|
|||||||
|
|
||||||
# By default llvm-tblgen is built and installed on the target but it is
|
# By default llvm-tblgen is built and installed on the target but it is
|
||||||
# not necessary. Also erase LLVMHello.so from /usr/lib
|
# not necessary. Also erase LLVMHello.so from /usr/lib
|
||||||
|
# opt-viewer is not necessary either, remove that too
|
||||||
define LLVM_DELETE_LLVM_TBLGEN_TARGET
|
define LLVM_DELETE_LLVM_TBLGEN_TARGET
|
||||||
|
rm -rf $(TARGET_DIR)/usr/share/opt-viewer
|
||||||
rm -f $(TARGET_DIR)/usr/bin/llvm-tblgen $(TARGET_DIR)/usr/lib/LLVMHello.so
|
rm -f $(TARGET_DIR)/usr/bin/llvm-tblgen $(TARGET_DIR)/usr/lib/LLVMHello.so
|
||||||
endef
|
endef
|
||||||
LLVM_POST_INSTALL_TARGET_HOOKS = LLVM_DELETE_LLVM_TBLGEN_TARGET
|
LLVM_POST_INSTALL_TARGET_HOOKS = LLVM_DELETE_LLVM_TBLGEN_TARGET
|
||||||
|
|||||||
Reference in New Issue
Block a user