aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-27 12:13:28 +0000
committerSteve Sakoman <steve@sakoman.com>2021-01-29 04:42:33 -1000
commit7789eb844a1f0033cec7d7d42f1dd42d571cb6c2 (patch)
tree5006f95bdb2e3af807193403155bf30f1f6ee311
parent8f972c639ef49df132103c0b3f350b91cf1443b9 (diff)
downloadopenembedded-core-contrib-7789eb844a1f0033cec7d7d42f1dd42d571cb6c2.tar.gz
openembedded-core-contrib-7789eb844a1f0033cec7d7d42f1dd42d571cb6c2.tar.bz2
openembedded-core-contrib-7789eb844a1f0033cec7d7d42f1dd42d571cb6c2.zip
ncurses: Don't put terminfo into the sysroot
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>
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 630c5f26d6f..7f1834f0dce 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -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}"