From e9217245ee03b3477b9eda36984aac96c70be079 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 27 Jan 2021 12:13:28 +0000 Subject: 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. (From OE-Core rev: cb254debc36acc085a90c665f72ecf3a28692944) Signed-off-by: Richard Purdie (cherry picked from commit 443633dfc20177ef88a388d96745675817510c99) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie --- meta/recipes-core/ncurses/ncurses.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index fe4e8a5d6e..ef59bc3b0a 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -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}" -- cgit v1.2.3-54-g00ecf