]> code.ossystems Code Review - openembedded-core.git/commitdiff
ncurses: Don't put terminfo into the sysroot
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jan 2021 12:13:28 +0000 (12:13 +0000)
committerSteve Sakoman <steve@sakoman.com>
Fri, 29 Jan 2021 14:42:33 +0000 (04:42 -1000)
This recudes the file count from ~2850 to ~100 which is a huge win
for reducing build directory clutter, its unlikely anything uses the
terminfo data or man pages in the sysroot. This is especially helpful
as we usually end up with two copies of these sets of files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 443633dfc20177ef88a388d96745675817510c99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/ncurses/ncurses.inc

index 630c5f26d6f65794ad43c5a91e8b4a0c6d2b041b..7f1834f0dce5896e356d592a4870b0cce104077f 100644 (file)
@@ -319,3 +319,8 @@ FILES_${PN}-terminfo-base = "\
 
 RSUGGESTS_${PN}-libtinfo = "${PN}-terminfo"
 RRECOMMENDS_${PN}-libtinfo = "${PN}-terminfo-base"
+
+# Putting terminfo into the sysroot adds around 2800 files to
+# each recipe specific sysroot. We can live without this, particularly
+# as many recipes may have native and target copies.
+SYSROOT_DIRS_remove = "${datadir}"