]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Sat, 6 Feb 2021 06:53:57 +0000 (14:53 +0800)
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: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-core/ncurses/ncurses.inc

index fe4e8a5d6e18d065285ef07718534657e07cf351..ef59bc3b0a03e983467fd492dd131db6cac919c0 100644 (file)
@@ -324,3 +324,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}"