]> code.ossystems Code Review - openembedded-core.git/commitdiff
layer.conf: Filter docs dependencies for efficiency
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Mar 2022 14:15:42 +0000 (14:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 5 Mar 2022 10:44:39 +0000 (10:44 +0000)
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

index bdeb8a4758995b4c0f97c3fc726f21938857ee5a..77a765d7cb54ba3e19893b2be83528596bb4a9d9 100644 (file)
@@ -100,6 +100,10 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
     .*->patch-native \
     .*->pkgconfig-native \
     .*->quilt-native \
+    ^(?!gtk-doc-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