All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] layer.conf: Filter docs dependencies for efficiency
@ 2022-03-04 16:40 Richard Purdie
  2022-03-04 16:40 ` [PATCH 2/3] layer.conf: Add libarchive-native e2fsprogs-native exclusion from sysroot Richard Purdie
  2022-03-04 16:40 ` [PATCH 3/3] python3: Reduce util-linux dependency to util-linux-libuuid Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Purdie @ 2022-03-04 16:40 UTC (permalink / raw)
  To: openembedded-core

Where a recipe has depends on native docs tools, in most cases
we don't need recipes that depend on that recipe to also install
these things into the sysroot. We can rely on recipes wanting these
tools to have direct dependencies instead.

This massively reduced dependency creep in simple recipes (e.g. an
allarch one) and reduced the size of builds with the api-documentation
feature substancially.

gperf-native is also included since that would normally have a direct
dependency in a recipe which needs it too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index bdeb8a47589..8f30de5f6b4 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -100,6 +100,10 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
     .*->patch-native \
     .*->pkgconfig-native \
     .*->quilt-native \
+    .*->xmlto-native \
+    .*->gperf-native \
+    .*->gtk-doc-native \
+    .*->texinfo-native \
 "
 # Nothing needs to depend on libc-initial
 # base-passwd/shadow-sysroot don't need their dependencies
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-04 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04 16:40 [PATCH 1/3] layer.conf: Filter docs dependencies for efficiency Richard Purdie
2022-03-04 16:40 ` [PATCH 2/3] layer.conf: Add libarchive-native e2fsprogs-native exclusion from sysroot Richard Purdie
2022-03-04 16:40 ` [PATCH 3/3] python3: Reduce util-linux dependency to util-linux-libuuid Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.